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

Green marks an open format, so any app can read it
  1. Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
  2. Go up to the top folder of your vault and copy the whole thing somewhere safe.
  3. Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
  1. Select Import in the sidebar, then Obsidian Vault (Experimental).
  2. 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

Checked against the official docs on .

We work this route out from the Obsidian and AFFiNE entries, so if something's wrong, the fix goes in one of those.

Edit the Obsidian entry Edit the AFFiNE entry

Other ways to move from Obsidian to AFFiNE

2 more routes
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
  1. Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
  2. Go up to the top folder of your vault and copy the whole thing somewhere safe.
  3. Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
  1. Zip up the folder of Markdown files, with their images and files inside it.
  2. 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.
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
  1. Right-click a note and choose Reveal in Finder on a Mac, or Show in system explorer elsewhere.
  2. Go up to the top folder of your vault and copy the whole thing somewhere safe.
  3. Skip the hidden .obsidian folder inside it unless you want your settings and plugins too.
  1. Select Import in the sidebar, then Markdown files (.md).
  2. 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

Other ways into AFFiNE