Paste HTML, check the preview and save it as a PDF. Inline styles and <style> blocks are applied, and the code never leaves your browser.
Your data stays in your browser
This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data
Anything you can write in HTML: an invoice template, a certificate, a printable report, an email newsletter you want to archive. Paste the code, check the live preview, and download a PDF. It's a quick way to test how a layout will print without setting up a PDF library on your own server.
No. It works with HTML code you paste in. To save a live web page, the easiest route is your browser's own Print dialog (Ctrl+P or Cmd+P) and choosing "Save as PDF".
The conversion happens in your browser using html2pdf.js. Your HTML is drawn onto a canvas and saved as a US Letter PDF with one-inch margins, so it never touches our server. One side effect: because the page is captured as an image, text in the PDF isn't selectable. Images loaded from other websites may also be blocked by the browser's security rules, so embed them or host them on the same site.
Writing in Markdown rather than HTML? Markdown to PDF is simpler. Need the HTML from a Markdown file first? Try Markdown to HTML. Going the other way, PDF to HTML extracts text from an existing PDF.