IndiaPDF Editor · All PDF tools · Exam Form Kit · Students
Convert HTML code or an .html file to PDF with a real Chrome browser: styles, web fonts and pictures load as on a website. Page size, margins, zoom, background and header options. Free with sign-in.
HTML to PDF turns web code into a finished PDF. Paste your HTML into the box, or open an .html or .htm file from your device, up to 2 MB. The code goes to a real Chrome browser on Cloudflare’s network, which draws it exactly like a website and prints it. The PDF returns to your screen and the server keeps no copy.
Because it is a full browser, modern CSS, web fonts and pictures work, as long as their links are complete web addresses starting with https://. You get the same print settings as Website to PDF: paper size, margins, zoom, screen width, background colours, landscape, one long page and an optional header and footer. Sign in free to use it.
Yes, for signed-in users (Google or email), 20 conversions a day.
Yes, when they use full web addresses (https://…). It is a real Chrome browser, so modern CSS works.
Up to 2 MB of HTML code at a time, which is plenty for long reports. Pictures loaded from the web do not count towards this, because the browser fetches them from their own addresses.
Your code goes to the browser on Cloudflare’s network only to be printed, and the PDF comes straight back to you. Nothing is saved. As with any online service, avoid pasting passwords or private keys into the code.
Yes. Set the screen width to phone, tablet, laptop or big screen, and the page is drawn as it would look on that device. This matters for responsive pages that rearrange themselves on smaller screens.