Turn HTML and Word documents into perfect PDFs

One API call. Three lines of code. Zero headaches.

# Render PDF from a stored template
curl -X POST https://api.docpipe.app/v1/render \
  -H "Authorization: Bearer dr_live_xxxxx" \
  -d '{
    "template_id": "tpl_abc123",
    "data": {
      "customer": "Acme Inc",
      "amount": 1500
    }
  }'

Everything you need for PDF generation

Simple API, powerful features, fair pricing.

Word Templates

Unique

Design in Word with {{placeholders}}, upload once, render with any data. No other API does this.

Smart Variable Extraction

Upload a template, we auto-detect all variables. Define types (string, number, date) for automatic validation.

Inline or Stored

Send HTML/DOCX directly for one-off renders, or store templates for better performance and validation.

Try it out

See how template variables work in real-time.

Template Variables

This is a demo. Sign up to generate real PDFs.

welcome_letter.docx
Docpipe
PDF Generation API
{{date}}
{{name}}
{{company}}
{{street}}
{{city}}
Subject: Welcome to Docpipe

Dear {{name}},

Thank you for your interest in Docpipe. We're excited to help {{company}} streamline document generation.

With our API, you can convert HTML and Word templates into professional PDFs...

Best regards,

The Docpipe Team

DOCX
Docpipe
PDF Generation API
Subject: Welcome to Docpipe

Dear ,

Thank you for your interest in Docpipe. We're excited to help streamline document generation.

With our API, you can convert HTML and Word templates into professional PDFs in seconds. Simply define your variables, send your data, and we handle the rest.

Best regards,

The Docpipe Team

PDF

Two ways to generate PDFs

Choose inline for flexibility, or stored templates for validation and performance.

Inline Templates

Send template with each request

curl -X POST .../v1/render \
  -d '{
    "html": "<h1>Hi {{name}}</h1>",
    "data": { "name": "World" }
  }'

Perfect for dynamic templates or one-off documents.

Stored Templates

Recommended

# Upload once, we extract variables
curl -X POST .../v1/templates \
  -F "template=@invoice.docx"

# Render with validation
curl -X POST .../v1/render \
  -d '{"template_id": "tpl_xxx"}'
  • Auto-extracts variables
  • Input validation (types, required)
  • Faster rendering (cached)

Works with any language: Node.js · Python · Ruby · PHP · Go · Java · C#

Simple, transparent pricing

No hidden fees. No surprises. Cancel anytime.

Free

$0 /month

100 PDFs/month

  • HTML templates
  • 5 templates max
  • Community support
Get Started

Starter

$29 /month

2,500 PDFs/month

  • HTML + Word templates
  • 25 templates
  • Webhooks
  • Email support
Get Started
Most Popular

Professional

$99 /month

10,000 PDFs/month

  • Unlimited templates
  • Priority queue (10s avg)
  • Template API
  • Custom fonts
Get Started

Business

$399 /month

50,000 PDFs/month

  • Dedicated queue (5s avg)
  • Batch processing
  • 99.5% SLA
  • Priority support
Get Started

Need more? Contact us for custom volume pricing.

Ready to generate your first PDF?

Start free, scale when you're ready. No credit card required.