SWISSARMY/PDF All tools
Convert

HTML to PDF

Convert HTML to PDF online

Convert any chunk of HTML into a styled PDF. Paste markup, upload a file, or fetch a URL — preview, adjust paper size, then download.

Drop an .html file
or paste HTML below
HTML

Opens your browser's Print dialog. Choose Save as PDF as the destination — that's how we generate a real PDF without ever uploading your content.

HOW IT WORKS

How to html to pdf

  1. 01

    Paste your HTML or upload a file.

  2. 02

    Pick a page size.

  3. 03

    Click Save as PDF.

FAQ

Frequently asked

What CSS is supported? +
Most modern CSS is supported via the browser's own renderer.
Can I include external images? +
Yes, but only over HTTPS — and your browser must be able to load them.
Privacy? +
Files never leave your browser — everything happens locally on your device.
RELATED

More convert tools