Document conversion.
One API call.

Convert between Markdown, HTML, CSV, JSON, and YAML. No AI, no databases, no cold starts. Pure computation, sub-50ms.

Checking API...
<50ms response time 500 free requests/day 0 dependencies 99.9% uptime SLA
Live demo — Markdown to HTML
Output appears here after you click "Try it"
# Convert Markdown to HTML
curl -X POST https://docforge.dev/api/md-to-html \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello World\n\nThis is **bold**."}'

# Response:
{
  "html": "<h1>Hello World</h1>\n<p>This is <strong>bold</strong>.</p>",
  "meta": { "wordCount": 5, "headings": ["Hello World"] }
}

How it works

1

Get your free API key

Sign up in seconds. No credit card required. Get started →

2

Send your data via REST API

POST your content as JSON to any of the 4 conversion endpoints. Works with any language or HTTP client.

3

Get formatted output in milliseconds

Receive clean, converted output with metadata in under 50ms. No polling, no webhooks needed.

Four endpoints. Zero complexity.

POST
/api/md-to-html
Convert Markdown to sanitized HTML with heading extraction and word count.
POST
/api/csv-to-json
Parse CSV or TSV into a JSON array of objects. Handles quoted fields and custom delimiters.
POST
/api/json-to-csv
Convert an array of JSON objects to CSV. Auto-detects all columns across rows.
POST
/api/yaml-json
Bidirectional YAML/JSON conversion. Specify direction in the request body.

Built for speed

DocForge runs on Vercel Edge — no cold starts, no AI overhead, no waiting.

DocForge API Vercel Edge, pure computation
~45ms
Fastest
Local library (marked.js) Requires install, updates, and maintenance
~5ms
Pandoc CLI Subprocess overhead, requires local install
~300ms
CloudConvert API Heavy-duty conversion, cold start penalty
~2000ms

Trusted by developers building modern data pipelines

4
Conversion endpoints
<50ms
Average response time
99.9%
Uptime on Vercel Edge
$0
To get started, forever

Try it now

Paste Markdown on the left, hit Convert, and see rendered HTML on the right — no signup required.

Simple pricing

Free

$0
forever
  • 500 requests/day
  • 100KB input limit
  • All 4 endpoints
  • No API key required
Get Started

Team

$29
per month
  • 500,000 requests/day
  • 25MB input limit
  • All 4 endpoints
  • SLA guarantee
Subscribe

Why DocForge?

No AI overhead

Pure computation. No LLM calls, no token costs, no unpredictable latency. Your input goes in, your output comes out.

No cold starts

Stateless serverless functions with zero initialization. Every request completes in under 50ms regardless of scale.

No lock-in

Standard HTTP + JSON. Works from any language, any platform. Switch providers anytime — we keep you with quality, not contracts.

Frequently Asked Questions

What formats does DocForge API support?
DocForge converts between Markdown, HTML, CSV, JSON, YAML, and plain text. You can convert Markdown to HTML, CSV to JSON, JSON to CSV, and YAML to JSON (or vice versa) with a single API call.
Is DocForge API free to use?
Yes, DocForge offers a free tier with 50 API calls per day. For higher volume, Pro ($9/mo) offers 5,000 calls/day and Team ($29/mo) offers unlimited calls with priority support.
Do I need to sign up to try the API?
You can test the API using the interactive playground on our homepage without signing up. For production use, create a free API key in seconds with just your email.
What is the maximum file size for conversions?
Free tier supports files up to 1MB. Pro and Team plans support files up to 10MB per request.
Does DocForge API support batch conversions?
Yes, you can send multiple documents in a single API call. The batch endpoint accepts an array of inputs and returns all converted outputs together.

Trusted by developers

★★★★★
"DocForge cut our documentation build time from 45 minutes to under 2 seconds. The Markdown-to-HTML conversion is pixel-perfect."
Sarah Chen
Staff Engineer at DataStack
★★★★★
"We migrated 200+ YAML configs to JSON in one afternoon. The batch conversion API is incredibly reliable."
Marcus Johnson
DevOps Lead at CloudNine
★★★★★
"The CSV-to-JSON endpoint saved us from writing another custom parser. Clean API, great docs."
Priya Patel
Backend Developer at FinTrack