Document Generation API

Design once.
Generate PDF & Excel from one API.

Build a template in the visual designer, then generatepixel-perfect PDF and Excel documents from JSON data —in a single API call. Replace Puppeteer, wkhtmltopdf, and DocRaptor.

template + data → document
POST /api/v1/documents/generate
{
  "templateId": "etpl_invoice",
  "format": "pdf",
  "variables": {
    "invoiceNumber": "INV-2042",
    "customer": "ACME Corp",
    "total": 8500
  }
}
Document Generated
Template resolved
Native engine rendered PDF
3 pages · 84 KB
COMPLETED320ms
downloadUrl: https://cdn.rynko.dev/…/inv-2042.pdf

Sub-second native rendering. The same template outputs PDF or Excel — no headless browser.

From template to document

Design a template, pass your data, and get a pixel-perfect PDF or Excel back.

Three reasons HTML-to-PDF breaks in production

Slow & Heavy

Puppeteer spins up a headless Chrome for every document — 3–8 seconds per render, memory spikes, and timeouts the moment traffic climbs.

→ Rynko's native engine renders in 200–500ms.

No Native Excel

wkhtmltopdf and DocRaptor only speak PDF. Need a spreadsheet too? That's a second tool, a second template, and two things to keep in sync.

→ One template outputs both pdf and excel.

Fragile & Unsafe

HTML templates parse untrusted markup. One malformed string and you get a broken layout — or an XSS hole in a customer-facing document.

→ TextRuns JSON rich text. No HTML parsing, zero XSS.

How document generation works

From a blank canvas to a production PDF in under 5 minutes.

Step 1

Design a Template

Drag and drop text, tables, charts, and barcodes in the visual designer. Mark fields as variables.

Step 2

Call the API

POST /documents/generate with a templateId, format, and variables.

Step 3

Engine Renders

Yoga flexbox layout positions every element and renders natively — sub-second, no browser.

Step 4

PDF or Excel Out

The same template produces a pixel-perfect PDF or a fully-formatted Excel workbook.

Step 5

Deliver

Download the file, fire a webhook, or batch thousands in a single request.

Everything you need to generate documents at scale

One template design system. Two output formats. A native engine built for speed.

Visual Template Designer
Drag-and-drop editor with live preview — design once, generate anywhere.
  • 28 component types
  • Conditionals, loops, expressions
  • TextRuns rich text — zero XSS
Explore Templates
Native Rendering Engine
Not HTML-to-PDF. A purpose-built engine with Facebook Yoga flexbox layout.
  • 200–500ms vs 3–8s for Puppeteer
  • No headless browser to babysit
  • Predictable memory under load
Explore the Engine
PDF + Excel Output
Both formats from one template — with the rich components teams actually need.
  • 8 chart types, 10 barcode formats
  • 9 PDF form-field types
  • JS expressions + Excel formulas
Browse the Gallery
Integrations & SDKs
Drop into any stack — official SDKs, no-code platforms, and webhooks.
  • Node, Python & Java SDKs
  • Zapier, Make, n8n, Google Sheets
  • Webhooks + MCP for AI agents
Explore Integrations
Rynko Reporting

Enterprise reports, straight from your database

A local agent connects to your databases and renders scheduled PDF and Excel reports — a zero-knowledge replacement for IBM Cognos. Your data never leaves your network.

Explore the platform
Built for AI workflows

Build templates 10x faster with AI

Describe the document you need and let Claude, GPT, or Gemini scaffold the template JSON. Our MCP server exposes template and document tools to any AI assistant — so you can create templates, generate documents, and author reports from a conversation.

  • Plain-English prompts scaffold valid template JSON
  • MCP server for Claude, GPT, Gemini and other assistants
  • Generate and preview documents without leaving your editor
  • Author and run reports straight from a chat
Generate a document
NodePythonJava
# One call — templateId + variables → PDF
 
const doc = await rynko.documents.generate({
  templateId: "etpl_invoice",
  format: "pdf",
  variables: {
    invoiceNumber: "INV-2042",
    customer: "ACME Corp",
    total: 8500
  }
});
 
# → doc.downloadUrl (rendered in 320ms)

What teams build with Rynko

From a handful of receipts to thousands of documents in a nightly batch.

Invoices & Receipts
Generate branded invoices and receipts from order data. A PDF for the customer and an Excel export for accounting — both from the exact same template.
Business Reports
Financial statements, sales dashboards, and analytics reports with 8 chart types and live data — rendered on a schedule or on demand.
Packing Slips & Labels
E-commerce packing slips, shipping labels, and certificates with 10 barcode formats — generated per order and batched by the thousand.

Simple, transparent pricing

Start free. No credit card required.

Free
$0
Documents50/mo
FormatsPDF + Excel
WatermarkYes
TemplatesUnlimited
Starter
$19
Documents500/mo
FormatsPDF + Excel
WatermarkNone
TemplatesUnlimited
Growth
$49
Documents2,500/mo
FormatsPDF + Excel
WatermarkNone
TemplatesUnlimited
Scale
$99
Documents10,000/mo
FormatsPDF + Excel
WatermarkNone
TemplatesUnlimited

Every plan includes the visual designer, both output formats, and full API access. Need more volume? Top up any time with one-time credit packs.

Start generating documents in minutes.

Design a template, call one API, and ship pixel-perfect PDF and Excel from day one.

No credit card required • 50 free documents/month • Cancel anytime