HTML to PDF
Print uploaded HTML to PDF with paper, margin and background settings.
Current capabilities
- βPrints with headless Chromium
- βSupports modern print CSS, web fonts bundled with the HTML and JavaScript rendering delays
- βConfigurable paper, orientation, margins and background printing
Before processing
- !Remote network requests are blocked for privacy and reproducibility.
- !Upload a self-contained HTML file or use data URLs for external assets.
Choose files or drag them here
text/html Β· Up to 1 files Β· Max 25 MB per file
Options
Using HTML to PDF
Print uploaded HTML to PDF with paper, margin and background settings.
How to Use HTML to PDF (Step-by-Step)
Follow these quick steps to achieve optimal results in seconds.
Choose or Import Files
Upload or drag and drop your text/html file into the secure workspace.
Configure & Preview
Customize available settings, page ranges, or compression levels with real-time feedback.
Immediate Download
Execute processing and download your finalized output instantly without countdowns or watermarks.
Workflow
Choose page size and orientation; adjust the JavaScript wait only when the document needs it.
Example to try
Try a self-contained HTML page with a heading and table, then inspect page breaks.
Illustrative check using non-sensitive sample input; not a claim of a measured production result.
Limitations and review
Remote assets, print CSS and scripts can affect rendering. Review the PDF rather than assuming a browser screenshot match.
Processing and privacy
Input files or text and selected options are sent to a server processing job. Review the upload limits and job expiry shown in the workspace. Expiry and scheduled physical cleanup are separate events.
Read our full privacy policy βPrivacy Guaranteed
Isolated sandbox execution with automated 30-min file deletion.
No Quality Loss
Lossless vector preservation and crisp high-DPI rendering without watermarks.
Immediate Access
Instant downloads with zero registration, subscriptions, or forced waiting gates.
Technical Specifications & Input Settings
The file picker accepts text/html. Select 1 file(s). The current web uploader limits each file to 25 MiB; the service may reject additional unsupported inputs.
- Paper size
- A4 / Letter / Legal
- Orientation
- portrait / landscape
- Page margin (mm)
- Configure in the workspace when needed.
- Print backgrounds
- Optional on/off setting.
- Use CSS @page size
- Optional on/off setting.
- JavaScript wait (ms)
- Configure in the workspace when needed.
Questions about HTML to PDF
Frequently asked technical and operational questions about html to pdf.
How does HTML to PDF render modern CSS, web fonts, and JavaScript?
Conversion uses a headless Chromium rendering engine that executes standard modern CSS (Flexbox, Grid, CSS @media print) and allows configurable JavaScript execution wait times.
Can I configure custom page margins, headers, and background graphics?
Yes. You can enable background graphics printing, select A4 or US Letter paper size, set orientation, and customize margin spacing in millimeters.
Does HTML to PDF make external network calls to third-party assets?
For security and privacy, remote network fetching is strictly bounded. We recommend uploading self-contained HTML files with embedded CSS and inline base64 images.