Why do Notion export files have long codes in their names?

The 32-character code is the page ID. Notion adds it to every file and folder name so that pages with the same title do not overwrite each other.

Updated November 15, 2026

What the names look like

In Notion you can have two pages called "Notes" side by side. In a folder on your computer you cannot. The ID keeps each file name unique.

Why the codes cause trouble

Remove the codes by hand

  1. Extract the ZIP. On Windows, extract it to a short path such as C:\n, or use 7-Zip, so the long paths fit.
  2. Rename each file and folder: delete the space and the 32 characters before the extension. Meeting Notes 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d.md becomes Meeting Notes.md.
  3. Start with the deepest folders and work up. If you rename a parent folder first, the paths you noted for its contents change.
  4. If two names in one folder become the same, keep one and add a number to the other.
  5. Open every .md and .csv file and fix the links, as described next.

Why links break if you just rename

Pages point to each other by file name. A link inside a page looks like this:

[Roadmap](Projects%200f9e8d7c6b5a49382716051423324150/Roadmap%20aa11….md)

The path is URL-encoded, so a space is written as %20, and it contains the ID of the folder and the ID of the page. Images use the same kind of path. So do cells in the database CSV files. When you rename a file or a folder, every link that goes through it still has the old name, and the link or image stops working. Each link has to be edited to the new name, in the same encoded form. A search-and-replace that deletes every 32-character code gets close, but it misses the pages you had to number because their names collided.

The faster way

ExportTidy does this for the whole export in your browser: it removes the ID from every file and folder name and rewrites every link and image path to match. Nothing is uploaded. It is free for the first 25 pages and $9 one-time for all of them.

Tidy my export