Convert

HTML to PDF

Render an HTML file into a styled PDF document. Remote resources are disabled for privacy, ensuring that only local content within the HTML file is rendered. Runs on your self-hosted SnapOtter instance with no external network calls.

Features

  • Renders HTML and CSS into a paginated PDF
  • Remote resource fetching disabled for privacy and security
  • Supports inline styles and embedded images
  • Configurable page size and orientation
  • Clean PDF output suitable for printing and archival

What you can do

  • Converting HTML email templates to PDF previews for approval
  • Turning HTML reports from analytics dashboards into printable PDFs
  • Archiving web page exports as PDF documents
  • Creating PDF versions of HTML documentation pages

Self-hosted. Your files never leave your network.

SnapOtter runs entirely on your own infrastructure. Files processed with HTML to PDF are never uploaded to third-party servers. Deploy a single Docker container and process files with full privacy, no watermarks, and no usage limits. Open source under AGPL-3.0.

Frequently asked questions

Why are remote resources disabled?
Remote resource fetching is disabled to protect your privacy and prevent potential security risks like SSRF. Only content within the HTML file itself is rendered. Processing is entirely local.
Can I use CSS in my HTML file?
Yes, inline styles and embedded CSS are fully supported. External stylesheets referenced via URL are not fetched. All rendering happens on your self-hosted SnapOtter server.
What page sizes are supported?
You can configure the output page size and orientation to match your needs, including standard sizes like A4 and Letter. Everything processes locally on your own infrastructure.

Ready to try HTML to PDF?

Deploy SnapOtter in under a minute. All 157 tools included. Open source and free forever.