Export your data from Trilium Notes

An open source app for building a big tree of notes, kept in a database on your computer or on a server you run yourself.

Ways out
4
Formats you get
4
Can move to
19 apps
Checked
22 Nov 2026
Runs
On your device
Works on
Windows, macOS, Linux, Web

Trilium Notes export options

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

Export a branch as HTML

How
File

Steps

  1. Right-click the top note of what you want in the tree and choose Export...
  2. Under What to export pick This note & all descendants, then pick HTML under Format.
  3. Select Export to save a zip with an HTML file for each note and a folder for each note with children.

Watch out for

Labels and relations are only in the zip's !!!meta.json, which only Trilium reads.

  • Only each note's modified date comes out, as the file's date. Created dates and revisions are only in a database backup (Options, thenBackup, thenBackup now), which only Trilium opens.
  • Protected notes only come out if you've unlocked them first, and then they're in plain text. Otherwise you get an empty note called [protected].
  • Links to notes outside the branch won't work, and a note in two places comes out once, with a stub pointing to it from the other.
  • Canvases come out as an SVG picture plus their drawing data in JSON.
Comes with it 8
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Created and updated dates
To-dos and reminders
Canvases and whiteboards
Left behind 4
Properties and metadata
Version history
Sharing and permissions
App settings
Not sure 1
Embeds

Export a branch as Markdown

How
File

Steps

  1. Right-click the top note of what you want in the tree and choose Export...
  2. Under What to export pick This note & all descendants, then pick Markdown under Format.
  3. Select Export to save a zip with a .md file for each note and a folder for each note with children.

Watch out for

In text notes, links between notes and pictures stay as HTML tags inside the Markdown, which some apps won't treat as links.

  • Each file starts with the note's title as a heading. There's no front matter, so labels and relations are only in the zip's !!!meta.json.
  • Only each note's modified date comes out, as the file's date.
  • Protected notes only come out if you've unlocked them first, and then they're in plain text.
Comes with it 8
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Created and updated dates
To-dos and reminders
Canvases and whiteboards
Left behind 4
Properties and metadata
Version history
Sharing and permissions
App settings
Not sure 1
Embeds

Export a branch as an OPML outline

How
File

Steps

  1. Right-click the top note of what you want in the tree and choose Export...
  2. Pick This note & all descendants, then OPML under Format, and select Export.

Watch out for

Each note's text goes in as HTML inside the outline, and images and attachments are left out.

  • A note in two places comes out twice.
Comes with it 3
Note text
Formatting
Page and folder structure
Left behind 6
Attachments and images
Properties and metadata
Created and updated dates
Version history
Sharing and permissions
App settings
Not sure 2
Links between notes
To-dos and reminders

Export a note to PDF

How
File
Needs
  • Desktop app

Steps

  1. Open the note, then choose Print/export to PDF... from its More actions menu (⋯).
  2. Under Destination pick Save as PDF and save it.

Watch out for

It works one note at a time, or on a collection's notes. In the web version it's your browser's print dialog instead.

Comes with it 2
Note text
Formatting
Left behind 0
Nothing we know of
Not sure 2
Attachments and images
Links between notes

Import into Trilium Notes

Import Markdown, HTML or OPML files File · Markdown · Markdown with front matter · HTML · Plain text · OPML

Steps

  1. Right-click the note to import into and choose Import into note...
  2. Leave Files & other formats picked, choose the files or a zip of them and select Import.

Watch out for

A zip's folders become the note tree, and relative links and images between its files are connected up.

  • Front matter turns into labels, one for each key and one per item in a list, so each tag becomes a tags label. Nested values are dropped.
  • [[Wiki links]] become links to a path of the same name, which is then looked for in the zip, so they may not connect up. For an Obsidian vault, use the Obsidian import.
  • Files imported on their own, rather than in a zip, don't get their links connected.
Keeps 8
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Tags
Properties and metadata
To-dos and reminders
Drops 5
Created and updated dates
Databases and views
Canvases and whiteboards
Plugins and their data
App settings
Import from Notion File · Notion HTML export
How
File

Steps

  1. In Notion, export the workspace or a page as HTML, with Include subpages and Create folders for subpages on.
  2. In Trilium, right-click a note in the tree, choose Import into note... and pick Notion under Import from.
  3. Choose the .zip and select Import.

Watch out for

It won't take a Markdown & CSV export. It has to be HTML.

  • Every database becomes a table, whatever its view, and its columns become labels. Formulas and rollups come in as fixed values, and buttons are dropped.
  • Created and edited dates only come across from Created time and Last edited time properties. Otherwise notes are dated the day you import.
  • Page icons and covers are dropped, and so are files no page links to.
  • Relations to pages that weren't in the export are dropped.
