Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitPDFHTML to PDF

HTML to PDF

Convert pasted HTML or an .html file into a PDF that looks the same. Runs entirely in your browser — nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use HTML to PDF

  1. 01Paste HTML into the box, or click Open file to load an .html file. Click Example to try it.
  2. 02Check the live Preview, which is shown at the real width of the page.
  3. 03Pick a Mode, Page size, Orientation and Margins. Exact look keeps your CSS; Text document rebuilds plain text.
  4. 04Click Create PDF, or Print or save with the browser for its own print to PDF.
Questions

HTML to PDF FAQ

6 answers to what people ask most about the HTML to PDF.

How do I convert an HTML file to PDF?

Open the .html file or paste its code, check the preview, then click Create PDF. Pages break between lines of text, so lines aren't cut in half.

Can I convert a web page URL?

Not by address, since this tool doesn't fetch anything from the web. Save the page as HTML, or copy its source, and paste that in.

Why are my images missing?

Linked images and stylesheets aren't loaded, because nothing is downloaded. Embed images as data URIs and put CSS inside a <style> tag, and they'll appear.

What's the difference between Exact look and Text document?

Exact look draws the page exactly as the preview shows it, with a hidden text layer for search. Text document rebuilds headings, lists, tables and links as real PDF text with simple styling.

How do I control page breaks?

Add style="break-before: page" to an element to start a new page there, or break-inside: avoid to keep a block together. Otherwise pages break at the nearest gap between lines.

Is HTML to PDF free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
Merge PDF

Combine several PDFs into one, in any order.

PDF
Split PDF

Split by every page, every N pages or custom ranges.

PDF
Organize PDF

Drag to reorder, rotate and remove pages.

PDF
Extract Pages

Pull selected pages into a new PDF.

PDF
Something off with HTML to PDF? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt