HTML to PDF
Turn pasted HTML or an .html file into a PDF using your browser's own engine.
- Free — no signup, no account, no watermark
- Runs entirely in your browser — nothing is uploaded to a server
- Works on mobile, tablet and desktop
- Instant — results appear as soon as you enter your input
Why this is private
- Processed entirely in your browser. Your file is never uploaded to a server. Rendering goes through your browser's print engine, so "Save as PDF" opens the print dialog. URL fetching is intentionally not supported.
- Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
- Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.
Overview
Paste HTML or upload an .html file, preview the rendered result, then produce a PDF through your browser's own print engine — so text stays sharp and selectable. Any scripts in the markup are stripped first, and nothing is uploaded. Fetching a live URL is not supported (it would need a server-side browser).
How to use it
- 1Paste your HTML, or drop in an .html file.
- 2Check the preview and pick the paper size, orientation and margins.
- 3Click Save as PDF and choose "Save as PDF" as the destination in the print dialog.
Frequently asked questions
What people use it for
Related guides
- How to convert images to PDF (JPG, PNG, phone photos)Turn one or several JPG or PNG images into a single PDF, in the right page order — what the tool does, the steps, and the common snags.
- How to merge PDF files into oneCombine two or more PDFs into a single file, in the order you choose — the steps, what merging does to quality and size, and how to handle pages and images.
- How to compress a PDF to under 1 MBA 1 MB upload limit is common on application portals. Here's what's realistic, how to get there, and when 1 MB simply isn't possible without losing the text.
- How to compress a PDF for email attachmentsGmail, Outlook and most providers cap attachments around 20–25 MB. Here's how to get a PDF under the limit — or send it without shrinking it at all.
Related tools
All pdf toolsReady to use HTML to PDF?
HTML to PDF