Launching DocConvert — document conversion as a REST API
Converting documents between Markdown, HTML, DOCX, and PDF shouldn't require running LibreOffice yourself. DocConvert does it in one API call.
Every developer who has needed to convert documents has hit the same wall. You want to turn a Markdown file into a PDF, or convert a DOCX to HTML. The standard answer is to run LibreOffice in headless mode, spin up a Playwright instance for URL capture, or stitch together a fragile pipeline of CLI tools and pray it works in production.
DocConvert is the alternative: a single REST endpoint that accepts your content or a URL, your target format, and returns the converted file in the response body. No infrastructure to manage, no polling loop, no setup beyond an API key.
What it converts
DocConvert handles 11+ conversion paths across four formats:
- Markdown → PDF, HTML, DOCX
- HTML → PDF, DOCX, Markdown
- DOCX → PDF, HTML, Markdown
- URL → PDF — visual page capture or readable article mode
Responses are synchronous for files up to 1MB — you send a POST request, you get the file back immediately. No job IDs to poll.
How it works
Register with your email and you get an API key. Authenticate with X-API-Key in your request header. That's the entire integration surface. Stripe handles billing — monthly plans start at $9/mo, with pay-as-you-go available at $0.01 per conversion.
The free tier includes up to 100,000 conversions per month, which covers most individual projects and side builds without spending anything.
Why we built it
DocConvert came out of a recurring need across M² Design projects. Document conversion kept appearing as a dependency — and the existing options were either too heavy to self-host, too unreliable at scale, or priced for enterprise. Building it as a proper API product made more sense than rebuilding the same pipeline every time.