HTML to PDF

Paste HTML code, open an .html file or enter a web address, and get a PDF printed by a real Chrome browser: styles, fonts, pictures and links kept.

What do you want to convert?

Pictures and styles must use full https:// addresses or be embedded; relative paths like images/logo.png can’t be found.

Sent over an encrypted connection to our own converter, printed to PDF and deleted straight away. Nothing is stored.

How to convert HTML to PDF

  1. Paste your HTML, press Open .html file, or switch to Web page address and type the address.
  2. Pick the paper size, margins and look. Keep Print background colours and images on for coloured headers and tables.
  3. 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 wantChoose
An invoice, letter or report you wrote in HTMLHTML code or file, A4 or Letter, Narrow margins
A copy of an article to read offlineWeb page address, Look: Print version (drops menus on many sites)
The page exactly as it looks on screenLook: As on screen, backgrounds on
A wide table or dashboardLandscape 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.

Guides for this tool