---
title: "DocumentConverter — 150+ Formats, One API"
description: "25+ open-source conversion engines behind one REST endpoint. PDF, video, audio, images, spreadsheets and documents. Free tier, pay-per-job above it."
url: "https://royalsoftworks.com/products/document-converter/"
source: "https://royalsoftworks.com"
format: "markdown"
note: "Markdown rendering of the HTML page at `url`. Same content, same canonical URL."
---

[All products](https://royalsoftworks.com/#products)

File conversion API

# 150+ formats. One REST endpoint.

POST a file, name a target format, get the result back. 25+ open-source engines run behind one stable contract, so you stop maintaining a different integration for every file type.

[Join the waitlist](https://royalsoftworks.com/contact/) See the planner

POST /convert · docx → pdf 200 OK

 planned: docx → Pandoc → LibreOffice → pdf · 380ms

01 One endpoint

## Write the integration once. Never again.

No SDK per format, no per-vendor auth, no library version conflicts. Anything that speaks HTTP works. Small files come back synchronously; larger ones go async with a webhook, with idempotency keys so retries are safe.

API reference

- **Sync limit** — Files up to 50MB return synchronously
- **Async mode** — Larger files via job ID + webhook callback
- **Retries** — Idempotency keys for safe retries

convert.ts TypeScript

```
1const form = new FormData();2form.append("file", input);3form.append("to", "pdf");45const res = await fetch(6  "https://api.docconverter.io/v1/convert",7  { method: "POST", body: form }8);9const { url } = await res.json();
```

02 The conversion graph

## Niche format pairs usually need two hops. We plan them for you.

Ask for X → Y and the planner finds the shortest viable route through 25+ engines, weighing quality, speed, and cost. You get the execution trace back, so the route is never a black box. Need a specific engine every time? Force it.

### Automatic routing

Multi-step pipelines are planned across the whole engine graph, not hardcoded per format pair.

### Weighed selection

Engine choice considers quality, speed, and per-job cost, with fallback engines for marginal pairs.

### Auditable trace

Every response includes the route taken, so you can verify exactly what ran and why.

03 Coverage

## Six categories. 150+ format pairs.

### Images

PNG, JPG, WEBP, AVIF, HEIC, TIFF, BMP, SVG, raw camera formats.

### Documents

PDF, DOCX, ODT, RTF, EPUB, HTML, Markdown.

### Spreadsheets

XLSX, ODS, CSV, TSV.

### Video

MP4, MOV, WEBM, MKV, AVI, transcoding and frame-rate conversion.

### Audio

MP3, AAC, FLAC, WAV, OGG, with optional loudness normalisation.

### Archives

ZIP, TAR, GZ, BZ2, 7Z — pack, unpack, repack.

Engines & sandboxing

- **Engines** — Pandoc, LibreOffice, FFmpeg, ImageMagick, Ghostscript, qpdf, libvips, 18 others
- **Isolation** — Per-job ephemeral Docker container; no state crosses jobs
- **Encryption** — TLS in transit, AES-256 at rest
- **Retention** — Purged 1h after delivery by default (configurable)
- **Residency** — EU and US regions; enforced at the job level

04 Pricing

## Free tier for occasional use. Pay-per-job for the rest.

### Free

Ad-hoc conversions

- Generous monthly quota
- All 150+ format pairs
- Sync API for files ≤50MB

### Pay-per-job

Most popular

Production usage

- No monthly minimum
- Async API for large files
- Volume discounts at scale

### Enterprise

Private deployment

- Self-hosted Docker option
- Custom retention policy
- Dedicated support

### Stop writing conversion code. Call the endpoint.

DocumentConverter is in private preview. Join the waitlist for API access.

[Join the waitlist](https://royalsoftworks.com/contact/)
