Markdown β Notion in 60 Seconds
Send Markdown to Notion via API in under a minute. Copyβpaste examples for cURL, Node, and Python, plus practical examples.
Product
Back up your Notion content, sync to static sites, or track changes in Git. Convert any Notion page to clean Markdown (notion2markdown) with a single API call.
Transform your Notion content into portable, version-controlled Markdown:
Two simple steps to start exporting:
1. Get Your Mark2Notion API Key
Sign up free β’ 100 requests/month included
2. Connect Notion in the Dashboard
Visit dashboard.mark2notion.com and click "Connect Notion" to authorize access to your workspace. No integration tokens or manual page sharing needed.
curl -X POST "https://api.mark2notion.com/api/notion-to-markdown" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"pageId": "https://notion.so/Your-Page-Title-abc123def456"
}'
π Getting the Page URL or ID: Copy it from your Notion URL: https://notion.so/Page-Title-[PAGE_ID_HERE]
{
"status": "success",
"data": {
"markdown": {
"parent": "# My Page\n\nContent here..."
},
"pageId": "abc123..."
}
}
Access parent content with data.markdown.parent
{
"status": "success",
"data": {
"markdown": {
"parent": "# Main Page\n...",
"Child Page 1": "## Content...",
"Another Child": "## More..."
},
"pageId": "abc123..."
}
}
Child pages are separate properties named by their title
Iterate over all pages including children:
// JavaScript example
Object.entries(result.data.markdown).forEach(([title, content]) => {
console.log(`Page: ${title}`);
console.log(content);
});
All Your Notion Content, Perfectly Preserved
Every block type converted to clean, standard Markdown.
Can't find the answer you're looking for? Check the API documentation or reach out to customer support.
100 free exports per month. No credit card required.
Learn how to integrate Mark2Notion into your automation workflows, handle complex scenarios, and get the most out of our API.
Send Markdown to Notion via API in under a minute. Copyβpaste examples for cURL, Node, and Python, plus practical examples.
Product
Turn any n8n workflow into formatted Notion pages. Includes copyβpaste HTTP node configs for Convert and Append endpoints.
Guides
Turn any Make.com workflow into formatted Notion pages. Includes detailed guide for Convert and Append endpoints.
Guides
Overcome Zapier's native Notion limitations. Send markdown tables, deeply nested content, and large text blocks reliably.
Guides
Send markdown to Notion via API without wrestling with complex block JSON. Handles tables, nested lists, and long content automatically.
Guides