PDF tool
HTML to PDF Converter
Render pasted HTML or an HTML file to PDF with paper size, orientation, and margin controls, without fetching remote URLs.
Your file never leaves your device.
Simple steps
How it works
- 01
Paste HTML or choose a local .html file, then select page size and orientation.
- 02
Set the page margins and convert; scripts and remote resources are excluded.
- 03
Download the resulting PDF created in your browser.
Good to know
Frequently asked questions
Can I convert a website by entering its URL?
No. This tool does not fetch web pages or external resources. Browser CORS and privacy restrictions prevent remote URL rendering.
Can the HTML load remote images or stylesheets?
No. Scripts, external stylesheets, frames, and remote image URLs are removed. Inline styles and embedded data images may render.
Which paper sizes are available?
Choose A4, Letter, or Legal, portrait or landscape, and margins from 0 to 40 mm.
Does conversion upload my HTML?
No. HTML is sanitized and rendered in a local sandboxed frame. The generated page images are passed to a browser worker to create the PDF.
Will the PDF text be selectable?
The current renderer captures the visual page output as images, so its text is not selectable or searchable in the resulting PDF.