Script to convert MS OneNote for Windows 10 notebooks to directories of markdown files. This can be helpful when moving from MS OneNote to Joplin.
- Select and copy all the notes in the OneNote notebooks you would like to convert to markdown files
- Save each notebook in a single directory as its own text file with the notebook name as the name of the text file
- Make sure Python 3 is installed on your machine
- Open command prompt and run
pip install win32_setctime
andpip install pytz
- run
python converter.py '/path/to/your/text/files'
- Onenote notes are now converted to markdown files in the supplied path
- To import the files to Joplin. Open Joplin and go to File->Import->MD - Markdown Directory and select the directories you would like to import
- The modified and created dates of the output markdown files are set as the created date of the OneNote notes
- This script was only tested on Microsoft OneNote for Windows 10 and Python 3.7