Document Engine
#Automate document generation at any scale
Generate production-ready PDF, DOCX, and ODT via REST API or connect through Make and n8n in minutes. One API for invoices, contracts, reports, and any document your business needs.
#What a modern document API should deliver
Simple template APIs work for standard letters. But professional documents need real structure, flexible styling, and multiple output formats. Autype was built for exactly that.
Flexible templates for any requirement
Autype goes beyond simple placeholder filling. Dynamic sections, nested tables, conditional content, and structured headings, all definable in a single template.
Native rendering, not HTML conversion
Autype renders documents natively with precise page breaks, headers and footers, and consistent layout. No CSS debugging, no surprises in production.
Change global styling in one click
Update fonts, colors, or spacing centrally. All documents update automatically. Design tokens and inheritance ensure consistency across your entire portfolio.
One document, every format
PDF, DOCX, and ODT from the same source. One template, one API, three formats. No separate pipelines or conversion issues.
Built on Markdown, JSON, and real document structure, from the ground up.
#Built on industry standards, not proprietary formats
Autype uses Markdown and JSON to define documents. Both are open standards, understood by every programming language, and natively generated by LLMs. No proprietary DSL. No vendor lock-in.
Extended Markdown
Write documents in Markdown with extended directives for charts, diagrams, math, and layout. The syntax every developer already knows.
JSON Document Schema
Full programmatic control via a validated JSON schema. Define every element, style, and layout property with complete type safety.
LLM-Optimized
Markdown and JSON are the formats LLMs generate most reliably. One canonical way to express each element. No ambiguity, no broken output.
#Why use Markdown and JSON?
Markdown already powers tools you use every day (Notion, Obsidian, GitHub, Reddit, and Slack all use it under the hood). It is the syntax that LLMs are trained on the most and generate the most reliably. JSON is the native data format of almost every no-code platform, API, and automation tool. Together, they give you a document input that every developer can write, every LLM can produce, and every system can process. No proprietary lock-in.
#Every document element you'll ever need
18 element types, 17 diagram languages, 8 chart types. From headings to QR codes, from Mermaid flowcharts to LaTeX formulas. All rendered natively.
Content Elements
- Headings (h1–h6)
- Paragraphs & secondary text
- Ordered & unordered lists with nesting
- Tables with styling, images in cells, data binding
- Images with captions & figure numbering
- Code blocks with syntax highlighting
- LaTeX math formulas (block & inline)
- QR codes (URL, WiFi, vCard)
17 Diagram Languages
- Mermaid (flowcharts, sequence, class, Gantt)
- PlantUML (UML diagrams)
- GraphViz (graph visualizations)
- Structurizr (C4 architecture)
- TikZ (LaTeX technical drawings)
- Vega (data visualizations)
- Plus BlockDiag, SeqDiag, ActDiag, NwDiag, PacketDiag, C4 PlantUML, DBML, Ditaa, ERD, UMlet, WireViz
8 Chart Types
- Bar charts
- Line charts
- Pie charts
- Doughnut charts
- Radar charts
- Polar area charts
- Scatter plots
- Bubble charts
#Automatic indices, references, and citations
Features you'd expect from academic publishing software, built into every API call. No manual effort, always accurate.
Table of Contents
Automatically generated from document headings. Configurable depth (h1–h6), clickable hyperlinks in PDF.
List of Figures
Auto-numbered captions for images, diagrams, and charts. Cross-reference any figure with always-correct numbering.
List of Tables
Automatic table numbering and caption management with cross-references.
List of Code Listings
Numbered code blocks with captions, referenced from anywhere in the document.
List of Abbreviations
Define abbreviations once, Autype expands and lists them automatically.
Bibliography
CSL-JSON citations with 6 built-in styles: APA7, Harvard, IEEE, Chicago, MLA, Vancouver. Auto-formatted reference list.
Cross-References
Reference any heading, figure, table, or code listing by anchor. Numbers update automatically when content changes.
Template Variables
Text, image, list, and table variables with {{varName}} syntax. Built-in page numbers and dates.
#Global styling and layout control
Define your document theme once. Every heading, paragraph, table, and element follows your design system. Change one value and the entire document updates.
Global Defaults
Font family, font size, text color, line height: set once for the entire document. Every element inherits unless overridden.
Element-Level Styles
Override styles per heading level (h1–h6), secondary text, tables, code blocks, math, and bibliography entries.
Headers & Footers
Three-column layout (left / center / right) with text spans, images, and page numbers. Exclude first page option.
Spacing System
Fine-grained before/after spacing for every element type. Control whitespace with precision, not guesswork.

