Convert HTML to PDF
Paste HTML or open an .html file, preview the result locally and export a PDF. Nothing is uploaded.
Live preview
0 × 0 pxFree & private
How to use HTML to PDF
Paste HTML or open an .html file, preview the result locally and export a PDF. Nothing is uploaded.
- 1
Add your HTML
Paste HTML source or open an .html file from your device.
- 2
Preview the page
Check the rendered page and choose the page size and margins.
- 3
Convert and download
Render the HTML locally and download the PDF.
Why use PDFtheX for HTML to PDF?
Private by design
Your file stays on your device.
Files stay on your device
PDFtheX uses PDF.js and pdf-lib inside your browser. No file bytes are uploaded, stored or tracked.
Frequently asked questions
Are these PDF tools free?
Yes. Every PDFtheX tool is free and does not require an account, a subscription or a credit card.
Are my files uploaded to a server?
No. PDFtheX processes files entirely in your browser using PDF.js and pdf-lib. Your documents are never uploaded, stored or tracked.