How to convert HTML to PDF
- Paste your HTML, press Open .html file, or switch to Web page address and type the address.
- Pick the paper size, margins and look. Keep Print background colours and images on for coloured headers and tables.
- Press Convert to PDF. The PDF downloads by itself.
The PDF is printed by Chromium, the open-source engine behind Google Chrome, so it matches what Chrome shows: web fonts, flexbox and grid layouts, SVG and tables all come out right, and links stay clickable.
Which setting do I need?
| You want | Choose |
|---|---|
| An invoice, letter or report you wrote in HTML | HTML code or file, A4 or Letter, Narrow margins |
| A copy of an article to read offline | Web page address, Look: Print version (drops menus on many sites) |
| The page exactly as it looks on screen | Look: As on screen, backgrounds on |
| A wide table or dashboard | Landscape pages, or A3 |
Your CSS sets @page { size: … } | Use the page’s own size |
When to use your browser instead
For a page behind a sign-in (bank statements, your email, a company dashboard), open it in your own browser and use Print › Save as PDF: only your browser has your accounts. To join the PDF with others afterwards, use Merge PDF; to make it smaller for email, Compress PDF. Building an invoice? The invoice generator makes the PDF without any HTML.
Frequently asked questions
Why are my pictures missing from the PDF?
Pasted HTML has no folder around it, so pictures with relative paths such as images/logo.png can’t be found. Use full addresses (https://…) or pictures embedded as data: URLs. Plain http:// addresses are blocked for safety, so use https://.
Can I save a page that needs a sign-in?
No. Our converter visits the address without your accounts, so it sees what a signed-out visitor sees. For a page behind a sign-in, open it in your browser and use Print, then Save as PDF, or copy the page’s HTML and paste it here.
Is my HTML stored?
No. The HTML is sent over an encrypted connection to our own conversion server, printed to PDF in memory and deleted as soon as the PDF is sent back. We don’t keep a copy.
Does it use my CSS print styles?
Choose Look: Print version to use the page’s @media print rules, or As on screen to keep what you see in a browser. Turn on Use the page’s own size if your CSS sets an @page size.