PDF Tools

HTML to PDF Converter

Paste HTML markup and convert it to a PDF document in your browser. Scripts and iframes are stripped before rendering for security. Supports inline CSS, headings, tables, lists, and common HTML elements.

Scripts & iframes stripped before render Local processing, file never uploaded Instant PDF export
Scripts, inline styles, event handlers, and iframes are stripped before preview and export
HTML input

0 characters

Sanitized preview Safe

Paste HTML on the left to see the sanitized output…

PDF options Defaults

Page size

Orientation

Font size

Sanitized and exported in your browser; nothing is uploaded

Features

  • Renders HTML to PDF entirely in your browser
  • <script> and <iframe> tags stripped before rendering
  • Supports inline CSS styles
  • Tables, headings, lists, and images supported
  • Configurable page size and margins
  • Instant download
  • Browser-only. No upload

How to use it

  1. Paste your HTML markup into the input panel.
  2. Scripts and unsafe elements are stripped automatically.
  3. Preview the rendered output.
  4. Download the PDF.

Use cases

  • Converting HTML email templates to PDF for review
  • Archiving web page content as PDF
  • Creating PDFs from HTML report templates
  • Converting HTML invoices or receipts

Limitations

  • External CSS stylesheets linked via <link> are not fetched, embed styles inline or in a <style> block.
  • Complex print layouts may differ from browser rendering.
Questions & answers

Frequently asked

Why are scripts stripped?

Scripts are removed to prevent arbitrary code execution during browser-side rendering. Static HTML with CSS is fully supported.