ShamsPDF

Convert an HTML file to PDF

HTML to PDF converts a saved web page or HTML file into a PDF — useful for receipts and confirmations you saved from a browser, HTML exports from other programs, or simple pages you wrote yourself.

Styles written inside the file and images embedded in it are used, so self-contained pages convert well. Pages are laid out for printing, which means long pages are split over several PDF pages. Scripts in the page don't run during conversion, which also keeps the server safe.

For your safety, the conversion server has no internet access. That means we never visit web addresses for you, and anything the page loads from other websites — images, fonts, stylesheets — is left out. Modern CSS layouts may look simpler than in a browser. For the best result, save the page as a single file, or use your browser's own Print → Save as PDF for live pages.

Your file is encrypted on arrival, converted in an isolated sandbox and deleted right after download, never kept longer than 10 minutes.

Secure server

Choose a file or drop it here

An .html file (web addresses aren't supported) · or click to choose · you can also paste · up to 300 MB · stays on your device

Upload a saved .html file. For your safety the server has no internet access, so images, fonts and styles from other websites are left out, and some modern CSS layouts look simpler.

Your privacy

Your file is sent over an encrypted connection and processed in an isolated sandbox. Files are encrypted, deleted right after download, and never kept longer than 10 minutes. We never look at, share or keep copies of your files.

How to use HTML to PDF

  1. 1

    Save the page as HTML

    In your browser, use Save page as… to get an .html file.

  2. 2

    Add the file

    Drop the .html file on this page.

  3. 3

    Convert and download

    Save the PDF; the file is then deleted from our server.

Questions and answers

Can I enter a web address instead of a file?

No. Fetching web addresses from our server would be a security risk, so only uploaded .html files are converted.

Why are images missing?

Images loaded from other websites can't be fetched, because the converter has no internet access. Images embedded in the file are kept.

Is my file safe?

Files are encrypted, deleted right after download, and never kept longer than 10 minutes. We never look at, share or keep copies of your files.

Is there a better way for a live web page?

Your browser's Print → Save as PDF captures exactly what you see, including images, without uploading anything.

What's the size limit?

One file up to 100 MB.

Related tools

People also use

More ways to use ShamsPDF