Skip to content
TabKiwiTabKiwi

HTML to PDF

Paste HTML or open an .html file, preview it safely, and save it as a PDF through your browser.

PDFRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Turn an HTML snippet or a saved .html file into a PDF with page size and margins you control. The markup is cleaned first: scripts, forms and external stylesheets are removed, while inline styles and <style> blocks are kept, so the preview and the printout look as designed. The PDF is produced by your browser's own print engine, so text stays selectable and every language your browser supports works.

How to use HTML to PDF

  1. Paste HTML or open an .html file.
  2. Check the live preview and set the page size, orientation and margins.
  3. Click Save as PDF.
  4. Choose “Save as PDF” as the destination in the print dialog.

Frequently asked questions

Can I convert a web page by its URL?

No. The tool works only with HTML you paste or open, so nothing is fetched on your behalf. Save the page as HTML from your browser first.

Why are some images or fonts missing?

Images and fonts referenced by a full web address load only when they are publicly reachable. Relative paths such as images/logo.png cannot resolve here; use full URLs or embedded data URLs instead.

Why don't background colors show in the PDF?

Keep “Keep background colors and images” switched on. If they are still missing, enable “Background graphics” in your browser's print dialog.

More PDF tools

View all 61 →