Export your data from AFFiNE

Open source docs, whiteboards and databases in one app, kept on your device and synced to AFFiNE Cloud or your own server if you like.

Ways out
3
Formats you get
3
Can move to
18 apps
Checked
24 Nov 2026
Runs
On your device
Works on
Windows, macOS, Linux, Web, Android, iOS
Website
affine.pro

AFFiNE export options

Green marks an open format, so any app can read it

Export a doc as Markdown

How
File

Steps

  1. Open the doc and select the three-dot menu at the top right.
  2. Go to Export, thenExport to Markdown.
  3. You get a .md file, or a zip with the Markdown and its images if the doc has any.

Watch out for

It's one doc at a time. There's no Markdown or HTML export for a whole workspace.

  • Images come along in the zip, but other files attached to the doc are left out.
  • Links to other docs point back into AFFiNE, not at other files you've exported.
  • Databases come out as plain tables, with no views.
  • Export to Snapshot and the desktop app's Full Backup only open in AFFiNE again.
Comes with it 4
Note text
Formatting
Databases and views
To-dos and reminders
Left behind 8
Attachments and images
Links between notes
Tags
Properties and metadata
Created and updated dates
Version history
Sharing and permissions
Canvases and whiteboards
Not sure 2
Embeds
Comments

Export a doc as HTML

How
File

Steps

  1. Open the doc and select the three-dot menu at the top right.
  2. Go to Export, thenExport to HTML.
  3. You get an .html file, or a zip with an index.html and its images if the doc has any.

Watch out for

It's one doc at a time.

  • Images come along in the zip, but other files attached to the doc are left out.
  • Links to other docs point back into AFFiNE, not at other files you've exported.
Comes with it 4
Note text
Formatting
Databases and views
To-dos and reminders
Left behind 8
Attachments and images
Links between notes
Tags
Properties and metadata
Created and updated dates
Version history
Sharing and permissions
Canvases and whiteboards
Not sure 2
Embeds
Comments

Print a doc to PDF

How
File

Steps

  1. Open the doc and select the three-dot menu at the top right.
  2. Go to Export, thenPrint and save it as a PDF from the print dialog.

Watch out for

It's not there for a doc open as a whiteboard.

Comes with it 2
Note text
Formatting
Left behind 0
Nothing we know of
Not sure 2
Attachments and images
Databases and views

Import into AFFiNE

Import Markdown files File · Markdown · Markdown with front matter

Steps

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

Watch out for

Images saved next to the files can't come along. Zip them up with the Markdown and use the zip import instead.

Keeps 3
Note text
Formatting
To-dos and reminders
Drops 1
Page and folder structure
Not sure 4
Attachments and images
Links between notes
Tags
Created and updated dates
Import a zip of Markdown and media files File · Markdown · Markdown with front matter

Steps

  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.

Watch out for

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.
Keeps 5
Note text
Formatting
Page and folder structure
Created and updated dates
To-dos and reminders
Drops 2
Tags
Properties and metadata
Not sure 2
Attachments and images
Links between notes
Import HTML files File · HTML
How
File

Steps

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

Watch out for

AFFiNE calls it experimental and warns some of your data may go missing.

Keeps 2
Note text
Formatting
Drops 1
Page and folder structure
Not sure 2
Attachments and images
Links between notes
Import a Word document File · Word document

Steps

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

Watch out for

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

Keeps 2
Note text
Formatting
Drops 0
Nothing we know of
Not sure 2
Attachments and images
Comments
Import a Notion HTML export in the web app File · Notion HTML export
How
File
Needs
  • Web app

Steps

  1. In Notion, export as HTML with Include subpages switched on.
  2. At app.affine.pro, select Import in the sidebar, then Notion (Experimental), and pick the zip.

Watch out for

Each page becomes a doc, and Notion's folders become folders in the sidebar. Page icons come along.

  • Databases become AFFiNE databases. Select, multi-select, number, checkbox, date and text columns keep their type, and the rest turn into text.
  • The desktop app reads the same zip far less well, so use the web app for this one if your export fits.
  • 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.
