# HTML to PDF — convert in your browser, no upload

> Convert pasted HTML or an uploaded .html file to a PDF in your browser. External assets are blocked for privacy and nothing is uploaded.

Paste HTML or upload an .html file and export it as a PDF. Conversion happens in your browser and external assets are blocked, so nothing about the page is sent out.

HTML to PDF is handy for turning an email template, an invoice, or an exported report into a fixed, shareable document. This tool converts pasted markup or an uploaded .html file locally, blocking external requests so the conversion can't leak or fetch anything.

For content written in Markdown, use Markdown to PDF instead. To combine the exported PDF with others, use Merge.

## How to

1. **Add the HTML.** Paste your HTML or upload a .html file.
2. **Convert.** The markup is rendered and exported to a PDF locally.
3. **Download.** Save the PDF, or add it to the queue for more tools.

## FAQ

### Are external images and scripts loaded?

No. External assets are blocked for privacy, so the conversion won't fetch remote resources or run tracking scripts.

### Can I convert a whole web page?

Paste its HTML source or upload a saved .html file. Because remote assets are blocked, self-contained HTML converts most faithfully.

### Is my HTML uploaded to convert it?

No. Rendering to PDF happens in the browser tab, so your markup stays on your device.


## Related tools

- [Markdown→PDF](https://www.safepaper.app/docs/markdown-to-pdf)
- [Create PDF](https://www.safepaper.app/docs/create-pdf)
- [Merge](https://www.safepaper.app/docs/merge)
- [Compress](https://www.safepaper.app/docs/compress)

---

Canonical HTML: https://www.safepaper.app/docs/html-to-pdf
Markdown: https://www.safepaper.app/docs/html-to-pdf.md

There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check.
