Notion
Trilium can import ZIP exports from Notion while preserving structure and formatting.
Import process#
In Notion, there are two ways to export data:
- To export a single page (and optionally its sub-pages):
- Select the page to export.
- Press the […] button at the top-right of the window and select Export.
- Ensure the following options are set:
- Export format: HTML
- Page content: Everything
- Include subpages: On
- Create folders for subpages: On
- Press the Export button.
- Wait for the download to finish.
- To export an entire workspace, press your user name badge at top-left and select Settings.
- In the left section, look for the Workspace category and select General.
- In the General settings page, look for the Export section and press the Export button corresponding to Workspace content.
- Ensure the following options are set:
- Export format: HTML
- Page content: Everything
- Include subpages: On
- Create folders for subpages: On
- Press the Export button.
- Wait for the download to finish. Depending on the size of your workspace it might take a while. You will get a downloadable copy via email if takes too long.
In Trilium Notes:
- In the Note Tree, select a note where to place the imported notes.
- From Note buttons, select Import from a service…
- Select Notion as the provider to import from.
- Upload the ZIP obtained in the previous step.
Supported features#
The following features are preserved by Trilium during the import process:
- Basic formatting (bold, italic, underline, strikethrough, headings, colors, highlights).
- Lists
- To-do lists
- Images and Attachments.
- Toggle sections
- Math Equations (inline or block)
- Link Previews
- Code blocks, with a best-effort attempt to restore the language.
- Mermaid Diagrams
- Links between other imported pages are converted to Internal (reference) links if they are part of the same import.
- Admonitions are preserved, including its emoji (added as part of the content).
Limitations#
Missing data from the import#
The following information is not preserved by the import because it is not available in the export so it cannot be restored:
- The order of the pages and sub-pages.
- Creation and modification of pages and sub-pages. For items in a collection, they are restored.
Collections#
Currently the import does not fully handle collections. Items that belong in a collection are properly positioned but the fields/metadata is not preserved and not turned into Collections.
Page attributes#
Currently page attributes are not preserved.
Cover images and page icon#
The page icon or emoji is not preserved, with created notes having the default icon. The cover image is not imported at all.
Reporting issues#
When importing your Notion workspace, you might find issues in how a note is imported; in that case consider reporting it.
When reporting such an issue make sure to provide the following information:
- A .zip export of the original Notion note (and children if applicable). This allows us to reproduce the issue.
- A screenshot with how it originally looked like before the import and how it looks after the import.