What Is an ENEX File?
An ENEX file is what Evernote creates when you export notes as an Evernote XML file. ENEX is short for Evernote Export and .enex is the extension. One ENEX file can contain a single note or a whole notebook, with each note's title, text, tags, dates and attachments saved inside it.
Evernote Help offers ENEX and two kinds of HTML, single-page and multi-page, as export choices. ENEX is the choice that Evernote itself can import again. Evernote's developer blog says a note exported as ENEX is complete and can be imported back into Evernote exactly as it was exported, with its attached files, recognition information and tags.
Evernote Help gives four reasons to export: to create backup copies, to download all your content, to merge the contents of two Evernote accounts and to move notes from a personal account to a business account. Evernote's developer blog lists backup, migrating data between accounts and archiving notes you do not want in your account.
ENEX is plain XML text, so tools other than Evernote can read it. Joplin and Obsidian import .enex files, and a Windows converter can save the notes as PDF, Word or Markdown files without Evernote installed. The next sections cover how the file is built, what it leaves out and how to open one.
ENEX File Quick Facts
| Extension | .enex |
| Short for | Evernote Export |
| File type | XML text file of exported Evernote notes |
| Created by | The Evernote desktop app, using the Export command |
| Note body | Saved as ENML inside CDATA in each note |
| Attachments | Saved as base64 text in a resource element |
| Format definition | The Evernote Export DTD. Evernote's 2013 developer post describes version 3 and a newer export can name version 4 in its DOCTYPE line |
| Import into Evernote | File > Import in the Evernote desktop app, dragging the .enex into a notebook or double-clicking it |
| Where imported notes go | A new notebook named Imported notes on Windows or Import followed by the file name on Mac |
| Notes per export | 100 notes, or entire notebooks, according to Evernote Help |
| Size of one file | Capped at a value from 300 MB up to 2 GB, chosen when you export |
| Export from | Evernote desktop app on Windows and Mac, not Evernote Web |
| Opens in | Evernote, Joplin and Obsidian by import, a text editor as raw XML, a viewer or a converter |
What an ENEX File Contains
An ENEX file has one root element and one note element for each exported note. The root element is named en-export. Its attributes record the export date, the app that made the export and that app's version. Evernote's developer blog documents this structure in a post about the XML export format.
Inside each note element, the title element contains the note's title and the content element contains the body in its raw ENML form, wrapped in CDATA. ENML is Evernote's own markup for note text. The created and updated elements contain the dates, and each tag applied before the export gets its own tag element.
A note-attributes element can add the author and, when they exist, latitude, longitude and altitude. Each attachment becomes a resource element with the file as base64 text in data, its type in mime and sometimes a width and a height. A resource-attributes element can add the file name, the source URL and a timestamp when the capturing device saved them. In the note body, an en-media tag marks where each attachment appears.
<!-- a simplified .enex file, values are examples --> <en-export export-date="20261201T090000Z" application="Evernote" version="10.0"> <note> <title>Weekly plan</title> <content><![CDATA[<en-note>Call the supplier.</en-note>]]></content> <created>20261128T080000Z</created> <updated>20261129T101500Z</updated> <tag>work</tag> <resource> <data encoding="base64">iVBORw0KGgo...</data> <mime>image/png</mime> </resource> </note> </en-export>
Any tool that reads this structure can rebuild the notes. That is how Joplin, Obsidian and Windows converters open an ENEX file without Evernote.
What Is the Difference Between ENEX and ENML?
ENEX is the container file and ENML is the markup of one note body inside it. ENML is short for Evernote Markup Language. An ENEX file has one content element for each note and each content element contains that note's ENML inside CDATA.
Why Is an ENEX File So Large?
An ENEX file is large because every attachment is saved inside it as base64 text. Base64 turns every 3 bytes into 4 characters, as RFC 4648 specifies, so an attachment takes about one third more space in ENEX than the original does. A notebook full of PDFs and photos makes a large export, and the size setting in Evernote only caps one ENEX between 300 MB and 2 GB.
Can You Edit an ENEX File?
Evernote's developer blog advises developers to avoid creating or changing notes by editing ENEX files, because typos and incorrect formatting can introduce errors. A text editor is fine for reading the raw XML. Evernote and the Evernote API are the safer ways to create or change notes.
What an ENEX File Leaves Out
An ENEX file is a copy of your notes, not a copy of Evernote. Evernote's developer blog says ENEX files do not represent how notes are saved inside the Evernote service or its apps.
An ENEX file has no notebook element, so a note does not record which notebook it came from. Evernote Help says an import keeps your notes and note titles but not your notebook structures. If you want to keep notebooks apart, export each notebook as its own file.
The elements Evernote documents include no parent for a nested tag and no earlier version of a note. Each tag is saved as a plain tag element on the note, and a note is saved as it is at the moment of the export. Links from one note to another usually stop working outside Evernote, because they point to Evernote itself.
The export also depends on what you choose. Evernote Help says you check or uncheck attributes like tags and author before you export, and these are saved as metadata in the file.
How to Open an ENEX File
An .enex file opens in five ways, depending on whether you want to keep using Evernote, move to another app or only read the notes.
1. Evernote. Evernote imports the ENEX files it exported. In the Evernote desktop app, select File > Import, select the .enex and select Open. Evernote Help says you can also drag it into a notebook or double-click it, and that tags are imported with the notes.
Evernote puts imported notes in a new notebook named Imported notes on Windows or Import followed by the file name on Mac, and you can move them from there. Evernote Web has an Import page under Settings, and Evernote Help recommends the desktop app for imports. This is the right choice when you move notes between Evernote accounts, and the guide on how to merge two Evernote accounts gives the full steps.
2. Another notes app. Joplin and Obsidian import .enex files. The guides on Evernote to Joplin and Evernote to Notion give the steps for those two apps. A comparison of apps that import ENEX files lists sixteen apps. Notion Help lists Evernote among the apps Notion imports from and does not list .enex among the files it imports directly. If you plan to move to Obsidian, the guide on Evernote to Obsidian explains what to check after the import. For OneNote, the guide on migrating Evernote to OneNote covers the methods that work today.
3. A browser viewer. The online Evernote viewer opens an .enex file in a browser tab, so you can read the notes without installing anything. Univik has a video of this method.
4. A Windows converter. Univik ENEX Converter opens .enex files on a Windows PC without Evernote. It loads a single file or a whole folder. Each note can be saved in PDF, DOCX, DOC, Markdown, HTML or TXT format or in the format of six note apps.
5. A text editor, for the raw XML only. Because the file is XML, a text editor shows it. You can read the title, the tags and the dates, but the note body appears as ENML markup and each attachment appears as a long block of base64 text. This helps a developer who inspects the structure. It does not help someone who wants to read the note.
Univik video, 2 minutes 9 seconds: opening an .enex file in a browser with the online Evernote viewer.
How to Create an ENEX File in Evernote
You create an ENEX file with the Evernote desktop app. Evernote Help says the desktop app is the only place to export, and Evernote Web has no Export command. Its export article gives the same steps for Windows and Mac.
- Start Evernote on a Windows PC or a Mac.
- Select a notebook or the notes you want to export.
- Right-click and select Export.
- Select ENEX as the file format.
- Check or uncheck the attributes to include, like tags and author.
- Select Export. Evernote saves the file to the desktop of your computer.
Each Evernote export can include 100 notes at a time, or you can export entire notebooks. Evernote Help says free users can export their content, so a paid subscription is not needed. For ENEX, you set a cap for each file from 300 MB up to 2 GB. If an export stops or reports an error, the guide on how to export notes from Evernote covers the other export choices, and the page on Evernote failed to export notes covers the errors.
ENEX vs HTML Export
Evernote Help offers ENEX and two kinds of HTML. The three differ in what they make and in whether Evernote can read the result again.
| Export choice | What Evernote makes | Evernote can import it again |
|---|---|---|
| ENEX | An XML file, with a maximum size you choose for each file | Yes |
| Single-page HTML | One HTML file with all the notes, plus one folder of resources | No |
| Multi-page HTML | One HTML file for each note, one resource folder and an index that links the files | No |
ENEX is the choice for a backup you can restore, for a move to another notes app and for a conversion. HTML is the choice for reading the notes in a browser with no notes app. If you only have the .enex file, you can convert ENEX to HTML on a Windows PC. Evernote's 2013 developer blog says Evernote cannot import notes exported as HTML.
Is an ENEX File Safe to Open?
An ENEX file is XML text and not a program. Opening it in a text editor does not start anything, so it is not a risk. What deserves care is what the notes contain.
An ENEX file keeps your notes in readable form. If the notes contain private or work material, keep it on your own PC and prefer an offline tool over an upload site you do not know.
Double-clicking an ENEX file imports its notes into Evernote, according to Evernote Help. If you do not know who made a file, open it in a viewer first so its notes are not added to your Evernote account.
Attachments inside an ENEX become ordinary files when a tool extracts them. Handle each one like any download from outside, and scan it before you open it.
Common Problems with .enex Files
| Problem | Cause and fix |
|---|---|
| The file opens as lines of code | ENEX behaves this way by design. It keeps each note body as ENML markup inside CDATA, so a text editor shows markup. Open the file in a notes app or a viewer to read the note. |
| A long block of random letters and numbers appears | ENEX shows an attachment this way. It saves each attachment as base64 text in a resource element. A viewer or converter turns it back into the picture or file. |
| The .enex file is much larger than the notes | ENEX saves every attachment inside it as base64 text, and base64 makes an attachment about one third larger than the original. Export a smaller notebook or set a lower size cap, down to 300 MB, so each ENEX stays easier to open. |
| A text editor freezes or lags on a big .enex file | A text editor may struggle because each attachment is one very long base64 block inside the XML. Open the file in a notes app, a viewer or a converter instead. |
| Notebook names are missing after an import | An ENEX file has no notebook field, so Evernote puts imported notes in a new notebook named Imported notes on Windows or Import followed by the file name on Mac. Export each notebook as its own ENEX, then move the notes from the new notebook. |
| Windows does not know how to open .enex | With Evernote installed, double-clicking an .enex file imports it, according to Evernote Help. Without Evernote, Windows asks which app to use. Import the file into a notes app, or open it with a viewer or a converter. |
ENEX File Questions
Sources for This Page
The export steps, the 100-note limit, the 300 MB to 2 GB size cap, the reasons to export and the HTML choices come from Evernote Help, in its article about exporting notes and notebooks. The import steps, the double-click import and the names of the notebook for imported notes come from Evernote Help, in its article about importing notes and notebooks. The structure of the file comes from the Evernote blog post named How Evernote's XML export format works, published on 8 August 2013. That post describes the older version 3 definition, so the element list on this page follows it and a newer Evernote release may add elements. The list of files Notion imports directly comes from Notion Help.