When people leave Notion, most of them go to Obsidian. A 7-week analysis of r/Notion (793 posts, 1,768 comments) counted Obsidian in 201 posts — about five times the next destination. The same analysis found the number one reason people stay in Notion: databases, relations and formulas, mentioned 348 times.

Read those two numbers together and the shape of the problem appears. The exit is popular. What keeps people is the database. And the database is exactly what a file-based export loses first.

Obsidian's own importer documentation says it plainly: the .zip import "does not preserve Databases", and it recommends exporting from Notion as HTML, not Markdown, because the Markdown export "omits important data". The API route does keep databases (as Bases), but it needs a Notion integration token, an internet connection, and it imports only the primary view of each database.

So the ZIP that most people already have — Notion's "Markdown & CSV" export — is the route where the database is on its own. I got tired of hand-fixing those ZIPs, built a local converter for them, and then measured what it actually preserves. This is that measurement, including the parts that stay broken.

What is inside a "Markdown & CSV" export

If you have never opened one, here is the shape (all of this comes from Notion's export, before any tool touches it):

  • Every file name ends with a 32-character page ID: Project plan 1f0c9a…8d2e.md.
  • A page with child pages is a folder of the same name, with the page inside it.
  • Links are percent-encoded relative paths (Roadmap%20fedcba….md), sometimes ../, sometimes a https://www.notion.so/Page-title-<32 hex> URL.
  • Each database becomes one CSV plus one Markdown page per row. The CSV holds the properties; the row pages hold whatever was written inside each row.
  • Attachments sit next to the page that uses them, often with names like image.png.
  • Some links point at pages or files that Notion did not export at all. They are simply missing.

None of that is a bug in Notion. It is a file format with no database in it. A relation in a CSV is text — the names of the related pages, joined with commas. The connection itself does not travel; only the words do.

How I measured

I generated three exports shaped exactly like Notion's output, at three sizes, and ran the same conversion on each. The exports are synthetic (no real workspace data): a wrapper folder, 32-character IDs, nested pages, three databases with relation and rollup columns, attachments, title collisions, Windows-hostile characters, percent-encoded links, notion.so URLs, and a known number of links and pictures that point at files Notion never wrote.

Environment: a Linux container, 2 vCPU, Python 3.12.16, single process, no network.

small medium large
Pages 12 315 1,953
Databases / rows 1 / 4 3 / 156 3 / 744
Files written 13 318 1,956
Attachments copied 3 207 1,457
Internal links found 17 965 6,959
Broken page links left in place 1 15 110
Missing attachments 1 10 71
Dry run 0.19 s 0.20 s 0.55 s
Convert 0.14 s 0.24 s 0.91 s

The broken counts are not failures. They are links whose target was never in the ZIP — Notion's own omission — and the tool lists each one in its report instead of inventing a destination.

What the output actually contains

I did not only count files. I parsed every generated Markdown file and checked it.

Check medium (315 pages) large (1,953 pages)
32-character IDs left in any output path 0 0
Characters Windows cannot store 0 0
YAML frontmatter blocks that fail to parse 0 0
[[wiki links]] resolving to a file 868 / 868 5,911 / 5,911
Embedded attachments resolving to a file 210 / 210 1,476 / 1,476
Relation values kept 454 / 454 1,990 / 1,990
Rollup values kept 132 / 132 624 / 624
Second run (same export, same folder) 0 files written, 318 unchanged 0 files written, 1,956 unchanged

The relation row is the one I care about, so let me be precise about what "kept" means.

What happens to relations, exactly

Notion's CSV writes a relation as the titles of the related pages, separated by ", ". That is the entire relation that exists in the export. A converter can do one of three things with it:

  1. drop it (a plain CSV-to-table conversion usually does),
  2. keep it as text in a table,
  3. or write it somewhere structured that a Markdown tool can use later.

The converter does 2 and 3. Each database gets an index page with a Markdown table — every column, including relation and rollup columns — and each row keeps its properties as YAML frontmatter:

--- title: "Task 006" notion_id: "5f0c…" database: "Tasks" Status: "In progress" Priority: "Low" Due: "2027-01-15" Tags: - "links" - "cleanup" Sprint: "Sprint 03" Blocked by: - "Task 005" - "Task 003" Estimate: "3" --- 

Sprint is a relation with one value; Blocked by is a relation with several and becomes a list; Estimate is a rollup and keeps the number Notion computed. Across the 1,953-page export, 1,990 relation references and 624 rollup values arrived, and all of them were written — none were dropped, and none pointed at a page missing from the vault.

Now the limits, because they are real:

  • A relation stays a value, not a link. Sprint: "Sprint 03" is a string, not [[Sprint 03]]. Turning it into a link is a choice about your vault's structure, and the converter deliberately leaves that to you (a one-line Dataview query or a small script can do it later).
  • A rollup is a snapshot. It is the number Notion calculated at export time. Nothing recalculates it afterwards.
  • A title containing ", " is ambiguous in Notion's own CSV. If two related pages are called Design, v2 and Research, the cell reads Design, v2, Research and no tool can tell where one ends. That is the format, not the converter.

The dry run is the part I use most

Before writing anything, the tool reads the ZIP and prints what it found:

Pages: 315 of 315 pages will be converted Links: 712 of 965 repaired 15 broken Attachments: 210 found 10 missing Databases: 3 databases · 156 rows - Budget note 012 → Old%20brief%20263f807….md (missing_page) - Budget note 120 → missing.png (missing_asset) 

That is a 315-page workspace in a fifth of a second, and it tells you what Notion left behind before you touch your vault. The conversion then writes new files and keeps anything that already exists (or writes a (2) copy, or replaces it — your choice).

The rest of the constraints

  • Everything runs locally. The window is a local HTTP server bound to 127.0.0.1 with a per-run token, the conversion is standard-library Python, and the only network call is the licence check with Gumroad when you activate a key (the BOOTH edition makes no call at all).
  • No AI, no summarising, no rewriting of your prose. It renames files and resolves links.
  • Python 3.10+ and a launcher; no pip packages.

  • The unlicensed build converts 100 pages in total. Measured on the 315-page export: 100 pages plus 3 database index pages written, 215 pages left, and re-running the same export does not consume the allowance twice.

  • 318 automated tests, including an end-to-end run on a real-shaped export and both distribution builds.

What it does not do: rebuild Kanban, calendar or gallery views (the data comes across, the view does not), invent pages Notion never exported, or handle Notion's HTML export.

If you are moving this week

If your workspace is notes only, Obsidian's importer and a bit of patience will do. If it has databases you actually use, export "Markdown & CSV" and look at what comes out before you import: the CSVs, the 32-character names, the links that already point nowhere. Whatever you use to clean that up, check that your relation and rollup values end up somewhere you can query — that is the part that decides whether the move sticks.

The converter I measured here is Notion Export Rescue ($29 one-time, $69 for a 5-computer team licence; 25% off with POCKET25 on Gumroad). The Japanese edition is on BOOTH for ¥4,480 with no key and no page cap.

I build these tools. The measurements above are from my own test harness on generated exports, not from your workspace; the counts will differ, and the broken-link and missing-attachment numbers are properties of the export, not of the conversion.