Export and import
Export
File ▸ Export… (Ctrl+Shift+E) exports the whole collection or any part of it:
| Scope | What is exported |
|---|---|
| Entire collection | Every note (not the Trash). |
| Current note and linked notes | The open note and the notes within Depth links of it, following links in both directions: a subgraph. |
| Notes with tag | Notes with the tag, including nested tags (math includes math/algebra). |
The dialog shows how many notes, links and flashcards the scope contains. You can also export from the note list (right-click ▸ Export with linked notes…), from a note's ⋯ menu, from the graph (the export button exports the notes on screen) and from a graph node's menu.
Formats
| Format | File | Contents |
|---|---|---|
| ZettelApp archive | .zip |
Everything, including images: notes, typed links, link types (with their colours, line styles and arrow tips), flashcards, mind maps, the tag ontology. Re-import it into ZettelApp on any computer. Best for backups and moving vaults. |
| Markdown files | .zip |
One .md file per note with YAML front matter (id, title, tags, source link, dates, typed links, mind map) and [[wiki links]] between files. Links not written in the text are listed under Links as type:: [[Note]], and manual flashcards under Flashcards as Q:/A:. Images are in assets/. Opens in Obsidian and other Markdown editors. |
| Website | .zip |
A self-contained static website: an index with a graph overview, a tag index and one page per note, with links drawn in their link types' colours and line styles, mind maps and flashcards (answers revealed on click). No scripts; it works offline by opening index.html. Light and dark themes. |
| JSON | .json |
Structured data for scripts and other tools (images referenced, not included). |
| GraphML | .graphml |
The link graph for Gephi, yEd, Cytoscape or NetworkX, with titles, tags and dates on nodes and link types on edges (directed or not), with each type's colour, line style and arrow tip. |
| Graphviz DOT | .dot |
The graph as a Graphviz diagram, with link types coloured, labelled and styled: solid, dashed or dotted lines (Graphviz draws dash-dot and long-dash lines dashed) and each type's arrow tip; undirected types have no arrows. |
| Anki deck | .apkg |
The flashcards of the exported notes. See Anki. |
Exports are written to a temporary file and moved into place only when complete, so an interrupted export never leaves a half-written file. They run in the background, and Show in folder reveals the result in your file manager.
Mind maps also have their own export (PNG, SVG or FreeMind .mm) in the Mind map tab, and the graph
can be saved as a PNG image.
Import
File ▸ Import… accepts:
- ZettelApp archives (
.zip) and JSON exports; - Markdown files (
.md) or a.zipof Markdown files; - Evernote exports (
.enex); - File ▸ Import Markdown Folder… for a folder of Markdown files, such as an Obsidian vault.
- Other apps that export Markdown, such as Notion, Joplin, Bear or Logseq, import the same way.
What is kept:
- From ZettelApp archives and JSON: notes keep their IDs, typed links, flashcards, mind maps and images. Link types the vault doesn't have yet are added with their colours and styles; types it has keep their own. Importing the same archive twice skips notes that haven't changed. If an ID is already used by a different note, the import gets a new ID and the links are updated.
- From Markdown:
- the title comes from the front matter
title, the first# headingor the file name; - tags come from front matter
tagsand inline#hashtags; - the source link comes from
urlorsource, and the creation date fromcreated; [[wiki links]](including Obsidian's file-name links) andtype:: [[links]]become links;- images referenced with
or Obsidian's![[image.png]]are copied into the vault; - links to other Markdown files (
[text](Note.md), as Notion writes them), names listed underaliasesin the front matter and embedded notes (![[Note]]) become links; Notion's long IDs are left out of titles; - hidden folders such as
.obsidianand.trashare skipped; - ZettelApp's own Markdown export imports back with its typed links, flashcards and mind maps.
- the title comes from the front matter
- From Evernote: each note keeps its title, text (headings, lists, checklists, bold, italics, links and tables as plain rows), tags, source link and creation date. Pictures are copied into the vault; other attachments aren't, and their file names stay in the text. Encrypted text is left out.
Safety
Imported files are treated as untrusted:
- archive paths are checked, so files can't be written outside the import (no "zip-slip");
- archives with too many files, too much data or suspicious compression ratios (decompression "bombs") are refused;
- every field is type-checked and size-limited;
- images are re-verified by content;
- remote images and links to other places on disk are not imported.
A daily backup is made when a vault is opened, and you can make one any time with File ▸ Back Up Vault Now. See Privacy and security.