HTML to PDF
Paste HTML code or upload an .html file. 100% processed in your browser.
Only works for pages whose server allows cross-origin access (CORS). Most sites don't, and will fail to load here -- if so, use "View Page Source" (or save the page as HTML) and paste/upload it below instead.
Frequently Asked Questions
Trying to convert a real website, and it comes out broken?
That's expected, and it's not something we can fix. This tool works entirely inside your browser and never sends what you paste to any server -- that's what keeps it private. But it also means this tool can't actually visit and load a website the normal way, the way you do when you type in its address. A real site needs to talk to its own server to fully load and look right, and this tool deliberately never makes that connection for you.
So this works great for a simple, self-contained piece of HTML -- an invoice, an email you wrote, a template -- but a real website generally won't come out looking right. This is true of any tool that keeps everything private and local like this one; it's not a shortcoming specific to us.
For an accurate copy of a real webpage, use your browser's own Print → Save as PDF, or a screenshot tool like FireShot instead. Both of those capture the page exactly as you see it, since your browser has already loaded it properly by the time you use them.
Is the output text selectable?
No. Browser-side HTML-to-PDF works by rendering your HTML to a high-resolution image and placing it in a PDF. The text is not stored as editable glyphs, so it cannot be selected or searched. For a searchable result you would need a server-side rendering engine.
Why did fetching my URL fail?
Most websites don't allow another site (including this one) to read their page automatically -- that's a normal security setting most sites use, not a bug here. If a URL fails, open it yourself, use "View Page Source" (or "Save As" -> Webpage, HTML only) in your browser, and paste or upload that instead.
Are my files uploaded anywhere?
No. Everything happens inside your browser. Your HTML is never sent to a server -- and when you fetch a URL, your browser talks directly to that site, not to us.
Why not just build a version that handles real websites properly?
Doing that properly means visiting the website on your behalf and loading it the normal way -- which can only be done from a server, not from inside your browser. That's a fundamentally different, much bigger kind of tool (and it's what sites like iLovePDF's website-to-PDF tool actually do). We've chosen to keep this tool simple, private, and entirely on your device instead, which means it's limited to HTML that doesn't depend on anything outside itself.