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- On a Mac, go to File, thenBackup Notes...
- On iPhone or iPad, tap the more menu (⋮) at the top of the sidebar and choose Backup all notes.
- Save the .bear2bk file somewhere safe.
Import into AFFiNE
Import a Bear backup- In Bear, make a backup of all your notes.
- The file picker looks for .zip files, so rename the backup from .bear2bk to .zip.
- 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
Exporting from Bear
- Official docs bear.app/faq/backup-restore
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/blocksuite/affine/shared/src/utils/file/filesys.ts
- Evidence github.com/toeverything/AFFiNE/blob/v0.27.4/blocksuite/affine/widgets/linked-doc/src/transformers/bear.ts
- Evidence docs.rs/crate/affine_importer/0.1.2/source/src/planner/providers/bear.rs
Other ways to move from Bear to AFFiNE
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- On a Mac, select the notes (or a tag in the sidebar) and go to File, thenExport Notes...
- 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...
- Pick Markdown and where to save them.
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 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.
- Official docs bear.app/faq/export-your-notes
- Evidence bear.app/faq/export-your-tags
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- On a Mac, select the notes (or a tag in the sidebar) and go to File, thenExport Notes...
- 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...
- Pick Markdown and where to save them.
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 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.
- Official docs bear.app/faq/export-your-notes
- Evidence bear.app/faq/export-your-tags
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
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- Select the notes and go to File, thenExport Notes... on a Mac, or Export... from the more menu (⫶) on iPhone or iPad.
- Pick the format and where to save them.
Import into AFFiNE
Import HTML files- Select Import in the sidebar, then HTML.
- 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.
- Official docs bear.app/faq/export-your-notes
Importing into AFFiNE
AFFiNE calls it experimental and warns some of your data may go missing.
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- Select the notes and go to File, thenExport Notes... on a Mac, or Export... from the more menu (⫶) on iPhone or iPad.
- Pick the format and where to save them.
Import into AFFiNE
Import a Word document- Select Import in the sidebar, then Docx.
- 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.
- Official docs bear.app/faq/export-your-notes
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
- Move from Bear to Obsidian Built-in importer 6 carry over 1 lost 1 not sure
- Move from Bear to Craft Built-in importer 2 carry over 0 lost 5 not sure
Other ways into AFFiNE
- Move from Notion to AFFiNE Built-in importer 6 carry over 0 lost 6 not sure
- Move from Obsidian to AFFiNE Built-in importer 5 carry over 7 lost 2 not sure
- Move from Microsoft OneNote to AFFiNE Built-in importer 4 carry over 6 lost 3 not sure