PDF toolkit included

PDFEngine API

Invoice & receipt templates + PDF API

Render invoice and receipt templates, HTML, or URLs with deterministic layout. Apply watermark, compression, and metadata updates, then ship polished documents without running a render fleet.

  • Inject custom CSS or JavaScript per request.
  • Render Mustache templates with JSON data.
  • Watermark, compress, and enrich PDF metadata.
Get your API keyView docsBuilt for invoice & receipt templates, statements, and reports.

Latency

Fast renders

Tuned for PDFs

Controls

CSS + JS

Per-request styling

Operations

Watermark + compress

Built-in PDF ops

Formats

A4, Letter, Legal

Margins + landscape

Conversion flow

4 steps
Source01

HTML, URL, or template

Send raw HTML, a URL, or render a template.

Render02

Modern engine

CSS, fonts, JS, and media queries.

Enhance03

Post-processing

Watermark, compress, and metadata updates.

Deliver04

PDF response

Binary PDF with conversion headers.

Inputs

HTML / URLPOST /convert
Template JSONPOST /templates/:id/render

Sample output

Static PDF layout preview

convert.js
// Render HTML and post-process in one request
const response = await fetch('https://api.pdfengine.io/v1/convert', {
method: 'POST',
headers: {
'Authorization': 'Bearer sk_test_your_api_key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
source: '<h1>Invoice #4812</h1>',
css: 'h1 { letter-spacing: -0.02em; }',
format: 'A4',
watermark: { text: 'PAID', opacity: 0.2 },
compress: 'medium',
metadata: { title: 'Invoice 4812' },
}),
});
const pdf = await response.blob();

Savings calculator

vs Competitors

How many invoices do you generate monthly?

Monthly volume
5,000invoices
10050,000

Competitors

Professional plan

$39/mo

Up to 5,000 conversions

Your price

PDFEngine

Growth plan

$19/mo

Up to 5,000 conversions

You save

$20/month

Yearly savings

$240

Save

51%

Start Free TrialView all plansNo credit card required

Built for production

What teams care about most

Fast rendering, layout control, and PDF operations for business-critical documents.

Fast conversions

Speed

Optimized rendering keeps output predictable.

  • Conversion and operation IDs
  • Timing headers for performance tracking

Layout control

Control

Fine-tune output with margins, formats, and orientation.

  • A4, Letter, Legal formats
  • CSS + JavaScript injection

Security controls

Security

Protect access and lock down sensitive PDFs.

  • API key auth and rate limiting
  • Password-protect PDFs

PDF toolkit

Toolkit

Post-processing tools built into the API.

  • Merge, split, watermark, compress
  • Metadata updates and protection

Capabilities

High-fidelity features for documents

Build once, render anywhere, and keep output consistent at scale.

Read the docs ->

Production-grade rendering

Full CSS, web fonts, and media queries for pixel-accurate output.

Template workflows

Mustache templates with JSON variables and reusable partials.

PDF pipeline

Merge, split, watermark, compress, and enrich metadata through one API.

Security controls

API keys, rate limits, and PDF protection for sensitive files.

Endpoints

Simple REST API

Predictable routes that mirror the document workflow.

Full reference
POST/api/v1/convert
HTML to PDF
POST/api/v1/pdf/merge
Merge PDFs
POST/api/v1/pdf/split
Split PDF
POST/api/v1/templates/:id/render
Render template

Render controls

Layout settings

Format, margins, and landscape controls.

Styling hooks

Inject CSS or JavaScript per request.

Post-processing

Watermark, compress, metadata updates.

Sample request

{
  "source": "https://example.com/invoice/4812",
  "css": ".total { font-weight: 600; }",
  "format": "A4",
  "watermark": { "text": "PAID" },
  "compress": "medium"
}

Start in minutes

Ship your first PDF today

Create an account, grab an API key, and render production-ready documents in minutes.