# OneNote **This page describes a method to migrate via EverNote Legacy, but this app is no longer available/working.** ## Prep Onenote notes for best compatibility * Remove Onenote Tags and replace with Emoji if possible (Onenote Tags will get imported into trilium as an image which clutters the Trilium tree somewhat) * Make sure to use Onenote headings where applicable (These will be carried over correctly into Trilium) * Remove extra whitespace in Onenote (Whitespace seems to be more noticible in Trilium, so removing it now will make it look nicer in trilium) * If possible, try to avoid very long Onenote pages. Trilium works best with shorter concise pages with any number of sub or (sub-sub...) pages. * Make sure numbered lists don't have unusual spaces between items in the list (Sometimes the numbered list will start at 1 again in Trilum if there is an extra space in the list in OneNote). ## Migration Procedure ### Import into Evernote from OneNote: * Install [Evernote Legacy](https://web.archive.org/web/20230327110646/https://help.evernote.com/hc/en-us/articles/360052560314). Current versions of Evernote do not have this functionality. (Requires Evernote account, but import works without internet connection - be sure to NOT sync notes to Evernote!). * In evernote navigate to File > Import > Onenote > Notebook > Section > OK If exporting all sections at a time, they will not be grouped in folders - they will all be added to a single folder, but the order will be kept, so you can re-group into folders after importing to Trilium ### Export from Evernote * Right click on the created notebook in Evernote and choose "Export Notes…" * Use the default export format of .enex ### Cleanup enex file (optional) * If the Onenote header (that is at the top of each Onenote page) is not desired, you can use the following regex to remove them in a text editor like VsCode: Find (using regex): `.