HTML to PDF Converter

To convert HTML to PDF, paste the HTML code or drop an .html file, check the preview, choose the page size and click Save as PDF.

Processed entirely on your device · your files are never uploaded

  1. 1Upload your file(s)
  2. 2Choose options if needed
  3. 3Download — stays on your device

All tools

How to convert HTML to PDF

  1. Paste HTML code into the editor or drop an .html file.
  2. Check the rendered preview.
  3. Choose A4 or Letter, orientation and margins.
  4. Click Save as PDF and select “Save as PDF” in the print window.

About this tool

Turn an HTML email template, an invoice generated by your app, a saved web page or a snippet of code into a PDF. Paste the HTML or drop the file and the page is rendered in a safe preview; inline <style> blocks and stylesheets with full https:// addresses are applied, so it looks the way you designed it. Pick A4 or Letter, portrait or landscape, and margins, then save. The browser's print engine writes a vector PDF: crisp text you can select and search, and working links. For safety, scripts in the HTML don't run and event handlers are removed, which also means pages that build their content with JavaScript will appear empty. Images and CSS saved on your computer next to the .html file can't be reached — use absolute links or inline them. To convert a live website, open it in your browser and use Print → Save as PDF. Nothing is uploaded and no signup is required.

More tools (same language site):

Guides

Frequently asked questions

How do I convert an HTML file to PDF?

Drop the .html file or paste its code, check the preview, then click Save as PDF and choose “Save as PDF”.

Is CSS supported?

Yes — inline styles, <style> blocks and stylesheets linked with full https:// URLs. Print rules (@media print) are applied too.

Why is my page blank?

Scripts are disabled for safety, so content that JavaScript would create isn't shown. Save the rendered page's HTML first, or print the live page from your browser.

Can I convert a URL?

Not directly. Open the website and use your browser's Print → Save as PDF, or paste its HTML here.

Is my HTML uploaded?

No. It's rendered in a sandboxed frame in your browser.