Skip to main content
Support
PDF & Documents / Convert HTML to PDF

Browse by category

All categories

Convert HTML to PDF

Convert pasted HTML or an HTML file into a PDF in your browser. Set page size, margins, and headers/footers; H1-H3 headings become the outline. No upload.

1
Enter HTML
Paste your HTML code or open an HTML file
2
Preview
Preview the rendered output before conversion
3
Download
Download your PDF file instantly

Frequently Asked Questions

Are CSS styles preserved?

Yes. Inline and embedded CSS styles are rendered in the output PDF.

Does this preserve bookmarks and form fields?

The output is a new PDF generated from your HTML. Bookmarks come from H1–H3 headings; there are no form fields unless your HTML included them.

What PDF versions are supported?

The output is generated as PDF 1.7. There is no input PDF version to consider.

Tool history

Updated Jun 3, 2026 · 12 updates
  • Jun 3, 2026featper-tool OG images for all 75 tools + lengthen 20 short metas (#614)
  • May 29, 2026featmobile responsive pass + design-system consolidation (#564)
  • May 23, 2026feattips on all 60 tools + HowToTip rich-result schema (#450)
See full history →
This tool is free thanks to our sponsors. Support Loft Tools