Migrate / Notion
Turn a Notion workspace into real documentation.
Export as Markdown, upload the ZIP, and nested pages become nested categories. The importer knows what a Notion export looks like, including the page ID Notion appends to every filename, and cleans it out of your titles.
Why people move
Notion is where documentation starts, not where it stays.
Almost nobody picks Notion as a docs platform. The docs end up there because the team already lived there, and then one day they need to be public, searchable, and versioned.
Public docs need to look public
A shared Notion page is a shared Notion page. Documentation on your own domain, in your own layout, reads as part of the product.
Search and SEO
Docs in your WordPress database get a real sitemap, structured data, and a search box you can point at Algolia when you outgrow the built in one.
Versions and release notes
Notion has page history. Documentation needs published versions readers can switch between, and a changelog they can subscribe to.
Structure
Nested pages become nested categories
Notion exports a folder per page that has children. The importer walks that tree, turns each folder into a category, and each Markdown file into a doc.
- Page IDs are stripped. That 32 character hex string Notion appends to every filename does not end up in your titles.
- Leading numbers go too. A file named 01 Getting Started imports as Getting Started, so numbered pages read cleanly.
- Folder names become category labels. Cleaned the same way, so your sidebar does not inherit Notion's filename noise.
Introduction 5e6f7890...md
Quickstart abcdef12...md
Core Concepts 34567890.../
Authentication 9876fedc...md
Hex page IDs removed from every title and category label.
The process
Export, tidy, upload
The tidying step matters more here than on other sources, because Notion filenames carry metadata you do not want in your URLs.
-
1
Export the page as Markdown In Notion, use Export with the Markdown and CSV option and include subpages. You get a ZIP with a folder per parent page.
-
2
Rename files if you care about URLs Titles are cleaned automatically, but slugs come from filenames, so the page ID ends up in the URL unless you strip it first. Worth ten minutes for a small export.
-
3
Upload the ZIP Pick the product it lands under, and optionally a version. Only md and mdx files are read, so anything else in the archive is ignored.
-
4
Review, fix images, publish Walk the navigation, re-add images from the export folder, then publish.
CSV files in the archive are ignored. Only md and mdx are read.
Fallbacks
Notion writes no frontmatter, so the importer infers
Sources like ReadMe put metadata at the top of every file. Notion does not, so everything below is derived from filenames and folders instead. Worth knowing which column you are relying on.
| What is needed | Where it comes from | Result |
|---|---|---|
| Title | Filename, with the page ID and any leading number removed | Clean |
| Category | Folder name, cleaned the same way | Clean |
| Slug | The raw filename | Keeps the page ID |
| Order | Nothing to read | Alphabetical within each folder |
| Excerpt | Nothing to read | Left empty |
| Published state | Nothing to read | Everything published |
The two bold rows are the ones that need a decision before you import. Rename files first if URLs matter to you, and import into a product you have not linked yet so nothing goes live before you have looked at it.
Before you commit
What lands cleanly, and what needs an hour
Notion was not built to be exported, so this is the source that needs the most tidying. All of it is doable in an afternoon, but none of it is automatic.
Comes across automatically
- Page content, headings, lists, and tables
- Titles, with the page ID stripped out
- Nested pages, as nested categories
- Code blocks with their language intact
- Leading numbers removed from names
Plan an hour for these
- Images break, not just move. Notion bundles images as files inside the ZIP rather than linking to a CDN. Those files are not imported, so the references point at nothing. Upload them to your media library and relink.
- Slugs keep the page ID. Titles are cleaned, slugs are not, so URLs end up with a 32 character hex string on them. Rename the files before importing if you care.
- Everything arrives published. There is no status to read, so nothing lands as a draft. Import into a product you have not linked yet.
- Databases are not imported. Only md and mdx files are read. Notion database CSVs in the archive are ignored, so any content living in a database needs rebuilding by hand.
- Notion blocks have no equivalent. Toggles, callouts, synced blocks, and embeds do not survive as Markdown. Check anything that relied on them.
Questions
Before you start
Which Notion export option do I use?
Markdown and CSV, with subpages included. That produces a folder per parent page, which is exactly what the importer expects. The CSV files it writes for databases are ignored.
Why do my URLs have a long code in them?
Notion appends a page ID to every filename. Titles are cleaned automatically, but slugs come from the filename as it is. Rename the files before importing, or fix the slugs afterwards.
What happened to my images?
They are in the ZIP, sitting next to the Markdown files, but the importer does not upload them. Add them to your media library and relink. This is the main manual job on a Notion migration.
Can I import a Notion database?
Not directly. Only Markdown files are read. If a database was holding documentation, the individual pages inside it export as Markdown and will come across, but the table view itself does not.
Will it overwrite anything?
Only if you tell it to. With overwrite off, docs whose slug already exists are counted as skipped and left alone. The ZIP is only ever read.
Can I try before I buy?
Export one section, zip it, and send it over. Notion exports vary a lot depending on how the workspace was built, so a real sample tells us more than a description would.
Next step
Send us a sample export.
Notion exports vary more than any other source, so a real sample is worth more than a description. There is a 14 day money back guarantee behind the purchase.
Notion is a trademark of Notion Labs Inc. and is not affiliated with Nahnu Plugins. Export options described here reflect publicly available information at the time of writing, and import behaviour reflects WP Super Docs version 1.5.75.