HTML to PDF

Paste your HTML below and get a PDF. Free, no account needed. Output is watermarked.

3 KB / 100 KB

Free, no account needed. Output includes a watermark.

What this does

You paste HTML, you get a PDF. The converter handles tables, lists, images and most inline CSS. It does not execute JavaScript, so charts rendered via JS will not appear in the output. Render those server side and embed them as an image first.

Default output is A4. Pick a different page size from the dropdown before you convert.

When this is useful

  • One off conversions where you do not want to sign up
  • Sanity checking that a layout paginates cleanly before integrating an API
  • Sharing a styled document with someone who only opens PDFs
  • Generating a print ready proof of something you already wrote in HTML

Common pitfalls

External resources do not always load

Images hosted on private networks, CDNs that block bots or behind auth will not render. Use publicly accessible URLs, or base64 encode images inline.

Page breaks need hints

HTML does not naturally know where one page ends and the next begins. If a table or section gets split awkwardly, add style="page-break-inside: avoid;" to keep it together.

Font availability matters

If your CSS references a custom font that is not loaded via @font-face, the converter falls back to a sans serif default. Inline your @font-face declaration or stick to system fonts.

Same conversion via the API

If you want this from code, or at scale, the same conversion runs through the REST API:

curl -X POST https://quaterio.com/api/v1/generate/html \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>Hello</h1><p>World</p>",
    "pageSize": "A4"
  }' \
  --output document.pdf

The API also gives you templates with variables, batch processing, webhooks, custom fonts and watermark free output. See the developer docs or pricing for tier limits.

Need more?

Sign up for a free account to remove the watermark, use templates with variables, generate via API and export print-ready PDFs.