Skip to main content

HTML → PDF

Convert an HTML file to PDF — styles kept, text stays selectable.

Drop a file here or choose one

HTML file (.html, .htm)

Convert HTML to PDF

The HTML to PDF tool opens an .html or .htm file and lets you save it as a PDF document. Page styles (CSS) and tables are preserved, and the text in the PDF stays selectable and searchable.

For security, scripts inside the file are blocked in an isolated sandbox — the HTML is only displayed, never executed. The file is never uploaded.

How do I convert HTML to PDF?

  1. Choose an HTML file — a preview appears.
  2. Click “Save as PDF”.
  3. In the print dialog, choose “Save as PDF” as the destination and save.

Frequently asked questions

The PDF is created through the browser's own print engine — the most reliable way to keep text selectable and pages split correctly. Choose “Save as PDF” instead of a printer.

Not yet — the tool converts HTML files from your device. Save the web page as an HTML file in your browser first.

For security, images and fonts from external addresses are not loaded. Images embedded in the file (data URIs) are displayed correctly.

Yes, the print dialog lets you choose the paper size (A4, Letter), orientation, margins and scale.