Skip to content
Toolza

HTML to PDF Converter

Turn an .html file — an exported report, an email or a saved page — into a PDF. The file is cleaned of scripts and printed safely on your device.

Your files stay on your device. This tool runs entirely in your browser. Files are never uploaded to our servers.

How to use HTML to PDF

  1. 1Choose an .html or .htm file.
  2. 2Pick the paper size, orientation and margins.
  3. 3Optionally turn on “Load remote images and styles” if the file links to images on the web.
  4. 4Click “Save as PDF” and save with the “Save as PDF” printer.

Key features

HTML files are everywhere: exported reports, invoices, newsletters, documentation and saved web pages. Converting them to PDF makes them easy to archive, print and share.

Because an HTML file can contain code, this converter treats it with care. The file is parsed without running anything, active content is removed, and the cleaned page is printed from a sandboxed frame with scripts disabled.

For the best result, use files with absolute image URLs or images embedded as data URLs. Files saved with a separate “_files” folder will show blank spaces where the folder's images were.

Frequently asked questions

No. This tool converts an HTML file you already have. To convert a live web page, open it and use your browser's own Print → Save as PDF.

Images referenced by relative paths (like images/photo.jpg) can't be loaded, because only the HTML file itself is opened. Remote images (https://…) load only when you turn on “Load remote images and styles”.

Pages that build their content with JavaScript need scripts, which are never run here for safety. Save the fully loaded page from your browser first, or print it directly.

Web (https) and email links stay clickable in most PDF viewers. Links to local files are removed.

Scripts are stripped and the preview runs in a sandbox without script permission, and remote content is blocked by default, so the file can't run code or contact other servers unless you allow remote resources.