HTML to PDF

Convert pasted HTML or an uploaded .html file into a PDF. Runs entirely in your browser.

Convert HTML to PDF

Upload a .html file, or paste HTML directly below.

Drag & drop an .html file here, or click to browse
Or paste your HTML in the box below.

PDF ready

Document
0 pages
Your HTML is rendered and converted locally in this browser tab using html2canvas and jsPDF. It is never uploaded to Calcooo or any server.

How to use this tool

  1. Upload an .html file, or paste HTML directly into the box.
  2. Choose a page size.
  3. Press Convert to PDF and wait a moment while it renders.
  4. Click Download document.pdf to save the result.

Frequently asked questions

Is my HTML uploaded anywhere?

No. Your HTML is rendered and converted entirely in your browser using html2canvas and jsPDF. Nothing is uploaded to a server.

Will the PDF text be selectable?

No — this tool renders your HTML as a high-quality image and places that image into the PDF, so the visual layout matches closely, but the text itself is not selectable or searchable. If you need selectable text from plain content, try TXT to PDF or Markdown to PDF instead.

Does this support CSS styling?

Yes, inline styles and a <style> block in your HTML are respected, since the content is rendered in a real (hidden) browser element before conversion. External stylesheets and cross-origin images may not load due to browser security restrictions.

Can I convert a live web page by URL?

Not directly — browsers block reading another site's content directly for security reasons. Instead, save the page's HTML (or view source and copy it) and paste it in below.