Skip to main content

evernote2md

Introduction

This is a simple command line tool that can be used to extract journal entries from Evernote and turn them into a collection of Markdown files. In this tool's case the Markdown collection is built so it can easily be used as an Obsidian Vault.

Note that I wrote this tool with a very specific job in mind, for myself, so there are a couple of hard-coded things going on inside it (especially when it comes to some tidying up of tags). I may turn such things into configuration options in the future, but keep this in mind and be prepared to modify the code to taste if you have a use for this.

Installing

pipx

The package can be installed using pipx:

$ pipx install evernote2md

Homebrew

The package is available via Homebrew. Use the following commands to install:

$ brew tap davep/homebrew
$ brew install evernote2md

Usage

Getting ready to use

The first thing you will need to do is create an export of your Evernote notebook. I honestly can't remember the method, but it's whatever results in you having a zip file full of HTML files and directories containing attachments.

Assumptions for the "Vault"

As mentioned earlier, this tool assumes that you're going to be making an Obsidian Vault with the resulting Markdown. With this in mind the tool makes the following assumptions:

  • You wish to have a YYYY/MM/DD folder hierarchy for the entries.
  • You prefer to have all attachments held in a attachments folder below the location of the entry the attachments are for.

These are my preferences, if yours differ it should be simple enough to modify the code to taste (or, if what you prefer seems like it could be a reasonable configuration option, create an issue in the repo and tell me all about it).

Create the target "Vault"

Create a directory where the "Vault" will be created. Note that evernote2md creates all directories and files within this directory.

Perform the conversion

With all the above done and in mind, run the tool like this:

evernote2md evernote-data markdown-vault

where evernote-data is the path to the directory that holds all of the extracted Evernote files, and where markdown-vault is the directory you created that will be the Vault.

Getting help

If you need help please feel free to raise an issue.

Metadata

Release files for evernote2md 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evernote2md 1.0.0
File Size Uploaded Provenance Actions
evernote2md-1.0.0.tar.gz 31.2 kB Without provenance Details for evernote2md-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evernote2md 1.0.0
File Interpreter ABI Platform Actions
evernote2md-1.0.0-py3-none-any.whl Python 3 none any Details for evernote2md-1.0.0-py3-none-any.whl

Total release size: 61.7 kB

Release files / evernote2md-1.0.0.tar.gz

Download URL evernote2md-1.0.0.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
218d7745b46d010bffb29fb6de1b9ccf0c8b8931adb0a092fb20afaa05312e7d
BLAKE2b-256 checksum
How to use checksums
df09e6dc733b792f4d8b062dff2e9900fd279b4f8815cbbd8f3108ca022e0261
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / evernote2md-1.0.0-py3-none-any.whl

Download URL evernote2md-1.0.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f73e07dfa9c6d5c4b74ebb69718b8247100631bb1730461ee12373b8af7ded49
BLAKE2b-256 checksum
How to use checksums
589320f7ac053d9ad4c26e33b25295fc2611759036b8b40e4e57fd427e1340df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for evernote2md 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page