Skip to main content

Welcome to Pdflet

Pdflet is a PDF generation API built for developers. Convert HTML to high-quality PDFs with a single API call.

Why Pdflet?

Simple Integration

One POST request to convert HTML to PDF. No complex setup or configuration required.

High Quality Output

Powered by Chromium for pixel-perfect rendering. Your PDFs look exactly like your HTML.

Fast & Reliable

Average conversion time under 3 seconds. 99.9% uptime SLA on paid plans.

Developer First

RESTful API with comprehensive documentation. SDKs for Python, JavaScript, and more.

Common Use Cases

  • Invoices & Receipts - Generate professional invoices from your billing data
  • Reports - Create PDF reports from dashboards and analytics
  • Contracts - Convert dynamic contracts and agreements to PDF
  • Certificates - Generate certificates, tickets, and badges at scale

How It Works

1

Send HTML

POST your HTML content or URL to our API endpoint
2

We Render

Our servers render your HTML using a headless browser
3

Get PDF

Download your PDF from the returned URL

Quick Example

curl -X POST https://api.pdflet.dev/api/v1/pdf/ \
  -H "X-API-Key: pk_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Hello World</h1>"}'
Response:
{
  "id": "conv_abc123",
  "status": "pending",
  "created_at": "2024-01-15T10:30:00Z"
}

Ready to start?

Follow our quickstart guide to generate your first PDF in 5 minutes