HTML to PDF
Convert HTML files to clean, paginated PDFs — modern CSS, web fonts and images all preserved.
- Encrypted in transit (TLS 1.3)
- Files auto-deleted in 60 minutes
- No signup required
Run HTML to PDF
About HTML to PDF
Whether you're producing invoices from a CRM, archiving an article or generating a printable receipt, HTML to PDF is the modern way to do it. CSS controls the layout, fonts stay sharp, and the result paginates beautifully.
We use WeasyPrint, the gold-standard open-source HTML/CSS-to-PDF engine — with full support for modern CSS including flexbox, grid, custom fonts and SVG.
How HTML to PDF works
Three steps. Done in seconds.
-
1
Upload your HTML file
Plain .html works. Inline your CSS for best results, or reference assets via absolute URLs.
-
2
We render with WeasyPrint
Full CSS engine — flexbox, grid, web fonts, SVG, @page rules for headers, footers and page numbers.
-
3
Download your PDF
Clean, paginated, accessible PDF ready to share.
Why HTML to PDF on Pixenith
Built for serious work. Free for everyday use.
Privacy first
Encrypted in transit, processed in isolated workers, deleted within 60 minutes.
Lightning fast
Most jobs finish in under 5 seconds. Heavy ones run on dedicated worker pools.
Production engine
Powered by pikepdf, Ghostscript, Tesseract OCR, ONNX models — the same tech the pros use.
Free, no signup
Generous daily limits on the free plan. Upgrade only if you need bigger files.
Related PDF tools
Often used alongside HTML to PDF.
- Word to PDF Convert Microsoft Word documents to PDF.
- JPG to PDF Combine one or more images into a single PDF.
- Scan to PDF Turn scanned images into a clean PDF (optional OCR).
- Merge PDF Combine multiple PDFs into a single document in the order you choose.
- Compress PDF Reduce PDF file size. Pick a preset (low / medium / high) or specify a target size (e.g. 200 KB or 2 MB) and we'll binary-search the quality ladder for the best-quality output that fits.
- Add watermark Stamp a text watermark across every page.
HTML to PDF — frequently asked questions
Everything you need to know.
Which CSS features are supported?
Modern CSS — flexbox, grid, transforms, gradients, web fonts, @page for print layout, SVG, columns. JavaScript-driven layout isn't executed (PDF is a static format).
Can I include images from URLs?
Yes. Use absolute https:// URLs in your <img> and background-image properties. We fetch them server-side.
Will my web fonts work?
Yes. @font-face declarations with .woff / .woff2 URLs are downloaded and embedded in the PDF.
How do I add page numbers and headers?
Use CSS @page rules — @page { @bottom-center { content: counter(page); } }. Full @page support is built in.
Can I run JavaScript before converting?
Not on this endpoint — we convert static HTML. For JS-rendered pages, render with a headless browser first and post the result.