Build your personal knowledge base with Trilium Notes
open sourceAGPL-3.0-or-laterself-hostablefreeMCP
Trilium Notes is a free, open-source, cross-platform hierarchical note-taking app for building large personal knowledge bases. Notes live in an arbitrarily deep tree where one note can sit in several places, with a WYSIWYG editor, code, Markdown, spreadsheets, canvas (Excalidraw), Mermaid and mind maps, calendar, table and Kanban views, per-note encryption, revisions, JavaScript scripting, a REST API and opt-in AI with MCP. It runs as a desktop app on Windows, macOS and Linux, and as a self-hosted server that syncs your devices. Created by zadam, it is now maintained by the community project TriliumNext.
Ways to install
On your own server
- Unraid Community Applications: Trilium Notes in Unraid Community Applications1
- TrueNAS: Trilium Notes in TrueNAS2
- CasaOS: Trilium Notes in CasaOS3
- Coolify: Trilium Notes in Coolify4
- umbrelOS: Trilium Notes in umbrelOS5
- YunoHost: Trilium Notes in YunoHost6
- Proxmox VE Helper-Scripts: Trilium Notes in Proxmox VE Helper-Scripts7
Hosted for you
Package managers
Problems it solves
- organise thousands of notes in a deep tree instead of flat folders
- put the same note in several places in my notes hierarchy without copying it
- a personal knowledge base that still works offline on my desktop
- sync my notes between home and work through a server I host myself
- encrypt a few sensitive notes behind a password while the rest stay open
- script my notes app with JavaScript to automate my own workflows
- keep code snippets, diagrams, spreadsheets and mind maps in one notes app
- publish part of my notes as a public read-only website
- chat with my notes using my own OpenAI, Anthropic or local model key
- move years of Evernote notes into an open-source app
- see my notes as a calendar or Kanban board without another app
Features
- arbitrarily deep note tree with cloning into multiple places
- WYSIWYG text with tables, images and math; Markdown autoformat
- code, Markdown, spreadsheet, canvas (Excalidraw), Mermaid, mind map and file notes
- calendar, table, Kanban, geomap, presentation and dashboard collections
- note revisions and templates
- per-note encryption (protected notes)
- full-text search with OCR of images and PDFs
- sync with a self-hosted server
- share subtrees as a public website
- TOTP and OpenID Connect sign-in
View 6 more
- frontend and backend JavaScript scripting with a typed Script API
- REST API (ETAPI)
- opt-in AI chat and tools with your own provider; notes exposed over MCP
- Evernote, Markdown, HTML and OPML import; Markdown, HTML, OPML and PDF export
- web clipper
- metrics with a Grafana dashboard
Limitations
- No official mobile app: phones use the server's mobile web interface or a PWA12
- No real-time multi-user editing: designed as a single-user application12
- No official hosted version: you run the desktop app or host the server yourself12
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Trilium Notes does.
- SilverBullet The malleable knowledge base for you and your team. Powered by Markdown and Lua.
- Anytype A safe haven for digital collaboration
- Memos Simple note-taking for your everyday thoughts
- Obsidian Sharpen your thinking. The free and flexible app for your private thoughts.
- Joplin Free your notes: an open source note-taking app
- Logseq A privacy-first, open-source platform for knowledge management and collaboration