← All tools
Convert

HTML to PDF

Turn an HTML file or snippet into a PDF, with a live preview of the pages. Everything happens in your browser, so nothing is uploaded.

Good to know: paste HTML or open a .html file. This tool cannot fetch a live website from its address (a browser may not read another site's page), and scripts inside your HTML are not run. Self-contained HTML (inline styles, inline images) converts best.
Preview
Your page preview appears here as you type.

Dashed lines show roughly where pages will break. Gaps between lines are used, so text is not cut in half.

Download PDF makes a file straight away (pages are pictures of your page). Print / Save as PDF opens your browser's print window: choose "Save as PDF" there for text you can select and search.

Your HTML is processed on your own device. Fundpeeps never sees or stores it.

About this tool

HTML to PDF turns an HTML file or a pasted snippet of HTML into a PDF you can save, print or send. Developers and students use it to turn a simple page, a styled report or a receipt template into a document.

It runs in your browser, so the HTML you provide is not sent to Fundpeeps.

How to use it

  1. Choose an HTML file, or paste your HTML into the box.
  2. Check the preview if one is shown.
  3. Press the convert button.
  4. Download the PDF and check how the page breaks fall.

Example

You have a small HTML page with a heading, a table of results and a short paragraph. Paste it in, convert it, and you get a PDF that contains the same heading, table and text.

Tips

  • Keep styles inside the HTML (a style block) so the PDF looks the way you expect.
  • Images and fonts that are loaded from other websites may not appear. Embed what you need where possible.
  • Keep pages simple. Elaborate scripts and animations do not belong in a PDF.

Questions people ask

Can I convert a live website address?

This tool works on HTML you provide, not on a web address. Save the page or copy its HTML, then convert that.

Why does my PDF look different from the browser?

PDFs have fixed pages, so layouts built for a screen can break across pages. Simpler styles convert more predictably.

Is my HTML stored?

No. The conversion happens in your browser.

Will JavaScript run?

Do not rely on scripts. The PDF captures the page as a document.