PDF and document tools

HTML to PDF

Convert HTML to PDF in your browser

HTML to PDF

Ready
HTML source

The preview is sandboxed: scripts do not run and external requests are blocked.

Preview
Local processing

Press Ctrl or Command and Enter to run the tool.

About this tool

About this tool

HTML to PDF renders pasted HTML in a sandboxed preview iframe and opens the browser print dialog so you can save the result as a PDF. Output quality depends on the browser print engine, and no content is uploaded.

Need a printable copy of an HTML report, invoice, or recipe? This tool renders your HTML in a sandboxed preview and opens the browser print dialog, where you choose "Save as PDF". Everything stays on your device.

Built for daily work

  • Turn an HTML invoice into a PDF for emailing to a client.
  • Save a styled HTML report as a printable document.
  • Create a PDF version of a landing page or recipe for offline use.
  • Convert an HTML email draft to PDF for review.

How to use this tool

How to use this tool

1

Paste the HTML

Paste the markup you want as a PDF, or open an .html file with the file button.

2

Review the preview

The preview updates live in a sandboxed frame, so scripts and remote requests cannot run.

3

Open the print dialog

Click "Print / Save as PDF". The browser shows the standard print dialog.

4

Choose Save as PDF

Select "Save as PDF" as the destination and save the file wherever you need it.

Key features

Key features

Browser print engine

Uses the same rendering engine that prints any webpage, so output matches what the browser shows.

Sandboxed preview

HTML is rendered in a sandboxed iframe, so scripts and external requests are blocked.

No upload

Everything happens locally; your HTML never leaves the device.

Standard print controls

Margins, orientation, and scale are set in the familiar browser print dialog.

Practical use cases

Practical use cases

  • Turn an HTML invoice into a PDF for emailing to a client.
  • Save a styled HTML report as a printable document.
  • Create a PDF version of a landing page or recipe for offline use.
  • Convert an HTML email draft to PDF for review.
  • Produce a quick PDF from a pasted snippet without installing software.

Private by default

For local tools, input is processed in your browser and is not sent to application analytics.

Data processing notice

Technical details

Technical details

InputHTML or text pasted or opened as a file
OutputPDF via the browser print dialog
ProcessingLocal rendering in a sandboxed iframe
ScriptsBlocked in the preview
Workspace featuresLive preview, print action, file open

Limitations and important notes

Limitations and important notes

  • JavaScript-driven layouts do not execute in the preview.
  • Print output depends on the browser print engine and dialog settings.
  • Very large documents may be slow to render and print.
  • External fonts and images require network access to display.

Frequently asked questions

Frequently asked questions

Related guides and solutions

Related guides and solutions

Browse all guides

Turn HTML into a PDF without installing software

Reports, invoices, and recipes written in HTML need a PDF form for sharing. The [HTML to PDF tool](tool:html-to-pdf) renders your markup in a sandboxed preview and uses the browser print dialog to save the PDF, so no software and no upload are involved.

Learn more

How to convert HTML to PDF in your browser

A practical guide to converting HTML to PDF with the browser print engine: previewing, print settings, and what the output keeps.

Learn more

How to convert Word to PDF without losing formatting

A practical guide to converting Word documents to PDF with fonts, layouts, tables, and hyperlinks intact, using a local browser workflow.

Learn more

Trust center

Related tools

Related tools

View all tools

PDF and document tools

Word to PDF Converter

Convert Word .docx documents to PDF in your browser by extracting the text and laying it out on clean pages.

Local processing Focus mode
Open tool

Markdown and document tools

Markdown to PDF

Prepare Markdown for browser print and PDF export.

Local processing Focus mode
Open tool

PDF and document tools

PDF to Text Converter

Extract selectable text from PDF pages in your browser, with page range control and copy or download output.

Local processing Focus mode
Open tool