OneNote Md Exporter is a console application running on Windows that exports your OneNote notebooks in different markdown formats.
This tool is usefull to :
- evaluate or migrate to an alternative Knowledge Management Software like Joplin, Obsidian or other softwares based on Markdown format
- backup your OneNote Notebooks in an interoperable and open file format
The tool is easy to install and use, and can produce better results than other OneNote export methods.
Requirements
- Windows >=10
- OneNote >= 2013, OneNote for Windows (from the Windows store) is not supported
- Word >= 2013
Getting started
- Download the last release of OneNoteMdExporter from the Releases page
- Extract the content of the Zip archive
- Launch OneNote and be sure that notebooks to export are loaded
- Export your notebooks :
- Start
OneNoteMdExporter.exe
- Select the Notebook to export
- Select the export format
- [Optional] Edit advanced settings
- Go take a coffee ☕
- At the end of the export the export folder is open in Windows file explorer
Command line is supported, run OneNoteMdExporter.exe --help for instructions.
Markdown
Joplin Raw Directory
Features and limitations
| Export format: |
Markdown |
Joplin |
| Hierarchy of sections |
✅ Folder hierarchy |
✅ Notebook hierarchy |
| Page ordering inside a section |
🔴 Ordering based on md filename |
✅ Order preserved |
| Page hierarchy |
✅ Page prefix or folder prefix |
✅ |
| Notebook internal link (onenote://) |
✅ * |
✅ * |
* Cross-notebooks links and links to sections are removed
| All formats : |
|
| Attachment |
✅ |
| Image |
✅ |
| Simple table |
✅ as markdown |
| Complex table |
✅ as HTML* |
| Folded paragraphs |
✅ |
| Font color |
✅ as HTML* |
| Background color |
✅ as HTML* |
| Text tags (task, star…) |
✅ Converted into emoticons |
| Drawing |
🟠 Flattened as image |
| Password protected section |
🟠 Lost unless unlocked before export |
| Handwriting |
🔴 Lost |
* Support of the feature requires a mardown editor that supports HTML (like Joplin and Obsidian)
FAQ
Technical characteristics
- DotNet 10 self-contained console application
- Export pages as DocX files and translate them in Markdown using PanDoc
- Offline : no dependency to Microsoft cloud
- Rely on OneNote and Word apps (based on Interop APIs)
- Pre-processing stage of OneNote page XML structure
- Post-processing stage based on Regex to fix formatting issues
Licence
Released under the GPL, version 3.
This software carries no warranty of any kind. Some data can be lost during the export process. I recommend to review your notes after export and keep a backup of your OneNote notebooks just in case.
Pandoc licence terms
OneNote Md Exporter uses PanDoc universal markup converter.
Pandoc is available at https://github.com/jgm/pandoc
Pandoc is released under the following licence terms, full licence details can be found on the pandoc site.
© 2006-2021 John MacFarlane ([email protected]). Released under the GPL, version 2 or greater. This software carries no warranty of any kind.
Build sources
Contribute
Bugs and feature requests can be reported under: https://github.com/alxnbl/onenote-md-exporter/issues.
You can contribute by adding an new feature or add translations. See this page for more details.
Support
I developed this tool on a voluntary basis, but if you like my work you can buy me a ☕.
评论