Skip to main content
BoringPDF

HTML to PDF

Convert document HTML into searchable PDFs

document.html

Preview

A4 · portrait · 210×297 mm
1/1

About HTML to PDF

HTML to PDF turns HTML code or an HTML file into a searchable PDF, with a live preview, page size, orientation and margin settings. Paste or upload, and it renders in your browser.

How to convert HTML to PDF

  1. Paste HTML or upload an .html file.
  2. Check the live preview and set the page size, orientation and margins.
  3. Click Convert to PDF and download the PDF.

What you can do with HTML to PDF

  • Live preview on a page-sized sheet as you edit.
  • A4, Letter, Legal and A3 page sizes in portrait or landscape.
  • Text-aware page breaks for long documents.
  • Good for invoices, reports and app-generated HTML.

Frequently asked questions

Are my files uploaded to a server?

No. This tool runs entirely in your browser, so your files are processed on your own device and never uploaded to a server. Your original file is never changed, and leaving or reloading the page clears it from the tool.

Can I convert a website URL?

No. HTML to PDF converts HTML you paste or a single HTML file. Relative images need to be embedded as data URLs, and CSS needs to sit in a style block or style attributes.

Is the text in the PDF searchable?

Yes. Text in the HTML stays selectable and searchable in the PDF.

Is there a file size limit?

Each file can be up to 100 MB, and the files you add at once can total up to 200 MB. Large, image-heavy files take longer because they are processed on your own device.