The only PDF API that never stores your data.

Stateless, GDPR-compliant PDF generation for sensitive financial, legal, and healthcare documents. Zero storage, zero breach risk.

zsh — 80x24
$ Why_html4pdf?

Built for privacy-conscious developers

Zero Data Retention

We don't store your HTML or generated PDFs. Documents are streamed to you and immediately discarded from memory.

GDPR & HIPAA Friendly

Perfect for healthcare records, legal contracts, and financial statements where data privacy is non-negotiable.

High Performance

3-5 second generation time. Optimized Chromium instances scale automatically to handle your workload.

Modern Templates

Use our pre-built JSON/YAML templates for invoices, receipts, and contracts. No HTML/CSS skills required.

URL to PDF

Convert any public URL to a PDF with full support for modern CSS, Flexbox, and Grid layouts.

Developer First

Simple REST API, typed SDKs, and comprehensive documentation. Built by developers, for developers.

$ New_Feature

Skip the HTML.
Use Data Templates.

Stop wrestling with CSS for print. Send us structured JSON data and we'll render beautiful, consistent documents using our professional templates.

Invoice & Receipt Templates
Legal Contracts & Agreements
Certificates & Awards
Financial Reports
invoice.jsonJSON
{
  "template": "invoice",
  "data": {
    "number": "INV-2024-001",
    "date": "2024-03-15",
    "company": {
      "name": "Acme Corp",
      "address": "123 Tech Blvd"
    },
    "items": [
      {
        "desc": "API Usage - Pro Plan",
        "qty": 1,
        "price": 29.00
      }
    ]
  }
}
$ Pricing

Pay only for what you use

No monthly subscriptions. Credits never expire.

Starter

$5
100 credits
Never expires
Full API access
All templates included
Most Popular

Growth

$20
500 credits
Never expires
Full API access
All templates included

Scale

$50
1,500 credits
Never expires
Full API access
All templates included
$ FAQs

Frequently Asked Questions