#
Import from Notion
Obsidian lets you easily migrate your notes from Notion using the Importer plugin. This will convert your Notion data to durable Markdown files that you can use offline with Obsidian and many other apps.
Obsidian offers two ways to import your Notion data:
- API import preserves your entire workspace including Databases and formulas which are converted to Bases, but requires a Notion integration token and an internet connection.
- File import does not preserve Databases but does not require an API token or internet connection.
#
API import
#
Create a Notion API integration token
To access your Notion data via the API you need an integration token. This step takes about 2 minutes to complete.
The token is a long string of numbers and letters typically starting with ntn_... that will allow you to download your data from Notion.
- Sign into your Notion Integrations dashboard.
- Choose New integration.
- Give your integration a name, e.g. "Personal". Any name can be used.
- Choose the workspace you want to export.
- Click Save and continue to Configure integration settings.
- In the Configuration tab your API token is accessible in the Internal Integration Secret field.
- Select Show then Copy.
- Save the token to a safe place like your password manager.
Next, give your integration access to the Notion pages and databases you want to import.
- Go to the Access tab of the integration you just created.
- Click Edit access.
- Add the pages and databases that you want to import.
You can now convert your data using Obsidian Importer.
#
Import your Notion data via API
You will need the official Obsidian Importer plugin, which you can install here.
- Open Settings.
- Go to Community Plugins and install Importer.
- Enable the Importer plugin.
- Open the Importer plugin using the command palette or ribbon icon.
- Under File format select Notion (API)
- Under API token, paste your Internal Integration Secret from Notion.
- Click Load to choose the databases and pages you want to import.
- Review and edit the import options.
- Select Import and wait until import is complete
- You're done!
#
Limitations
API import is new
The Notion API importer is new. Because of the complexity of Notion workspaces, some edge cases may not have been considered. If you encounter issues with the conversion, submit a bug report so we can improve it.
Due to Notion API rate limits, importing large workspaces may take considerable time. Please be patient.
Due to limitations in the Notion API some data is not available or cannot converted:
- Only the primary view for each database is imported.
- Linked data sources are not imported: "Notion's API does not currently support linked data sources. When sharing a database with your integration, make sure it contains the original data source!"
Peoplefunctions:name()andemail()Textfunctions:style()andunstyle()
Additionally, Importer will make the following changes:
- Pages without child pages or databases will be imported as
[filename].mdinstead of[filename]/[filename].md. - Databases are always represented as folders named
[database name]with a[database name].basefile inside.
#
File import
File import is alternative way to import your Notion data. This method does not preserve Databases but it does not require an API token or internet connection.
#
Export your data from Notion
To prepare your data for import, you will need to export your entire workspace using Notion's HTML export format. We recommend that you do not use Notion's Markdown export as it omits important data. You must have admin access to the Notion workspace to export all workspace content.
- Go to Settings at the top of the Notion sidebar.
- Under Workspace select General.
- Find and select Export all workspace content.
- Under Export format select HTML.
- Choose Include everything.
- Enable Create folders for subpages.
- You will receive a
.zipfile via email or directly in the browser.
#
Import your Notion .zip file
You will need the official Obsidian Importer plugin, which you can install here.
- Open Settings.
- Go to Community Plugins and install Importer.
- Enable the Importer plugin.
- Open the Importer plugin using the command palette or ribbon icon.
- Under File format select Notion (.zip)
- Choose the
.zipfile with Notion files you want to import. It's recommended to import all your Notion at once so internal links can be reconciled correctly. - Optionally, select a folder for the import Your Notion pages and databases will be nested inside this folder.
- Enable Save parent pages in subfolders to keep the Notion structure. Note that in Notion you can write content in Folders, this is not possible in Obsidian and these pages will be added as a subpage under the folder.
- Select Import and wait until import is complete
- You're done!
#
Troubleshooting
If you run into issues while importing from Notion:
- Make sure you use HTML as the export format in Notion, not Markdown.
- If Obsidian appears to freeze during import, disable community plugins and try again.
Run into something else? Search the Importer repository to see if others have experienced it.
#
Importing large workspaces
If you are importing a workspace with multiple gigabytes of data, the export from Notion may contain nested .zip files. In this case you may see an import error message that looks something like this:
Import failed {id}.zip/{id}-Part-1.zip undefined.
If you see this error, you can unzip the file from Notion, and then import the nested Export-{id}-Part-1.zip files.