PDF Toolkit

HTML to PDF

Turn HTML into a PDF.

Runs in your browser. Your file is never uploaded.

or drop a file hereOr edit the HTML below.

Page size
Orientation
mm

Preview

Print dialog gives the best result with real, selectable text: choose "Save as PDF" as the printer. Download directly skips the dialog, but each page is saved as an image.

How to use HTML to PDF

  1. 1Paste HTML or open an .html file.
  2. 2Choose the page size, orientation and margins, and check the preview.
  3. 3Save with the print dialog for selectable text, or download the PDF directly.

Questions

Which option should I use?

The print dialog: choose "Save as PDF" as the printer. It keeps real, selectable text and sharp vector graphics. Download directly is quicker but saves each page as an image.

Why don't my images or fonts show?

For your privacy, the page isn't allowed to load anything from other websites. Embed images as data: URLs and use inline styles or system fonts.

Can I convert a web page by its URL?

No. Fetching another site's page needs a server, and this tool runs entirely in your browser. Save the page as HTML first, then open the file here.

Are my files uploaded anywhere?

No. The tool runs as code in your browser tab and processes the file on your own device. Nothing is sent to a server, and the site's security policy blocks the page from sending data to any other website. You can check: open your browser's developer tools, watch the Network tab while the tool runs, and you'll see no upload.