Convert HTML to PDF
Print a web page, by URL or from an HTML file, to a clean PDF with CSS, web fonts and backgrounds preserved. Runs on our server; files are deleted automatically within about two hours.
How to Convert to PDF
- 1
Enter a URL or upload an HTML file
A live web page, or your own HTML file (or a ZIP with an index.html plus its images and stylesheets).
- 2
Pick paper size and margins
A4 through tabloid, portrait or landscape, default/minimal/no margins, optional page numbers.
- 3
Download the PDF
Rendered by the same engine that draws the page in a real browser, with CSS layout, web fonts and background colours included.
Why not every link can be converted
This tool loads the page on PulsarKit's own server before printing it, and a server has no business reaching into a private network, yours or anyone else's. Addresses that resolve to a private range, localhost or a cloud provider's internal metadata endpoint are blocked outright, both for the address you enter and for anywhere a redirect might lead. If you need to convert a page that only your own machine can reach, upload its HTML instead.
What this actually renders
The page is loaded in a current version of Chrome, the same rendering engine behind the browser most people use, with JavaScript enabled and CSS applied as the site wrote it, then printed to PDF through Chrome's own print function. Background colours and images are included and on by default, since most sites hide them from printing and that is rarely what you want here. Web fonts the page loads are used as they are, not replaced by a system-font approximation.
Converting a downloaded page, not a live one
Uploading a plain .html file works for a single self-contained page. For a page that references its own images and stylesheet, upload a ZIP with index.html at its root alongside an images folder, a style.css and so on, which is the structure a "Save page as" produces. The archive is served from a temporary local address so relative links resolve correctly, then discarded once the PDF is built.
Processed on our server, deleted automatically
Pages are rendered by headless Chrome on PulsarKit's server, since printing a page with live CSS and fonts isn't something a browser tab can do to another site. The uploaded file, or the fetched page, is discarded as soon as the job finishes. The PDF stays downloadable for one hour and is wiped from the server within about two hours, whether or not you download it.
Frequently asked questions
Can I convert any link I paste in?
No. Addresses that point to a private network, localhost or an internal cloud metadata service are blocked, both directly and through a redirect, for security reasons. Public web pages convert normally.
Does the page's JavaScript run?
Yes. The page loads in a real Chrome instance with JavaScript enabled, and the tool waits for network activity to settle before printing, so client-rendered content is captured too.
Are background colours and images included?
Yes, by default. Many sites hide backgrounds from printing, and that behaviour is overridden here so what you get matches what you see on screen. Turn backgrounds off if you want a lighter, print-style result.
How is this different from HTML to Image?
This tool produces a paginated PDF document, suitable for printing or archiving across multiple pages. HTML to Image produces a single screenshot image instead, which suits a quick visual capture rather than a document.
How long is the file kept on the server?
The uploaded file, or the fetched page, is discarded as soon as the job finishes. The converted PDF stays downloadable for one hour and is wiped from the server within about two hours, whether or not you download it.
Can this convert a page that needs a login?
No. No cookies or sessions are stored or sent, so anything behind a login wall renders in its logged-out state. Save the page's HTML from your own browser instead and upload that.