Keeps 8
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Properties and metadata
Databases and views
To-dos and reminders
Drops 3
Comments
Version history
Sharing and permissions
Not sure 2
Created and updated dates
Embeds
Import from Obsidian File · built for Obsidian · Markdown · Markdown with front matter

Steps

  1. Zip up your Obsidian vault folder.
  2. In Trilium, right-click a note in the tree, choose Import into note... and pick Obsidian under Import from.
  3. Choose the .zip and select Import.

Watch out for

It takes a zip of the vault, not the folder itself.

  • Canvases and bases are dropped, along with embeds of them and any folder whose name starts with a dot.
  • Tags in the front matter become labels, so project/alpha becomes
  • Links to a heading or block just go to the note, and Markdown-style [text](note.md) links aren't connected up.
  • Callouts become one of Trilium's five admonition types, and lose their folding.
  • Both dates come from each file's time in the zip, which might just be when you made the zip.
Keeps 8
Note text
Formatting
Attachments and images
Page and folder structure
Links between notes
Tags
Properties and metadata
Embeds
Drops 4
Databases and views
Canvases and whiteboards
Plugins and their data
App settings
Not sure 1
Created and updated dates
Import from Evernote File · Evernote export (ENEX)
How
File

Steps

  1. In Evernote, export each notebook as an ENEX file.
  2. In Trilium, right-click a note in the tree, choose Import into note... and pick Evernote under Import from.
  3. Choose one or more .enex files and select Import.

Watch out for

Each .enex file becomes a note named after the file, with its notes inside.

  • Links between notes only work within one file, so links to another notebook stay as evernote:// links.
  • A note with no title stops the rest of its file importing.
  • Fonts and font sizes are dropped, and so are task due dates and assignees.
Keeps 8
Note text
Formatting
Attachments and images
Links between notes
Tags
Properties and metadata
Created and updated dates
To-dos and reminders
Drops 0
Nothing we know of
Import from Google Keep File · Google Keep Takeout export
How
File

Steps

  1. Export Keep from Google Takeout, on its own, and download the zip.
  2. In Trilium, right-click a note in the tree, choose Import into note... and pick Google Keep under Import from.
  3. Choose the zip and select Import.

Watch out for

Labels, pins and archived or trashed status are dropped, so archived and trashed notes come in like any other. Colours come across as labels.

  • Every note lands flat under one Google Keep import note.
  • Checklists lose their indents, and empty items are dropped.
  • Any other JSON file in the zip gets imported as a note too, so leave the other Google products out of the Takeout.
  • Reminders and collaborators aren't imported.
Keeps 6
Note text
Formatting
Attachments and images
Handwriting and drawings
Created and updated dates
To-dos and reminders
Drops 3
Tags
Properties and metadata
Sharing and permissions
Import from OneNote with a Microsoft account Sign in · built for Microsoft OneNote
How
Sign in

Steps

  1. In Trilium, right-click a note in the tree, choose Import into note... and pick Microsoft OneNote under Import from.
  2. Select Sign in with Microsoft and sign in. On the web version, open the sign-in page and enter the code it shows.
  3. Tick the sections you want and select Import selected.

Watch out for

Only notebooks in your own OneDrive show up, not ones shared with you or kept on SharePoint or Teams.

  • To Do tags become checkboxes, and about 20 of OneNote's built-in tags become an icon in front of the text. Other tags are dropped.
  • Handwriting comes in as one SVG image at the end of each page.
  • Password-protected sections come in as placeholder notes without their pages, so take the lock off first.
  • Sections and section groups come in sorted by when they were made, not in your order.
  • Nothing's saved until the end, so an import that's stopped part way keeps nothing.
Keeps 8
Note text
Formatting
Attachments and images
Handwriting and drawings
Page and folder structure
Links between notes
Created and updated dates
To-dos and reminders
Drops 3
Tags
Version history
Sharing and permissions
Not sure 1
Embeds
Import from Anytype File · Anytype Any-Block JSON export

Steps

  1. In Anytype, export the space with the Any-Block format and JSON selected.
  2. In Trilium, right-click a note in the tree, choose Import into note... and pick Anytype under Import from.
  3. Choose the .zip and select Import.

Watch out for

Only pages and collections come in. Sets, tasks, notes and bookmark objects are skipped.

  • Anytype's own Tag and Description properties are dropped, and so are properties that link to other objects. Only properties you made yourself come across.
  • Everything lands under one Anytype import note, with collections as list, grid, board, calendar or table views from their first view.
Keeps 9
Note text
Formatting
Attachments and images
Links between notes
Properties and metadata
Databases and views
Created and updated dates
To-dos and reminders
Embeds
Drops 1
Tags

Move from Trilium Notes to another app

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

Bring your data into Trilium Notes

About this entry

Checked against the official docs on .

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

  1. Updated: imports See the change #53
  2. Updated: imports See the change #41
  3. Updated: imports See the change #38
  4. Added See the change #37