Move from Obsidian to AFFiNE
AFFiNE has an importer made just for Obsidian's export.
- Carries over 5
- Note text
- Formatting
- Attachments and images
- Page and folder structure
- Links between notes
- Lost 7
- Version history
- Tags
- Properties and metadata
- Databases and views
- Canvases and whiteboards
- Plugins and their data
- App settings
- Not sure 2
- Embeds
- Created and updated dates
How to move from Obsidian to AFFiNE
Export from Obsidian
Copy your vault folder- Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
- Go up to the top folder of your vault and copy the whole thing somewhere safe.
- Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
Import into AFFiNE
Import an Obsidian vault- Select Import in the sidebar, then Obsidian Vault (Experimental).
- Choose the top folder of your vault.
What to watch out for
Exporting from Obsidian
Wikilinks, embeds, highlights and %%comments%% are Obsidian's own syntax, so other apps may show them as plain text.
- Bases (.base files) only work in Obsidian, and canvases need an app that reads JSON Canvas.
- Plugins only run in Obsidian, so anything they add to a note is just raw text anywhere else.
- Sync's version history and File recovery snapshots aren't in the folder.
Importing into AFFiNE
Wikilinks become links between docs.
- Tags don't come across, from front matter or anywhere else. Inline #tags stay as plain text.
- From front matter it only reads the title, created and updated dates, favourite and trash.
- Canvases don't come across, and the .obsidian folder with your plugins and settings is skipped.
- In the desktop app, an embedded note turns into a link to it.
- The web app turns away an import over 32 MB, with any file over 8 MB, over 1,000 files or 250 docs, or with a zip inside the zip.
- The desktop app skips any file over 10 MB.
Where this comes from
Exporting from Obsidian
Importing into AFFiNE
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/web-limits.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/native-backend.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/modules/import/services/service.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/commit-service.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/blocksuite/affine/widgets/linked-doc/src/transformers/obsidian.ts
- Evidence docs.rs/crate/affine_importer/0.1.2/source/src/planner/providers/obsidian/mod.rs
Other ways to move from Obsidian to AFFiNE
Copy your vault folder , then Import a zip of Markdown and media files Same file format 3 carry over 8 lost 3 not sure
- Carries over 3
- Note text
- Formatting
- Page and folder structure
- Lost 8
- Version history
- Tags
- Properties and metadata
- Databases and views
- Embeds
- Canvases and whiteboards
- Plugins and their data
- App settings
- Not sure 3
- Attachments and images
- Links between notes
- Created and updated dates
Export from Obsidian
Copy your vault folder- Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
- Go up to the top folder of your vault and copy the whole thing somewhere safe.
- Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
Import into AFFiNE
Import a zip of Markdown and media files- Zip up the folder of Markdown files, with their images and files inside it.
- Select Import in the sidebar, then Markdown with media files (.zip), and pick the zip.
Exporting from Obsidian
Wikilinks, embeds, highlights and %%comments%% are Obsidian's own syntax, so other apps may show them as plain text.
- Bases (.base files) only work in Obsidian, and canvases need an app that reads JSON Canvas.
- Plugins only run in Obsidian, so anything they add to a note is just raw text anywhere else.
- Sync's version history and File recovery snapshots aren't in the folder.
Importing into AFFiNE
AFFiNE calls it experimental and warns you may lose some data.
- Folders become folders in the sidebar, and links to other .md files in the zip become links between docs. Wikilinks don't.
- From front matter it only reads the title, created and updated dates, favourite and trash. Tags and everything else are dropped.
- The desktop app skips a file, with a warning, if it holds HTML the importer won't take.
- The web app turns away an import over 32 MB, with any file over 8 MB, over 1,000 files or 250 docs, or with a zip inside the zip.
- The desktop app skips any file over 10 MB.
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/web-limits.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/native-backend.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/modules/import/services/service.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/packages/frontend/core/src/desktop/dialogs/import/commit-service.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/blocksuite/affine/widgets/linked-doc/src/transformers/markdown.ts
- Evidence docs.rs/crate/affine_importer/0.1.2/source/src/planner/providers/markdown.rs
- Evidence docs.rs/crate/affine_importer/0.1.2/source/src/planner/frontmatter.rs
- Evidence docs.rs/crate/affine_doc_loader/0.1.7/source/src/markdown/parser.rs
Copy your vault folder , then Import Markdown files Same file format 2 carry over 8 lost 4 not sure
- Carries over 2
- Note text
- Formatting
- Lost 8
- Version history
- Page and folder structure
- Properties and metadata
- Databases and views
- Embeds
- Canvases and whiteboards
- Plugins and their data
- App settings
- Not sure 4
- Attachments and images
- Links between notes
- Tags
- Created and updated dates
Export from Obsidian
Copy your vault folder- Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
- Go up to the top folder of your vault and copy the whole thing somewhere safe.
- Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
Import into AFFiNE
Import Markdown files- Select Import in the sidebar, then Markdown files (.md).
- Pick one or more .md files. Each one becomes a doc.
Exporting from Obsidian
Wikilinks, embeds, highlights and %%comments%% are Obsidian's own syntax, so other apps may show them as plain text.
- Bases (.base files) only work in Obsidian, and canvases need an app that reads JSON Canvas.
- Plugins only run in Obsidian, so anything they add to a note is just raw text anywhere else.
- Sync's version history and File recovery snapshots aren't in the folder.
Importing into AFFiNE
Images saved next to the files can't come along. Zip them up with the Markdown and use the zip import instead.
- Built-in importer
- Same file format
- Convert it first
- Carries over
- Lost
- Not sure
Move from AFFiNE back to Obsidian
There's no guide for the way back, but AFFiNE's exports still open in Obsidian. See where AFFiNE can go.
Other places Obsidian can go
- Move from Obsidian to Trilium Notes Built-in importer 8 carry over 5 lost 1 not sure
- Move from Obsidian to Anytype Built-in importer 7 carry over 6 lost 1 not sure
- Move from Obsidian to Joplin Built-in importer 6 carry over 7 lost 1 not sure
- Move from Obsidian to Notesnook Built-in importer 5 carry over 8 lost 1 not sure
- Move from Obsidian to Craft Built-in importer 4 carry over 3 lost 7 not sure
- Move from Obsidian to Bear Built-in importer 3 carry over 5 lost 6 not sure
Other ways into AFFiNE
- Move from Notion to AFFiNE Built-in importer 6 carry over 0 lost 6 not sure
- Move from Bear to AFFiNE Built-in importer 5 carry over 2 lost 1 not sure
- Move from Microsoft OneNote to AFFiNE Built-in importer 4 carry over 6 lost 3 not sure