Style Editor with JSON view — create visually, reuse via API
#Advanced layout capabilities
Page sizes, margins, multi-column layouts, orientation changes, and auto-positioning. Full control over how content flows across pages.
Page Sizes & Margins
A3, A4, A5, Letter, Legal, Tabloid. Custom margins in centimeters per side for every section independently.
Portrait Orientation
Standard vertical page layout for text-heavy documents, reports, and letters.
Landscape Orientation
Horizontal layout ideal for wide tables, charts, Gantt diagrams, and data-heavy sections.
Mid-Document Orientation Switching
Switch between portrait and landscape freely within the same document. Use landscape for a chart section, then return to portrait. Per section, not per document.
Multi-Column Layout
2–4 column layouts per section with configurable spacing and separator lines. Perfect for academic papers and publications.
Flow & Page Sections
Flow sections for continuous content across pages. Page sections for fixed-position elements like cover pages and overlays.
Page Breaks
Force page breaks anywhere in the document. Control exactly where new pages begin for precise layout control.
Auto Flow
The rendering engine determines optimal positions for elements automatically. Content flows naturally without manual positioning.
#40+ API operations for PDF, DOCX, and ODT
Beyond generating documents, Autype gives you a full document processing toolkit. Merge, split, watermark, convert, and manage files, all async with webhook support.
Document Rendering
- Render from JSON schema
- Render from Extended Markdown
- Render persistent documents by ID
- Validate JSON without rendering
- Validate Markdown without rendering
- Bulk render with variable sets (JSON, CSV, Excel)
PDF Operations
- Merge multiple PDFs
- Split PDF by page ranges
- Rotate pages (90°, 180°, 270°)
- Keep or remove specific pages
- Add text watermarks
- Extract metadata
- Password protect & encrypt
- Unlock password-protected PDFs
- Compress PDFs (3 levels)
- Convert PDF to images
- Extract form fields
- Fill form fields
Conversion & Placeholders
- Convert DOCX to PDF
- Convert ODT to PDF
- Replace placeholders in DOCX/ODT (text, images, lists, tables)
Document Management
- Create and manage projects
- Create documents with initial content
- List and retrieve documents
- Get document variables
- Upload and manage temporary images
- API key info and credit balance
#Integrations for every workflow
Connect Autype to your existing automation stack. Native integrations for the most popular platforms, plus a universal MCP server for AI agents.
Make (Integromat)
Drag-and-drop modules for Make.com. Connect Airtable, Google Sheets, or CRM data to auto-generate proposals, invoices, and reports without writing code.
n8n
Full-featured community node with 40+ operations. Build workflows that generate contracts from form submissions or send branded PDFs after payment. AI agent compatible.
MCP Server
Let Claude, GPT, or any MCP-compatible AI agent generate, edit, and deliver documents as part of an autonomous workflow. The agent handles structure, styling, and output format.
REST API
Standard REST API with OpenAPI spec. Integrate into any backend, CI/CD pipeline, or automation platform that speaks HTTP.
AI-Powered
#Connect any LLM to your document pipeline
Give your AI agent direct access to the Document Engine via MCP. It can create documents, add sections, apply styles, insert charts, and export to PDF. All autonomously, step by step.
Any MCP-compatible LLM (Claude, GPT, Gemini, or your own model) connects to the Document Engine and works on documents like a human would: creating, editing, styling, and exporting.
#Start generating documents programmatically
API access is included in every plan, even the free tier. Full documentation, OpenAPI spec, and ready-to-use integrations.
