Skip to content

Clean up a Notion export

Notion's Markdown & CSV export names every page and folder after the page title plus a 32-character ID, such as Project plan 1a2b3c….md, and its internal links point at those names. Drop the ZIP here and you get the same pages back with plain names and links that still work.

The ZIP is opened and rewritten in this browser tab. No file is uploaded.

Loading the cleaner…

How to use it

  • Export from Notion. For the whole workspace, open Settings → General → Export all workspace content. For one section, open its top page and choose ⋯ → Export. Pick Markdown & CSV and switch on Include subpages.
  • Drop the ZIP here. If Notion split a big export into several parts, drop all the parts together.
  • Pick the link style. Markdown links ([Plan](Project%20plan.md)) work in most editors. Wiki links ([[Project plan]]) suit Obsidian and Logseq.
  • Download the clean ZIP. It comes with a report of every file renamed, every link fixed and every link that points outside the export.

What it changes, and what it leaves alone

  • File and folder names: the trailing 32-character ID is removed. When two pages in one folder have the same title, the second becomes Title (2).
  • Links between pages: every link to a file in the export is rewritten to the new name, including links to images and attachments and links to a heading (#section).
  • Database CSVs: renamed like the pages. A cell that holds a path to a page in the export gets the new path.
  • Callouts: Notion exports callouts as HTML, because Markdown has no callout. You can keep them as they are or turn them into quotes.
  • Left alone: the text of your pages, links to other websites, and links back to notion.so, which the report lists so you can check them.

Why the IDs are there

The ID tells apart pages that share a title, and Notion writes every internal link with those exact names. That's why renaming files by hand breaks the links. The cleaner renames and rewrites in one pass.

The IDs make paths long, too. Windows can't open paths over 260 characters by default, so a deep page tree may fail to unzip. Notion's own fixes are to untick Create folders for subpages when exporting, or to unzip with a tool such as 7-Zip. Shorter names from the cleaner help as well.

What no export carries

A cleaner can fix names and links. It can't add back what the export never held:

  • Database views. Notion exports one view per database, as a CSV. Boards, calendars, filters and sorts are not in the file.
  • Formulas and rollups. They arrive as their last values, not as working fields.
  • Comments. A Markdown & CSV export has none. Notion's HTML export can hold page and block comments.

Moving a team to Airsurf? Skip this step

If the export is for a move to Airsurf, you don't need to clean it. Airsurf's Notion import takes the ZIP as it is, up to 5 GB, and keeps the page tree and the links between pages. Better still, connect Notion or use a token: then the import reads Notion directly and brings comments with their authors, people, and databases with their relations, rollups and formulas.

Every import ends with a report that marks each page, row, database and person as imported, converted, skipped or failed, with the reason. The import only reads from Notion, so nothing changes there. Step-by-step setup is in How to migrate from Notion.

Docs, Projects, Tables and the rest are free for the whole team, with 2 GB of storage shared by the team. Imported files count towards it. See Pricing.

Questions

Yes. There's no account and no limit on how often you use it.

No. The ZIP is read and rewritten in your browser, and the clean ZIP is made there too. Once the page has loaded, the cleaner works offline.

No, only with Markdown & CSV. If you exported HTML to move to Airsurf, upload that ZIP to Airsurf's import as it is: HTML keeps the most.

Up to 2 GB in one go on a desktop browser. For a bigger workspace, export one top-level section at a time.

Yes. Choose Wiki links, unzip the clean ZIP into your vault folder, and the links between pages work.

No. It only works on the file you downloaded.

Notion is a trademark of Notion Labs, Inc. Obsidian is a trademark of Dynalist Inc. Windows is a trademark of Microsoft Corporation.