π DocPatch Getting Started
Automated documentation migration engine. Transform legacy docs into modern formats with a single API call.
What is DocPatch?
DocPatch converts Markdown documentation between modern documentation frameworks. Transform your Markdown into Docusaurus, MkDocs, or GitBook format while preserving formatting, links, and metadata.
Individual Markdown documents convert in seconds via API. For larger migrations, use the API programmatically to batch-process your docs. It preserves metadata, links, and formatting throughout.
Supported Formats
Output Frameworks: Docusaurus, MkDocs, GitBook
Coming Soon (Q4 2026): Sphinx, Jekyll, HTML input support
Sign Up (Free)
Get your API key in 30 seconds β no credit card required:
Step 1: Sign Up
Get your free API key in 30 seconds. No credit card required.
Free API keys are valid for 14 days, and each free account can create one free replacement key. Paid plans’ keys do not expire.
Step 2: Get Your API Key
After signup, your API key appears on the dashboard. Copy it right away β use it as the x-api-key header on every API request.
Step 3: Start Converting Docs
Use the live widget below to test with sample docs, or call the API directly with your key.
Your First Migration
Let's migrate a single document to test the API. You can also just use the live widget above instead of calling the API directly.
Step 1: Prepare Your Document
Currently Supported:
- Input Format: Markdown only
- Output Frameworks: Docusaurus, MkDocs, GitBook
- Preserves: Formatting, links, metadata, nested sections
Coming Soon (Q4 2026): Sphinx and Jekyll framework support, HTML/TXT input conversion, Confluence API integration.
If your docs are in another format (Word, PDF, HTML, Confluence, Notion), export or convert them to Markdown first β DocPatch works with any valid Markdown source.
Step 2: Make Your First API Call
Send a POST request to the DocPatch API with your markdown. This is the real, live endpoint β same one the widget above calls:
curl -X POST https://api.docpatch.dev/v1/docpatch/migrate \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"markdownContent": "# Getting Started\n\nThis is a sample doc...",
"targetFramework": "docusaurus"
}'
Step 3: Get Your Result
The call is synchronous β no batch ID, no polling, no webhooks. You get your converted document directly in the response:
{
"status": "success",
"migratedDocument": "---\ntitle: Getting Started\n---\n\n# Getting Started\n\nThis is a sample doc..."
}
Usage Limits
Each call converts one document. Your plan sets how many you can convert per month, not how many fit in a single request:
Growth ($39/mo): 500 conversions/month
Scale ($149/mo): 5,000 conversions/month
Common Use Cases
Migrating from Confluence or Notion
Export your Confluence or Notion workspace as Markdown (built-in export feature). Use DocPatch to convert to your target framework (Docusaurus, MkDocs, GitBook, etc.) and publish. Batch processing via API for large migrations.
Framework Normalization
Your docs are scattered across Docusaurus, MkDocs, and GitBook. Use DocPatch to normalize everything to a single framework for consistency and easier maintenance.
Documentation Standardization
Consolidate Markdown from multiple sources into a single format. DocPatch preserves links, code blocks, tables, and formatting while adapting to your target framework's conventions.
Pricing
| Plan | Docs/Month | Cost | Best For |
|---|---|---|---|
| Free | 100 | $0 | Testing, small projects |
| Growth | 500 | $39/month | Growing teams, monthly migrations |
| Scale | 5,000 | $149/month | Enterprise, frequent migrations |
Free API keys are valid for 14 days, and each free account can create one free replacement key. Paid plans’ keys do not expire.
No overage charges. When you reach your monthly quota, the API returns a 402 status. Your quota resets monthly; upgrade anytime to increase your limit.
Troubleshooting
Q: "Invalid API Key" Error
A: Your API key is shown once, on your dashboard right after you verify your email, and we can’t display it again. If it’s lost, enter your email in the sign-up form on this page and we’ll email a one-time sign-in link to create a replacement. Otherwise check for extra spaces; API keys are case-sensitive.
Q: My Key Stopped Working: “API key expired”
A: Free API keys are valid for 14 days from the day they are issued, and calls with an expired key return 401 “API key expired”. We email a reminder during the key’s first week (you can unsubscribe from reminders). To keep going, enter your email in the sign-up form on this page to create your one free replacement key. After that replacement expires, upgrade to a paid plan to keep using DocPatch. Paid plans’ keys do not expire.
Q: My Request Is Taking a Long Time
A: Each API call converts one document synchronously β there's no batch mode, job ID, or polling yet. If a single call is hanging longer than a minute or two, contact support rather than waiting.
Q: "Unsupported Format" Error
A: DocPatch currently only accepts Markdown input. If your source is in another format (Word, PDF, HTML, Confluence, Notion), please convert or export it to Markdown first.
Q: How Do I Update My API Key?
A: Enter your email in the sign-up form on this page. We email a one-time sign-in link (valid for 30 minutes) that lets you create a new key. The new key replaces the old one immediately, so update every app that uses it. Free accounts can create one free replacement key; once it is used, upgrade to a paid plan to keep going. Paid plans can replace their key at any time.
Next Steps
- Read the full API reference: Full endpoint documentation with all parameters and response codes.
- Batch mode & webhooks: on the roadmap β not live yet. Every call today is a single, synchronous conversion.
- OpenAPI spec: /docs/docpatch/openapi.json (OpenAPI 3.0, for client generators and API tools).
- Usage tracking: call
GET /v1/usageon the auth service with yourx-api-keyheader for your remaining quota and a call-count breakdown by endpoint. A full self-serve dashboard is still on the roadmap. - Join our Slack community: Connect with other developers using DocPatch.