HTML to PDF Converter
Paste HTML with inline styles, preview it in a script-disabled isolated frame, and use your browser print dialog to save a PDF.
Paste HTML with inline styles. Scripts, external requests, and URL input are disabled. Limit: 500,000 characters.
Preview
Your browser print dialog will open; choose Save as PDF.
A QUICK WALKTHROUGH
How to use this tool
- Paste HTML and inline CSS; do not enter a URL.
- Choose paper size, orientation, and margins.
- Review the isolated preview, then choose Save as PDF in the browser print dialog.
Safe local preview
Pasted markup is placed in a sandboxed iframe with scripts disabled. A restrictive document policy allows only data/blob images and inline styles; external stylesheets, fonts, network requests, forms, and URL input are not supported.
Print-based PDF output
Save as PDF opens the browser print dialog for the isolated document. Paper size, orientation, and margins are written as a real @page rule, but the browser print dialog can override them.
Input and privacy limits
HTML is limited to 500,000 characters. The HTML stays in the browser and is not uploaded. This tool does not execute arbitrary scripts or fetch remote content.
GOOD TO KNOW
Common questions
Can I enter a webpage URL?
No. Paste the HTML instead; this local tool does not fetch websites.
Will scripts in pasted HTML run?
No. The preview iframe is sandboxed without script permission.
Does it download a PDF automatically?
No. It opens the browser print dialog; choose Save as PDF there. A standalone HTML download is also available.