HTML to PDF
Turn an HTML file or pasted HTML into a clean PDF, safely — scripts never run.
HTML to PDF
Your HTML is read as data and never run: scripts, forms and embedded frames are ignored, and pictures or files from other websites are never loaded. Embed pictures as data: URLs to include them.
ReadyAdd some HTML first.
Your files are processed locally in your browser and are not uploaded to OZVILO servers.
How to use the HTML to PDF
- 1Upload an .html file, paste HTML into the editor, or try the sample.
- 2Choose the page size, orientation, margins and font style.
- 3Press Convert to PDF and check the preview.
- 4Download the PDF.
Examples
Email or newsletter
- Input
- Saved newsletter.html · A4 · Normal margins
- Result
- PDF with headings, paragraphs, tables and working links
Generated report
- Input
- Pasted HTML table · Landscape
- Result
- Landscape PDF with the table split across pages and its header repeated
Frequently asked questions
Is it safe to convert HTML I don't trust?
Yes. The HTML is read as data and never run. Scripts, event handlers, forms, frames and embedded objects are ignored, and nothing is loaded from other websites, so converting can't track you or run code.
Why are some pictures missing?
Pictures linked from other websites are never downloaded, for your privacy and safety. Pictures embedded in the HTML as data: URLs are included. The tool tells you how many pictures were skipped.
Does the PDF look exactly like the web page in my browser?
Not exactly. The tool lays out headings, paragraphs, lists, tables, pictures, links, colors and alignment from the HTML and simple inline styles. External style sheets, CSS layouts such as grids and flexbox, and web fonts are not applied.
Can I convert a web page from its URL?
No. Fetching pages from other websites would mean loading untrusted content and contacting third parties. Save the page as an .html file and upload it instead.
Is my HTML uploaded?
No. The PDF is created in your browser and your HTML never leaves your device.
Related tools
- Available
PDF to HTML
Convert PDFs into clean, structured HTML or a layout-preserving web page.
PDF ToolsOpen tool - Available
Word to PDF
Convert Word (DOCX) documents to PDF with headings, lists, tables, pictures and links.
PDF ToolsOpen tool - Available
Add Page Numbers
Number PDF pages in any corner or center, with your own format, start number, size and color.
PDF ToolsOpen tool - Available
PDF Merger
Combine multiple PDFs into one file in the order you choose — reorder or remove files first.
PDF ToolsOpen tool