Fast & synchronous
Convert documents up to 1MB in a single request. Get the file back immediately — no polling required.
DocConvert is the M² Design document API — convert Markdown, HTML, DOCX, and PDF with one REST call. No AI bloat. Pure utility, Sydney-built, developer-first pricing.
# Markdown → PDF in one request curl -X POST https://api-production-7d714.up.railway.app/v1/convert \ -H "Content-Type: application/json" \ -H "X-API-Key: dc_live_…" \ -d '{ "input_format": "markdown", "output_format": "pdf", "content": "# Hello World\n\nBuilt with **DocConvert**." }'
Drop-in document conversion without running LibreOffice, Playwright, or custom pipelines yourself.
Convert documents up to 1MB in a single request. Get the file back immediately — no polling required.
Authenticate with X-API-Key. Register once, complete Stripe checkout, and start converting.
PDFs with print styles, themed Markdown rendering, DOCX fidelity via LibreOffice, and URL-to-PDF capture.
Monthly allowances per plan with metered overage. Stripe handles subscriptions and invoicing automatically.
Per-key rate limiting and monthly conversion caps keep your integration predictable and costs under control.
Pass any public URL and get a PDF — visual page capture or readable article text mode.
One endpoint, many format pairs. Send JSON with your content or a URL — receive the converted file as the response body.
| Input | Output | Notes |
|---|---|---|
| Markdown | PDF, DOCX, HTML | Themed PDF with options.theme |
| HTML | PDF, DOCX, Markdown | Print-ready PDF output |
| DOCX | PDF, HTML, Markdown | High-fidelity via LibreOffice |
| DOCX | Extract and rebuild | |
| URL | visual or text mode |
Start on pay-as-you-go at signup. Upgrade anytime for included monthly conversions and lower overage rates.
Base URL: https://api-production-7d714.up.railway.app/v1
Synchronous conversion. Send input_format, output_format, and content (or url for URL→PDF). Returns the file directly.
Create an API key and Stripe checkout session. Key is inactive until payment is confirmed via webhook.
Upgrade plan with an authenticated request. Returns a Stripe Checkout URL for starter, pro, business, or payg.
{
"input_format": "markdown",
"output_format": "pdf",
"content": "# Title\n\nParagraph text.",
"options": {
"theme": "default",
"page_size": "A4",
"margins": "normal"
}
}
Register with your email. You'll receive your API key immediately and a Stripe checkout link to activate pay-as-you-go billing.
X-API-Key on every request