A product of M² Designm2-design.net

Document conversionbuilt to ship

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.

11+ conversion paths
<1s typical sync response
up to 100,000 free conversions/mo
POST /v1/convert
# 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**."
  }'

Built for developers who ship

Drop-in document conversion without running LibreOffice, Playwright, or custom pipelines yourself.

Fast & synchronous

Convert documents up to 1MB in a single request. Get the file back immediately — no polling required.

🔑

Simple API keys

Authenticate with X-API-Key. Register once, complete Stripe checkout, and start converting.

📄

Quality output

PDFs with print styles, themed Markdown rendering, DOCX fidelity via LibreOffice, and URL-to-PDF capture.

📊

Usage-based billing

Monthly allowances per plan with metered overage. Stripe handles subscriptions and invoicing automatically.

🛡️

Rate limits & quotas

Per-key rate limiting and monthly conversion caps keep your integration predictable and costs under control.

🌐

URL to PDF

Pass any public URL and get a PDF — visual page capture or readable article text mode.

Every conversion you need

One endpoint, many format pairs. Send JSON with your content or a URL — receive the converted file as the response body.

Input Output Notes
MarkdownPDF, DOCX, HTMLThemed PDF with options.theme
HTMLPDF, DOCX, MarkdownPrint-ready PDF output
DOCXPDF, HTML, MarkdownHigh-fidelity via LibreOffice
PDFDOCXExtract and rebuild
URLPDFvisual or text mode

Plans that scale with you

Start on pay-as-you-go at signup. Upgrade anytime for included monthly conversions and lower overage rates.

Starter

$9/mo
1,000 conversions included
  • $0.01 per overage conversion
  • All format pairs
  • API key auth
Get started

Business

$99/mo
100,000 conversions included
  • $0.003 per overage conversion
  • High-volume workloads
  • Metered billing via Stripe
Get started

Pay as you go

$0.05/conversion
No monthly minimum
  • Default at registration
  • Activate via Stripe checkout
  • Perfect for side projects
Get started

Integrate in minutes

Base URL: https://api-production-7d714.up.railway.app/v1

POST /v1/convert

Synchronous conversion. Send input_format, output_format, and content (or url for URL→PDF). Returns the file directly.

POST /v1/auth/register

Create an API key and Stripe checkout session. Key is inactive until payment is confirmed via webhook.

POST /v1/billing/checkout

Upgrade plan with an authenticated request. Returns a Stripe Checkout URL for starter, pro, business, or payg.

Request body
{
  "input_format": "markdown",
  "output_format": "pdf",
  "content": "# Title\n\nParagraph text.",
  "options": {
    "theme": "default",
    "page_size": "A4",
    "margins": "normal"
  }
}