HTML to PDF
Turn HTML into PDF. Paste your code, or add an HTML file or a ZIP of a website with its pictures and styles. Choose page size, margins and width, hide parts of the page, and add headers, footers and bookmarks. The text stays searchable. It all happens in your browser, so nothing is uploaded.
Drop HTML files to make a PDF
.html, .htm or a .zip with the page and its files
Private: the PDF is made in your browser and nothing is uploaded.
Pick a page in the list to see it.
The PDF is made from this view. Scripts do not run, so pages that need JavaScript to show their content will look empty.
HTML to PDF: convert code or files, free and private
Paste HTML code or add an HTML file, check the preview and press Make PDF. For a whole page with pictures and styles, add a ZIP that holds the HTML file and its files. The PDF keeps colours, fonts, tables and pictures, and the words stay searchable. Everything happens in your browser, so your page never leaves your device.
Page size and width
Choose A4, Letter, Legal, A3 or A5, portrait or landscape, and the margins. Pick the width the page is drawn at, such as a phone, tablet or laptop screen, and the page is scaled to fit the paper. Pages are cut between lines, pictures and table rows, and you can add your own page breaks with CSS (page-break-before, page-break-after, break-inside).
One long page
Choose One long page to get a single tall PDF page without page breaks, like a full-length screenshot that keeps searchable text.
Hide parts and add CSS
Type selectors such as nav, .ads or #cookie-banner to leave parts out, and add your own CSS for fonts, sizes or colours.
Headers, footers and bookmarks
Add text in the header and footer with the page number, title, file name and date. Headings h1 to h3 become bookmarks.
Honest limits
Scripts do not run, so pages that build their content with JavaScript can look empty. Web addresses cannot be fetched from the browser: save the page with Ctrl+S, or paste its code. Pictures and styles from other websites are blocked, so put them in a ZIP or inline them. Custom font files may not load. Pages in the PDF are pictures with a hidden text layer, so long pages make larger files.
How to use it
- Paste code or add HTML files.
- Check the preview.
- Choose paper, width and extras.
- Press Make PDF and download the result.
Frequently asked questions
How do I convert HTML to PDF?
Paste the code or add the .html file, then press Make PDF and Download.
Is my HTML uploaded anywhere?
No. The conversion runs inside your browser tab. Nothing is sent to a server.
How do I convert a website to PDF?
Open the site, press Ctrl+S to save it as a complete page, put the saved files in a ZIP and add the ZIP here. A browser cannot download other websites by itself.
Why are my pictures missing?
Pictures that link to other websites are blocked. Add a ZIP with the pictures inside, or use pictures embedded in the HTML.
Can I get a single long page?
Yes. Set Layout to One long page.
Can I add page numbers?
Yes. Tick Page numbers, or write your own header and footer text.
Does JavaScript run?
No. For safety scripts are switched off, so the page is drawn from its HTML and CSS only.