Keeps 7
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Databases and views
To-dos and reminders
Drops 0
Nothing we know of
Not sure 4
Properties and metadata
Created and updated dates
Comments
Embeds
Import a Notion HTML export in the desktop app File · Notion HTML export
How
File
Needs
  • Desktop app

Steps

  1. In Notion, export as HTML with Include subpages switched on.
  2. In AFFiNE, select Import in the sidebar, then Notion (Experimental), and pick the zip.

Watch out for

The desktop app strips each page down to plain text and images, so headings, lists, tables, databases and links between pages are lost.

  • Images come across, but other files in the zip aren't linked from any doc.
  • Each page becomes a doc, and Notion's folders become folders in the sidebar. Page icons come along.
  • The web app at app.affine.pro keeps a lot more, so use that instead if your export is small enough for it (32 MB and 250 pages at most).
  • The desktop app skips any file over 10 MB.
Keeps 2
Note text
Page and folder structure
Drops 9
Formatting
Attachments and images
Links between notes
Properties and metadata
Databases and views
Created and updated dates
To-dos and reminders
Comments
Embeds
Import a Notion Markdown & CSV export File · Notion Markdown & CSV export

Steps

  1. In Notion, export as Markdown & CSV with Include subpages switched on.
  2. In AFFiNE, select Import in the sidebar, then Notion (Experimental), and pick the zip.

Watch out for

AFFiNE only mentions HTML, but it spots the Markdown in the zip and reads that instead.

  • Databases don't become AFFiNE databases. The desktop app turns each CSV into a plain table in the page, and the web app keeps it as a file.
  • Folders become folders in the sidebar, and links between pages become links between docs.
  • 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.
Keeps 5
Note text
Formatting
Page and folder structure
Links between notes
To-dos and reminders
Drops 1
Databases and views
Not sure 2
Attachments and images
Properties and metadata
Import an Obsidian vault Folder · built for Obsidian · Markdown · Markdown with front matter

Steps

  1. Select Import in the sidebar, then Obsidian Vault (Experimental).
  2. Choose the top folder of your vault.

Watch out for

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.
Keeps 6
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
To-dos and reminders
Drops 6
Tags
Properties and metadata
Databases and views
Canvases and whiteboards
Plugins and their data
App settings
Not sure 2
Created and updated dates
Embeds
Import a Bear backup File · Bear backup
How
File

Steps

  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.

Watch out for

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.
Keeps 6
Note text
Formatting
Attachments and images
Page and folder structure
Created and updated dates
To-dos and reminders
Drops 1
Links between notes
Not sure 1
Tags
Import OneNote files File · OneNote notebook files
How
File
Needs
  • Desktop app

Steps

  1. In OneNote for Windows, export a section or notebook, or use the .one files it saves.
  2. In AFFiNE, select Import in the sidebar, then OneNote (Experimental), and pick a .one, .onetoc2 or .onepkg file.

Watch out for

Ink and handwriting are skipped, with a warning.

  • OneNote tags, to-do boxes included, don't come across.
  • Sections and section groups become folders, with a doc for each page. Tables come in as plain tables.
  • It takes one file at a time.
  • The desktop app skips any file over 10 MB.
Keeps 4
Note text
Formatting
Attachments and images
Page and folder structure
Drops 4
Handwriting and drawings
Tags
Created and updated dates
To-dos and reminders
Not sure 3
Links between notes
Version history
Embeds

Move from AFFiNE to another app

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

Bring your data into AFFiNE

Delete your AFFiNE data

  1. To delete a workspace, open its settings, select Delete workspace and type its name to confirm.
  2. To delete your account, open your account settings, select Delete your account from AFFiNE Cloud and type your email.
  • Deleting a synced workspace deletes it on this device and on the server.
  • Deleting your account wipes your personal space on the server, but not what's on your devices. Uninstall the app or clear your browser data for that.
  • If you own a team workspace, you'll have to delete it or hand it over first.

About this entry

Checked against the official docs on .

Suggest an edit Edit the file on GitHub Every change to this file

  1. Added See the change #55