This repo contains a shell script wrapper and pre-built configuration files for
the excellent Yarle utility
to convert your Evernote .enex
files to Markdown documents.
Once you have your Evernotes in Markdown, you can then use them in something like Obsidian.
You'll need Node.js and npx
installed.
Your Evernote notebooks to be converted should be in the directory evernote-notebooks/
:
./convert-evernote-to-markdown.sh directory
directory
is the directory containing Evernote .enex
format exported notebooks.
I personally recommend evernote-notebooks/
for the name.
If Yarle is not installed, it will be installed automatically. In this case, you will need to run
it in sudo
mode.
If conversion is successful, you'll see a message like this:
Conversion finished: 12 succeeded, 0 skipped, 0 failed. Total notes: 12
...and your exported notes will be in the markdown-exports/
directory:
I used this script to convert several dozen Evernote notebooks totalling over 3,000 notes. All notes and attachments were exported successfully.
The only issue I had is that some of the paths to the attachments from the notes weren't quite right, and required me to edit the markdown to correct them. I personally considered it to be a minor inconvenience given how easy it was to get so many notes safely out of Evernote.
You can read about how I used this script to migrate 3,000 Evernotes from Evernote to Obsidian over on my blog or on Medium.
My name is Douglas Muth, and I am a software engineer in Philadelphia, PA.
There are several ways to get in touch with me:
Feel free to reach out to me if you have any comments, suggestions, or bug reports.