HTML to PDF

Turn an HTML file or saved web page into a clean PDF with headings, tables, links and pictures.

Your file never leaves your device.

PDF settings

How it works

Choose an .html file, or paste the page's HTML. The converter reads it in your browser, keeps the page's main content and lays it out as a clean PDF: headings become bookmarks, links stay clickable, and tables, lists and code blocks keep their shape.

Settings

  • Page size: A4 or US Letter.
  • Text size: small, medium or large. Larger text is easier to read on a phone or e-reader.

You can change the settings after converting and remake the PDF without uploading anything again.

What it keeps

  • Keeps headings, paragraphs, bold and italic text, lists, quotes, tables, code blocks, links and pictures.
  • Leaves out menus, sidebars, headers, footers and hidden parts of the page while Main content only is ticked, and always leaves out scripts, forms and videos.
  • Doesn't copy the site's own fonts, colours, columns or CSS layout. The PDF uses one clean, readable style.
  • To convert a web page, save it in your browser first (Ctrl+S, or Cmd+S on a Mac, then "Webpage, Complete"). Then choose the .html file and the pictures in its folder together.

Frequently asked questions

Is my file uploaded to your server?

No. Your HTML and its pictures are read and the PDF is made in your browser, so nothing leaves your device. Only a count of how many conversions you ran today is sent to our server.

Can I convert a web page from its address (URL)?

Not directly, because fetching a page from another website would mean sending it through a server. Instead, save the page in your browser (Ctrl+S, or Cmd+S on a Mac, and choose "Webpage, Complete"), then choose the .html file together with the pictures in the folder saved next to it.

Does the PDF look exactly like the web page?

No, and that's on purpose. The text is laid out in one clean, readable style: headings, paragraphs, lists, tables, quotes, code blocks, links and pictures are kept, but the site's own fonts, colours, columns and CSS layout aren't. Menus, sidebars, headers and footers are left out unless you untick Main content only.

Are pictures included?

Pictures embedded in the HTML (as data URLs) and picture files you choose together with the page are included. Pictures that are only on other websites aren't downloaded, to keep your file private.

Which languages does it support?

English and other languages written in Latin, Greek or Cyrillic letters. Scripts such as Urdu, Arabic, Hindi and Chinese aren't supported yet. If a file has characters the PDF can't show, the tool tells you which ones.

What's the file size limit?

One file at a time, up to 50 MB.

From our blog