Export Notion Wiki to Markdown for AI RAG
Recursively extract a public Notion company wiki or knowledge base into clean, full-page Markdown files and JSON with embedded databases for AI agents and RAG pipelines.
Input
Output fields
Sign up on Apify or log in
The Notion Page, Wiki & Database Scraper - Markdown, JSON & RAG Actor is ready to run with the inputs already set for "Export Notion Wiki to Markdown for AI RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Export Notion Wiki to Markdown for AI RAG" task
The Notion Page, Wiki & Database Scraper - Markdown, JSON & RAG Actor will start running based on the input automatically. You can also change all the input fields, like 🌐 start urls, 📄 max pages, and more, to match your specific use case.
Receive the "Export Notion Wiki to Markdown for AI RAG" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, record type, page url, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Export Notion Wiki to Markdown for AI RAG" task via API.

Integrate "Export Notion Wiki to Markdown for AI RAG" into your workflow
Connect "Export Notion Wiki to Markdown for AI RAG" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The Export Notion Wiki to Markdown for AI RAG task emits one complete Markdown record per Notion page so you can apply your own text splitter or store full documents, instead of pre-split chunks.
The Export Notion Wiki to Markdown for AI RAG task converts headings, code blocks, callouts, toggles, LaTeX equations, and inline Notion databases into clean GitHub-flavored Markdown.
The Export Notion Wiki to Markdown for AI RAG task crawls child Notion pages recursively using crawlSubpages and maxDepth so an entire documentation tree is exported in one run.