Convert HTML to PDF,free, in your browser
Drop an .html file or paste your markup and get a PDF back. Your inline CSS is applied, and the file never leaves the device.
The conversion runs inside your browser tab. Your markup is not uploaded, so there is no copy of it anywhere but your own device.Free to use: 25 MB of markup per conversion, A4 portrait output, and no watermark on the result.
Add your HTML
Drop an .html file, or paste markup straight into the box.
Convert
Your markup is laid out on A4 pages with your inline CSS applied, then captured page by page.
Download
Check the conversion notes, then save the PDF locally.
How to convert HTML to PDF
Three steps cover the easy case. Below are the parts that catch people out: external stylesheets, remote images, page breaks, and what the finished PDF can and cannot do.
Convert an HTML file to PDF
Drop an .html or .htm file onto the upload card, or click it to browse. You can also skip the file entirely and paste markup into the box below the card. Either way the limit is 25 MB of markup, which is far more than a hand-written page needs.
Click Convert. The markup is laid out on A4 portrait pages with a 14 mm margin, and the finished PDF is offered for download along with a short list of anything that had to be dropped.
See also: Convert Markdown to PDF
Save a web page as a PDF from its address
This page converts markup you already hold. It cannot take a link, because a browser is not allowed to read another website's page. The URL tool does that job by fetching the page through our server first, which is the one place in this family where a request leaves your machine.
See also: Save a web page as a PDF
Why does the PDF look different from my page
Almost always it is a stylesheet loaded from somewhere else. A <link rel="stylesheet"> tag points at a separate file, and the converter does not go and fetch it, so the page renders with the built-in defaults instead of your design. The tool tells you when it spots one.
The other difference is the typeface. A PDF built this way can only use a fixed set of built-in fonts, so whatever you asked for is swapped for the nearest of Helvetica, Times or Courier. Sizes, weights, italics and colours are kept, but a brand font will not survive the trip.
Keep your CSS working in the PDF
Move the rules into a <style> block at the top of the file, or onto the elements as style attributes. Both are kept and both are applied. A page whose whole design lives inline converts almost exactly as it looks in the browser, including colours, borders, table styling, and background fills.
Can I select or search the text in the PDF
Yes. Your words go into the PDF as real characters, not as a picture of the page, so a reader can select them, copy them and find them with Ctrl+F. It also keeps the file small.
The honest limit is the alphabet. Only Latin characters are supported, and that includes accented letters, curly quotes, dashes and the common symbols. Text in Hindi, Chinese, Japanese, Arabic, Cyrillic or Greek comes out as nonsense symbols rather than words, and emoji do the same. There is no workaround for that today.
Are the links clickable in the PDF
They are not. An <a> tag renders as blue underlined text because that is how the browser drew it, but there is nothing behind it to click. Print the address next to the link text if the reader will need it, for example "Docs (example.com/docs)".
Do my images show up
Images embedded as data URIs always come through, because the picture is already inside the file. That is the reliable route for a logo or a chart. Pictures are re-encoded on the way in, so a screenshot with sharp edges can soften slightly.
Images pointed at the web are fetched by your browser during the conversion, so they only appear if the site hosting them allows cross-origin loading. Plenty do not, and those come out blank. The tool warns you when your markup links remote images so you know to check the result.
What happens to scripts, forms and frames
Scripts, iframes, embedded objects, form controls, and page-level meta and base tags are stripped before anything is rendered. A PDF cannot run code or submit a form, and letting untrusted markup execute on our page would be a real security hole.
Whatever gets removed is listed after the conversion, so you are never handed a quietly different document than the one you gave us.
Control where the pages break
CSS page-break rules are ignored here. Pages are split automatically at gaps between lines of text, so a paragraph is never cut through the middle of a line. If a section has to start on a fresh page, give the block before it enough bottom padding to push it over. There is no manual page-break control on this tool.
Convert a wide table or a dashboard
Everything renders onto A4 portrait at a fixed content width, and there is no landscape option here. A table wider than that column gets squeezed, and content that overflows the column can be cut off at the right edge. For genuinely wide data, a spreadsheet converts to landscape pages instead.
See also: Convert a spreadsheet to PDF
Nothing came out, or the tool refused the file
A saved page from a modern web app is usually an empty shell plus a script that draws everything after load. Strip the script and there is nothing left, so the tool stops and says so rather than handing you a blank PDF. Save the rendered page instead: in the browser, use Save Page As and pick the complete option, or copy the finished markup out of the developer tools.
Turn an HTML invoice template into a PDF
This works well, because an invoice is static markup with inline styling and a table. Fill the values in, keep the CSS in a <style> block, and convert. If you would rather not maintain the template yourself, the invoice generator produces the document and the PDF in one go.
See also: Generate an invoice
Convert HTML to PDF without uploading the file
Nothing is sent anywhere. The file is read into the browser tab, rendered there, and saved from there. That matters when the markup is a client report, a payslip template, or anything with real names and numbers in it, because there is no copy on a server and no retention window to trust.
Convert as many files as you like
The free plan covers 10 finished files a day across every tool, and no account is needed to convert or download. The finished PDF carries no watermark on any plan, so it can go straight to a client or a portal.
Converting HTML to PDF, answered
Does my HTML file leave my device?
The whole conversion runs in your browser. Your markup is parsed and drawn onto pages on the same machine you opened this page on, and nothing is sent to a server.
Can I convert a live web page by pasting its URL?
Not on this page. This tool converts HTML you already have: an .html file you drop in, or markup you paste. To save a page by its address, use the URL to PDF tool, which fetches the page through our server because a browser cannot read another site.
Is the text in the finished PDF selectable?
Yes. Your words are drawn into the PDF as real characters, so you can select them, copy them, and search them with Ctrl+F. The file stays small for the same reason.
Why do my styles look different in the PDF?
CSS in a <style> block or a style attribute is applied. A stylesheet loaded from another file or another site is not, because the conversion never fetches external resources. Inline your CSS into a <style> block and the PDF will match your page. Fonts are the other difference: the PDF uses a fixed set of built-in typefaces, so your font is swapped for the nearest of Helvetica, Times or Courier.
Does it work with Hindi, Chinese, Arabic or Cyrillic text?
Not yet. The built-in typefaces only cover Latin characters, so text in another script comes out as nonsense symbols rather than words. Accented Latin, curly quotes and dashes are all fine.
What happens to scripts and forms?
They are removed before rendering. A PDF is a static document, so JavaScript has nothing to run against and form controls cannot be submitted. Anything your page draws with JavaScript after load will not appear, so convert the finished markup rather than the template.
Do images in my HTML show up?
Images embedded as data URIs always work. Images linked from the web only appear if the site hosting them allows cross-origin loading, which many do not. If an image comes out blank, embed it as a data URI first.
Is there a file size limit?
The limit is 25 MB of markup, which is far more than any hand-written page. Very long documents take longer because every page is laid out and captured in your browser, and a conversion that passes 90 seconds is stopped with an error rather than left spinning.
Does the PDF have a watermark?
Never, on any plan. The page comes out exactly as your markup drew it, with nothing stamped on top.
How many files can I convert per hour?
As many as you want. The free plan covers 10 finished files a day, shared across every tool, and it resets at midnight UTC. Pro removes the count.
Need to change the PDF afterwards?
Open it in the editor to add a page number, a signature, or a note before you send it.
Edit a PDF nowPDF to JPG
Turn every PDF page into a JPG. Quality selector, ZIP for multi-page.
OpenPDF to PNG
Turn every PDF page into a crisp, lossless PNG. ZIP for multi-page.
OpenJPG to PDF
Combine JPG and PNG images into one PDF. Reorder pages, then download.
OpenWord to PDF
Turn a .docx into a PDF (text, images, tables, links) without leaving your browser.
Open