Replies: 2 comments 5 replies
-
Just a caveat Be careful with this process. I did some exporting from OneNote via OneNoteMDExporter and something in one of the exported files didn't agree with Trilium and corrupted the database. It took me forever to figure out what was going on. To be honest, it was a blessing as a lot of the stuff I had in OneNote was OBE (Overcome By Events). Cheers, |
Beta Was this translation helpful? Give feedback.
-
A status update: I've imported about a thousand pages into Trilium and have mostly left Onenote behind. There will be 10 to 15% onenote usage indefinitely for those activities that a) work with other people still in Onenote, and b) Onenote is still easier for capturing copy-paste while citing source from webpages, Word, Outlook, etc... I used the Onemore Addin and it's Archive or Export functions to create html files, and did some cleaining on those zips using a Trilium-py python script I hacked together (ref), and then imported using Trilium's built-in import. I cleaned up each note manually. I had spent a few weeks trying to script the cleanup but there were so many edge cases I got demotivated and drowned in the effort. I now think this was for the better anyway -- because in addition cleaning up the formatting I also reviewed and sometimes updated the content. I have some good stuff in there! It was good to refresh and re-enjoy that. And also: some bad stuff that I got great pleasure out of deleting. ; -) |
Beta Was this translation helpful? Give feedback.
-
In few places we've talked about how to migrate or port content from Microsoft OneNote to Trilium. This discussion thread is to give a central location to coordinate and branch off from. I'll edit this top post wiki style to serve as an index to the various places.
TLDR: The fastest, easiest, and most solid means I've found so far is to use the Onemore Addin and it's Archive or Export commands: https://onemoreaddin.com/commands/File%20Commands.htm, and then Trilium's standard import from zip or folder. There are some warts. Page dates and times are not respected for example.
OneNote sample pack ON to Trilium - (link should work with any Microsoft account. OneNote to Trilium, a notebook holding a variety of pages and content types curated from my personal notes, collected together to use as conversion/migration testing data (or it will be, as I trawl through my horde and lift out representative sorta-shiny bits).
Powershell https://github.com/meichthys/onenote-html-export - worked in 2021 but drift in underlying Powershell versions and MS interop assemblies means downgrading powershell to make work (ref). Still useful as research.
Using Evernote Legacy as a bridge Migrate from OneNote to Trilium zadam/trilium#1013 (comment). Contains advice on prepping notes for transfer that are useful no matter what mechanism is used.
A discusion on handling the noise attached images make in the table of contents: Importing html with images creates note folders, uploading or pasting images does not #527
...
Edits:
2024-10-28 - ON to Trilium archive export; link to image handling discussion
2025-04-13 - ON to Trilium archive import results
Beta Was this translation helpful? Give feedback.
All reactions