Organize your thoughts. Build your personal knowledge base.
Trilium is an open-source solution for note-taking and organizing a personal knowledge base. Use it locally on your desktop, or sync it with your self-hosted server to keep your notes everywhere you go.
AGPL-3.0 licensedNo account neededWorks offline
Structure your notes, your way

Note structure
Note labels and relations
Workspaces and hoisting
Everyday power features
Synchronization
Search & quick navigation
Note revisions
Protected notes
Templates
Web clipper
Share notes on the web
Secure sign-in
REST API
A note type for every kind of content
Not everything fits neatly into a paragraph. Trilium offers a range of note types, from rich text and code to spreadsheets, diagrams and mind maps, so you can capture each idea in the form that suits it best and mix them freely throughout your tree.

Text notes
The notes are edited using a visual (WYSIWYG) editor, with support for tables, images, math expressions, code blocks with syntax highlighting. Quickly format the text using Markdown-like syntax or using slash commands.
Your notes are never locked in
Your notes are yours to move freely. Bring them in from other apps, take them back out in open formats, or turn them into polished documents, whenever you like.
Import
Export
- Markdown for portable plain text
- HTML for self-contained pages
- OPML for outlines
Print to PDF
- A single note
- An entire subtree, kept in order
- Ready to print or share
See your notes from every angle
Collections give a group of notes a purpose-built view. Display the very same notes as a calendar, a table, a Kanban board, an interactive map and more, then switch between layouts whenever your needs change.

Calendar
Organize your personal or professional events using a calendar, with support for all-day and multi-day events. See your events at a glance with the week, month and year views. Easy interaction to add or drag events.
If you can imagine it, you can script it
Trilium isn't just a place to store notes, it's programmable. Write JavaScript that runs in the app or on the server, build your own interface, and automate your workflows, from a one-line tweak to a full custom app.

Custom widgets
Backend scripts & events
Render notes
Script API
AI on your terms
Optional, and entirely on your terms. AI features are opt-in and disabled by default: your notes are never sent anywhere unless you enable them and connect your own provider.

Chat with your notes
AI that works with your notes
Your provider, your keys
Frequently Asked Questions
Is Trilium free?
Is there a mobile application?
Do I need a server to use Trilium?
Is there a hosted or cloud version?
Can multiple people collaborate on the same notes?
Where is the data stored?
How well does the application scale with a large amount of notes?
Can I share my database over a network drive?
How is my data protected?
Still have questions? Ask the community
Start building your knowledge base
Organize everything in one open-source app: hierarchical notes, powerful search, and sync to a server you control.