Free tool
HTML to PDF converter
paste HTML from ChatGPT, Claude or an editor.
Paste HTML or drop a .html file, pick the page size, and save a PDF with the fonts, colors and layout intact. Text stays selectable and links stay clickable.
HTML to PDF converter at a glance
The PDF is made by your own browser, so CSS, web fonts, backgrounds and charts survive, which is rare among free HTML to PDF tools. It is built for the HTML that ChatGPT, Claude and Gemini write.
- Works with
- Pasted HTML or a .html file, up to 1 MB.
- Comes back as
- A PDF with selectable text and clickable links, on A4, Letter or Legal, portrait or landscape.
- Runs
- In your browser. Nothing is uploaded.
- Limits
- Up to 1 MB of HTML per document.
- Price
- Free. No account, no watermark.
How to convert HTML to PDF
- Paste the HTML. From ChatGPT, Claude, Gemini, your editor or a saved page. Or drop a .html file on the box. A preview appears beside it.
- Pick the page. A4 or US Letter, portrait or landscape, the margins you want, and whether colors and backgrounds print.
- Make the PDF and save it. The print dialog opens; choose Save as PDF. The layout, fonts and colors match what you saw, text stays selectable and links stay clickable.
Made for the HTML that AI writes
- Reports, resumes, invoices, one-pagers
- Ask an assistant for a document and you get HTML with the styling inline or on a CDN. Paste it here and the PDF comes out as designed, page after page, with nothing cut off.
- Tailwind, Google Fonts, icon sets
- Stylesheets, fonts and images referenced by public links are loaded, so a page built on Tailwind or Bootstrap from a CDN looks the same in the PDF.
- Charts and scripts
- Scripts run before the page is printed, so a chart drawn with a library appears in the PDF.
- Print-ready by default
- Print styles and page-break rules in the HTML are honored.
Getting the layout right
- Page breaks
- Add page-break-before: always to an element in the HTML to start a new page there, or break-inside: avoid on a block that must not split.
- Widths
- Design to the page: about 170 mm of printable width on A4 with normal margins. Fixed pixel widths wider than that may not fit.
- Backgrounds
- Colored headers and highlighted rows only print with "Print colors and backgrounds" on, which it is by default.
- Fonts
- Fonts loaded from a public link are used. Fonts installed only on your computer are replaced by the closest match.
Good to know
- Nothing is uploaded: the HTML stays on your device.
Questions people ask
How do I turn HTML from ChatGPT or Claude into a PDF?
Copy the HTML the assistant produced, paste it into the box, choose the page size, press Make the PDF, and choose Save as PDF in the print dialog. The preview shows what you will get.
Does it keep the CSS and fonts?
Yes. Inline styles, style tags and stylesheets from public links are all applied, and fonts from public links are loaded. Fonts that exist only on your computer fall back to the nearest match.
Do images and scripts work?
Images at public URLs are loaded. Scripts run before the page is printed, so charts and generated content appear.
Is the text selectable in the PDF?
Yes. It is a real PDF with text, not a picture of the page. Links are clickable and the text can be searched and copied.
How do I control page breaks?
Use CSS in the HTML: page-break-before: always on the element that should start a new page, and break-inside: avoid on blocks that must not split.
Can I upload a .html file instead of pasting?
Yes. Open it with the button, or drop it on the box.
How big can the HTML be?
Up to about 1 MB of HTML per document, which is far more than a long report. Very large pages can be split into parts.
Is it free?
Yes.