Drop in your Notion export ZIP to remove the long ID from every file and folder name. Page links and image paths are rewritten to match, with optional Obsidian wikilink output.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsClean Up a Notion Markdown Export Before You Move It
When you export from Notion as Markdown & CSV, each file and folder name ends with a 32-character hex ID, such as "Meeting Notes 1a2b3c4d5e6f78901a2b3c4d5e6f7890.md". Those names clutter an Obsidian vault, a Git repository or a blog's content folder.
This tool reads the ZIP, removes the ID from every file and folder name, and then rewrites the Markdown links and image paths so they point to the new names. Renaming by hand leaves the old paths inside your notes, which is what breaks the links. You download the result as a new ZIP.
Two options help with the move itself. You can convert links to Obsidian wikilinks ([[Page name]]), or add a title front matter block to each Markdown file for static site generators.
Handy in situations like these
Notion to Obsidian
Convert page links to [[wikilinks]] and image references to ![[embeds]], then copy the cleaned files into your vault.
Notion to a static site
Clean the file names and add a title front matter block, then drop the files into a Hugo, Jekyll or Astro content folder.
Backup before you cancel
Tidy an export you plan to keep long term, so file names and folders stay readable without Notion.
Markdown docs in a Git repo
Commit readable file names instead of names ending in a 32-character ID, with links that still work.
How to Clean a Notion Export ZIP in 5 Steps
- Drag your Notion export ZIP onto the upload area, or click to choose the file.
- Pick a link mode: keep standard Markdown links, or convert them to Obsidian wikilinks.
- Optionally turn on "Put all files in one folder" or "Add title front matter".
- Click "Clean up export". File names are renamed and links and image paths are rewritten.
- Review the counts, any unmatched links and the rename list, then click "Download cleaned ZIP".
Note: Before you run it, the tool shows the ZIP's file name and size so you can confirm you picked the right file.
What the Cleaner Does Not Change
- It is built for the Markdown & CSV export. In an HTML export, names are cleaned but links inside the HTML files are not rewritten.
- Only .md and .markdown files are searched for links. CSV files, images and other files are copied unchanged, with cleaned names.
- Front matter is added only to Markdown files that do not already start with a --- line. The title is taken from the cleaned file name.
- Turning on "Put all files in one folder" adds a number to duplicate names and discards the folder hierarchy.
- Your ZIP is processed in your browser's memory and is not sent to a server.
Before and After: File Names and Link Syntax
Examples of what the cleaner changes in a typical export.
| Item | Notion export | After cleaning |
|---|---|---|
| File name | Meeting Notes 1a2b3c4d5e6f78901a2b3c4d5e6f7890.md | Meeting Notes.md |
| Page link (Markdown mode) | [Meeting Notes](Meeting%20Notes%201a2b...7890.md) | [Meeting Notes](Meeting%20Notes.md) |
| Page link (Obsidian mode) | [Meeting Notes](Meeting%20Notes%201a2b...7890.md) | [[Meeting Notes]] |
| Image reference |  | ![[Meeting Notes/screenshot.png]] (Obsidian mode) |
Which link mode should you pick?
Use wikilinks for Obsidian. Use "Keep Markdown links" for blog engines and other tools that expect standard relative links.
Why Notion Exports Have Long Suffixes and Broken Links
How the exported names work, and what to check for each destination.
Removing the ID does not change your page content
The 32-character string at the end of an exported name is part of the file or folder name, not of your note text. The risk is renaming by hand: links and images inside the notes still use the old names, so they break. The cleaner renames the files and updates the links in the same pass.
Why same-title pages need extra care
Notion lets two pages share a title, which is likely why exported names carry an ID. Once the ID is removed, two pages can end up with the same name in the same folder. The cleaner adds a number to the later one, for example Notes (2).md, and the results panel shows how many collisions it resolved.
Standard Markdown links vs. Obsidian wikilinks
A standard link looks like [text](relative/path.md), and spaces in the path are written as %20. An Obsidian wikilink looks like [[Page name]] or [[Page name|text]] and needs no encoding. Pick wikilinks if the notes are going into Obsidian; pick Markdown links for anything that reads relative paths.
Moving to a static site generator
Hugo, Jekyll and Astro commonly read a front matter block at the top of each Markdown file, written as YAML between --- lines. Notion exports do not include one. The "Add title front matter" option inserts a title taken from the cleaned file name. You still need to add fields such as date yourself.
Mistakes That Break Links After a Notion Export
Importing files with the IDs still in the names
You copy the raw export into Obsidian or a Git repo, and every file name and URL ends in a 32-character string that is hard to read and search.
💡 See the solution▼
Renaming files by hand and breaking links
You delete the ID from the file names in your file manager, but the links and image paths inside the notes still use the old names. Links go dead and images disappear.
💡 See the solution▼
Forgetting that images live in subfolders
Notion stores a page's images in a folder named after the page. If you rename that folder but not the image paths in the page, the images no longer load.
💡 See the solution▼
Letting same-named pages overwrite each other
A script that only strips the ID can give two pages the same name, so one file overwrites the other and content is lost.
💡 See the solution▼
Keeping Markdown links in an Obsidian vault
Links that stay as relative-path Markdown links still work in Obsidian, but they are not wikilinks, so you may not get the link style you expect in your vault.
💡 See the solution▼
Questions About Cleaning a Notion Export
Q.Is it safe to remove the ID from Notion export file names?
A. Yes. The ID is a 32-character hex string added to the end of each exported file and folder name. The cleaner only changes names and the link targets that point to them. Your page text is not edited, apart from links and the optional front matter. Because links are rewritten along with the names, they keep pointing to the right files.
Q.Does it also fix page links and image paths?
A. Yes. It reads every Markdown file (.md and .markdown), finds links like [Page](Page%20ID.md) and image references like , and rewrites them to the new file paths. URL-encoded names such as %20 are decoded before matching. Links that start with http://, https://, mailto: or # are left as they are.
Q.Can I convert Notion links to Obsidian wikilinks?
A. Yes. Choose "Convert to Obsidian wikilinks" and links to other pages become [[Page name]], or [[Page name|Link text]] when the link text differs from the file name. Images become ![[path/to/image.png]] embeds. Choose "Keep Markdown links" if your destination expects standard relative links, such as a static site generator.
Q.Is my Notion ZIP uploaded to a server?
A. No. Unzipping, renaming, rewriting links and re-zipping all happen in your browser's memory, and the tool does not send the file anywhere. Very large exports depend on how much memory your browser can use.
Q.Are my subfolders kept?
A. By default, yes. The folder structure stays the same and only the names change. If you turn on "Put all files in one folder", every file goes to the top level. Files that end up with the same name get a number, such as "Notes (2).md", and the original folder hierarchy is lost.
Q.What happens to links the tool cannot match?
A. If a relative link points to a file that is not in the ZIP, the link is left unchanged and listed in the results under "Links not matched" (up to 10 are shown). Database views and links to pages outside the export are typical causes. Check the list and fix those links by hand.
Q.Does it work with an HTML export?
A. Only partly. It is built for the "Markdown & CSV" export. For an HTML export, file and folder names are cleaned, but the links inside the HTML files (href and src) are not rewritten and will break. Re-export as Markdown & CSV if you plan to move to Obsidian or a blog.
Q.What happens to CSV files and images in the ZIP?
A. Images, CSV files and other non-Markdown files are copied into the new ZIP unchanged, with cleaned names. Only the text of Markdown files is searched for links, so links stored inside a CSV are not updated.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.