Move from Bear to AFFiNE

AFFiNE has an importer made just for Bear's export.

Carries over 5
Note text
Formatting
Attachments and images
Created and updated dates
To-dos and reminders
Lost 2
App settings
Links between notes
Not sure 1
Tags

How to move from Bear to AFFiNE

Export from Bear

Back up all your notes
How
File
  1. On a Mac, go to File, thenBackup Notes...
  2. On iPhone or iPad, tap the more menu (⋮) at the top of the sidebar and choose Backup all notes.
  3. Save the .bear2bk file somewhere safe.

Import into AFFiNE

Import a Bear backup
How
File
  1. In Bear, make a backup of all your notes.
  2. The file picker looks for .zip files, so rename the backup from .bear2bk to .zip.
  3. Select Import in the sidebar, then Bear (.bear2bk) (Experimental), and pick the file.

What to watch out for

Exporting from Bear

Locked notes stay encrypted in the backup, so only Bear can open them, and only with their password.

Importing into AFFiNE

In the desktop app, any line starting with # and no space is read as a tag and taken out of the note. That catches ## headings too, so use the web app.

  • Tags become AFFiNE tags, and folders too, with nested tags as nested folders. The web app only picks up tags on the last few lines of a note, so tags anywhere else stay as text.
  • Links between notes stay as text, and notes in the trash are skipped.
  • The desktop app removes every == from the note, so highlights lose their colour, and any == in code goes too.
  • 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 Bear and AFFiNE entries, so if something's wrong, the fix goes in one of those.

Edit the Bear entry Edit the AFFiNE entry

Other ways to move from Bear to AFFiNE

4 more routes
Export notes as Markdown , then Import Markdown files Same file format 2 carry over 0 lost 5 not sure
Carries over 2
Note text
Formatting
Lost 0
Nothing we know of
Not sure 5
Attachments and images
Links between notes
Tags
Created and updated dates
To-dos and reminders

Export from Bear

Export notes as Markdown
How
File
  1. On a Mac, select the notes (or a tag in the sidebar) and go to File, thenExport Notes...
  2. On iPhone or iPad, long-press a tag, or swipe right with two fingers to select notes and tap the more icon (⫶), then choose Export...
  3. Pick Markdown and where to save them.

Import into AFFiNE

Import Markdown files
How
File
  1. Select Import in the sidebar, then Markdown files (.md).
  2. Pick one or more .md files. Each one becomes a doc.

Exporting from Bear

Exporting a tag turns its nested tags into folders.

  • On a Mac, whether tags stay in the text depends on Keep tags during export, under Bear, thenPreferences, thenGeneral.

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.

Export notes as Markdown , then Import a zip of Markdown and media files Same file format 2 carry over 1 lost 4 not sure
Carries over 2
Note text
Formatting
Lost 1
Tags
Not sure 4
Attachments and images
Links between notes
Created and updated dates
To-dos and reminders

Export from Bear

Export notes as Markdown
How
File
  1. On a Mac, select the notes (or a tag in the sidebar) and go to File, thenExport Notes...
  2. On iPhone or iPad, long-press a tag, or swipe right with two fingers to select notes and tap the more icon (⫶), then choose Export...
  3. Pick Markdown and where to save them.
  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 Bear

Exporting a tag turns its nested tags into folders.

  • On a Mac, whether tags stay in the text depends on Keep tags during export, under Bear, thenPreferences, thenGeneral.

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.
Export as HTML, Word, PDF or ePub , then Import HTML files Same file format 2 carry over 0 lost 5 not sure
Carries over 2
Note text
Formatting
Lost 0
Nothing we know of
Not sure 5
Attachments and images
Links between notes
Tags
Created and updated dates
To-dos and reminders

Export from Bear

Export as HTML, Word, PDF or ePub
How
File
Needs
  • Bear Pro
  1. Select the notes and go to File, thenExport Notes... on a Mac, or Export... from the more menu (⫶) on iPhone or iPad.
  2. Pick the format and where to save them.

Import into AFFiNE

Import HTML files
How
File
  1. Select Import in the sidebar, then HTML.
  2. Pick one or more .html files. Each one becomes a doc named after the file.

Exporting from Bear

When you export several notes as HTML on a Mac, switch on HTML Links in the save panel so the links between them work, and base64 to keep photos inside each file.

Export as HTML, Word, PDF or ePub , then Import a Word document Same file format 2 carry over 0 lost 5 not sure
Carries over 2
Note text
Formatting
Lost 0
Nothing we know of
Not sure 5
Attachments and images
Links between notes
Tags
Created and updated dates
To-dos and reminders

Export from Bear

Export as HTML, Word, PDF or ePub
How
File
Needs
  • Bear Pro
  1. Select the notes and go to File, thenExport Notes... on a Mac, or Export... from the more menu (⫶) on iPhone or iPad.
  2. Pick the format and where to save them.

Import into AFFiNE

Import a Word document
How
File
  1. Select Import in the sidebar, then Docx.
  2. Pick a .docx file. It becomes one doc.

Exporting from Bear

When you export several notes as HTML on a Mac, switch on HTML Links in the save panel so the links between them work, and base64 to keep photos inside each file.

Importing into AFFiNE

It's one file at a time. AFFiNE turns it into HTML with mammoth first, then imports that.

  • Built-in importer
  • Same file format
  • Convert it first
  • Carries over
  • Lost
  • Not sure

Move from AFFiNE back to Bear

There's no guide for the way back, but AFFiNE's exports still open in Bear. See where AFFiNE can go.

Other places Bear can go

Other ways into AFFiNE