HTML to PDF converter
Paste HTML with CSS, or enter a web page URL, and download it as a PDF. It's rendered by real headless Chrome, so modern CSS works.
Converting HTML to PDF
The converter loads your HTML in Chrome and uses the browser's print engine to produce the PDF, the same way Print → Save as PDF does on your machine. Flexbox, grid, web fonts, SVG and background colors all come through.
Tips for better PDFs
- Use
@page { size: A4; margin: 15mm }in your CSS to control the page. - Force a page break with
break-before: page, and keep blocks together withbreak-inside: avoid. - Reference images and fonts with absolute
https://URLs.
Do this from code
The free tool is limited to a few conversions per hour. To generate PDFs from your app, use the PDFLoom API. It's one POST request, with 100 PDFs a month free.