Skip to content

wormi4ok/evernote2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2e67587 · Mar 13, 2025
Mar 13, 2025
Dec 31, 2023
Mar 19, 2021
Dec 31, 2023
May 21, 2023
Dec 10, 2023
Mar 13, 2025
Sep 8, 2018
May 21, 2023
Apr 22, 2024
Mar 13, 2025
Mar 13, 2025
Mar 13, 2025
Dec 31, 2023
Dec 31, 2023
Mar 19, 2021
Mar 19, 2021
Oct 12, 2022

Repository files navigation

Evernote to Markdown converter

Build Status Docker Image Size Homebrew Code Climate Go Report Card PkgGoDev

Evernote2md is a CLI tool to convert Evernote notes exported in *.enex format to a directory with markdown files.

Key features:

  • Zero dependencies - download and run
  • Creates one markdown file per note ( with optional frontmatter e.g. for Jekyll )
  • Converts attachments to files ( two directories will be created: image for images and file for other attachments e.g. pdf files )
  • Retains correct links to attachments
  • Inserts Evernote tags in notes as text entries with customizable formatting
  • Shows highlighted Evernote text
  • Sets file created and modified date equal to the note attributes

Installation

Using Homebrew package manager:

brew install evernote2md

Manually:

Download the latest release for your OS.

Note for macOS users!

Please, check this wiki page if you have problems running the tool.

How to use

evernote2md (flags) [input] [outputDir]

input can be a file, a directory with exported files, or a glob pattern (like exports/My*.enex, for example).

If outputDir is not specified, ./notes is used.

An option --tagTemplate allows to change the way tags are formatted. See wiki article for more information.

Flag --help shows all available options.

To put exported notes in folders or structure in another custom way I recommend trying mdmv - Move Markdown files tool.

With Docker

docker run -t --rm -v "$PWD":/tmp -w /tmp wormi4ok/evernote2md:latest (flags) [input] [outputDir]

How to export notes from Evernote

Here is a link to an article in Evernote Help Center:

How to back up (export) and restore (import) notes and notebooks

Newer versions of the Evernote App do not allow selecting more than 50 notes at a time. Consider exporting entire Notebook instead.


Made with ❤ using IDE from JetBrains.

JetBrains