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
- Pages:
Meeting Notes 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d.md. The subpages and images of that page sit in a folder with the same name and code. - Databases:
Tasks 0f9e8d7c6b5a49382716051423324150.csv, often with a second…_all.csv, and a folder with one.mdfile per row. - Images and attachments: usually keep their own names inside the page's folder.
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
- Paths get too long. Each folder level adds its own 32-character code. Windows normally stops at about 260 characters for a full path, so the ZIP often fails to extract.
- Names are hard to read in a file manager or in another notes app.
Remove the codes by hand
- Extract the ZIP. On Windows, extract it to a short path such as
C:\n, or use 7-Zip, so the long paths fit. - Rename each file and folder: delete the space and the 32 characters before the extension.
Meeting Notes 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d.mdbecomesMeeting Notes.md. - Start with the deepest folders and work up. If you rename a parent folder first, the paths you noted for its contents change.
- If two names in one folder become the same, keep one and add a number to the other.
- Open every
.mdand.csvfile 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.