For those considering switching from Notion to Obsidian, here is a Python 3 script that converts your Notion export into an Obsidian friendly format.
When you run the N2O.py script, it will:
The script will leave your orginal Notion archive unmodified.
The resulting archive can be extracted and opened as, or added to, an Obsidian vault.
Out of the box, the export files that Notion provides do not migrate to Obsidian very well. All external links will work, but:
All of this is remedied by this script. Note however, that Notion comments do NOT appear to be included in their export files.
If you're interested, the full sequence of modifications needed to make your Notion export compatible with Obsidian can be found in the write-up found in the Methodology.md file in this git.
I’m happy to offer you this script and the conversion methodology. If you're able and inclined, a donation for the convenience and time savings would be genuinely appreciated. There's a couple donation links at the bottom of this page.
I estimate that anyone using the Methodology.md can convert their Notion export in a day or less of work. Without this guide, it would likely take several days of troubleshooting. If you’re a confident programmer, it may take you just a couple hours with the guide. I encourage everyone to go through the process. It is satisfying.
However, if your time is worth more spent elsewhere. Feel free to use the code and switch to Obsidian in mere seconds!
If you haven't already, you'll need to export your content from Notion.
N2O.py
and N2Omodule.py
are in the same directory.Python3 N2O.py
Time to import everything into Obsidian
Enjoy the shift to Obsidian!
If the instructions or code have been useful for you, please consider the time you've saved and treat me to half a lunch or so :) My hole-in-the-bucket Covid-19 era income would greatly appreciate it.
Here are some donation links for me: