Every Tool, Programmatically
The same markdown utilities you use in the browser — now available as a simple JSON API for pipelines, CI jobs, and your own products. Zero retention, fair pricing, generous free tier.
Fast
Sub-50ms response times for text-only endpoints, served from Cloudflare Workers at 300+ edge locations.
Private
Zero content retention. Your inputs are processed in memory, results are returned, and nothing is logged or stored.
Fair
Generous free tier (1,000 req/month). Paid plans start at $9/month with no per-request surprises.
Simple
Standard REST, JSON in, JSON out, an API key in the header, and OpenAPI 3.1 schema for every endpoint.
Planned Endpoints
Phase 3 will ship with 11 endpoints covering every tool in the Phase-1 and Phase-1b catalogues. Additional endpoints arrive as new tools ship in Phase 2.
| Method | Path | Description |
|---|---|---|
| POST | /v1/convert/md-to-html | Markdown → HTML with GFM + syntax highlighting |
| POST | /v1/convert/html-to-md | HTML → clean Markdown |
| POST | /v1/convert/md-to-plain | Strip markdown syntax, return plain text |
| POST | /v1/convert/md-to-json | Markdown → structured JSON AST |
| POST | /v1/convert/md-to-pdf | Markdown → PDF (Phase 1b) |
| POST | /v1/convert/md-to-docx | Markdown → DOCX (Phase 1b) |
| POST | /v1/convert/md-to-image | Markdown → PNG/JPG (Phase 1b) |
| POST | /v1/generate/toc | Generate Table of Contents from markdown |
| POST | /v1/generate/table | Generate markdown tables from CSV/JSON |
| POST | /v1/format | Format and normalize markdown |
| POST | /v1/analyze/word-count | Word / character / reading-time stats |
Example Request
Convert markdown to HTML in one curl command:
curl -X POST https://api.freemarkdowntools.com/v1/convert/md-to-html \
-H "Authorization: Bearer fmt_live_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"markdown": "# Hello\n\nThis is **bold**.",
"options": {
"gfm": true,
"sanitize": true
}
}'Response:
{
"html": "<h1>Hello</h1>\n<p>This is <strong>bold</strong>.</p>",
"meta": {
"input_chars": 27,
"output_chars": 45,
"duration_ms": 12
}
}Pricing
Plans are indicative — final prices may change before launch. Annual billing unlocks 2 months free on all paid tiers.
Free
For hobbyists and learning
- 1,000 requests / month
- 10 req / min
- All Phase-1 endpoints
- JSON + Markdown responses
- Community support
- Fair-use rate limits
- No credit card required
Developer
For side projects and small apps
- 50,000 requests / month
- 100 req / min
- All Phase-1 + Phase-1b endpoints
- PDF / DOCX / Image generation
- Webhooks for async jobs
- Priority email support
- Usage dashboard
Business
For production SaaS
- 500,000 requests / month
- 1,000 req / min
- Everything in Developer
- Batch processing
- 99.9% SLA
- Dedicated support channel
- Custom rate limits on request
Join the Waitlist
The API is shipping in Phase 3 (Q3 2026). Waitlist members get early access, 50% off for the first 3 months, and a direct line to shape the feature roadmap. Use the contact form with subject "API Waitlist" and tell us which endpoints you'd use first.
API Frequently Asked Questions
When does the API launch?
Phase 3 is slated for Q3 2026. We'll announce a firm date on the blog and email waitlist members 2 weeks ahead of launch.
Is there a free tier?
Yes — 1,000 requests / month forever, no credit card required. You can upgrade any time if you need more.
Do you log request content?
No. Cloudflare Logpush is configured to exclude request and response bodies. Our Workers process your content in memory and release it within seconds. We only log metadata (timestamp, endpoint, status, duration) for billing and debugging — never your markdown.
What formats does the PDF / DOCX / Image API support?
PDF uses Chromium (via Browser Rendering on Workers) for pixel-perfect output. DOCX uses a docx-templater engine. Image output supports PNG and JPG at 1x / 2x / 3x density.
Can I use the free tier in commercial products?
Yes, but at 1,000 requests / month the free tier is designed for hobby projects and evaluation. For production use, the Developer plan at $9/month is the intended tier.
Is there a self-hosted option?
Not currently. The JavaScript parsers in our browser tools are open-source (unified, remark, rehype, turndown) — you can use them directly in your own apps for Phase-1 conversions without calling our API.
What about webhooks?
The Developer and Business plans include webhook support for async jobs (e.g. batch PDF generation). Your endpoint receives a signed POST when a job completes.