Skip to content

Trilium Notes

Self-hosted hierarchical note app for building large personal knowledge bases

Copyleft (OSI) · AGPL-3.0
  • Self-hosted
  • macOS
  • Linux

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

39,069

Last commit

today

Nov 2026

Repository age

9 years

since May 2017

Latest version

v0.107.0

Nov 2026

Contributors

–

11 active in 90 days

Releases

16

last 12 months

Docker pulls

6.2M

triliumnext/trilium

Language

TypeScript

Trilium Notes is a cross-platform note-taking application built around a tree of notes. The tree can go as deep as you like, and one note can be cloned into several places. It is written in TypeScript, runs as a desktop app or as a self-hosted server, and ships a Docker image.

The editor is WYSIWYG with tables, images, math and Markdown autoformat, plus code notes with syntax highlighting. Other note types include Excalidraw-based canvases, mind maps, relation maps and geo maps with GPX tracks. Attributes drive organization, queries and scripting, and a REST API supports automation. You can encrypt individual notes, sign in with OpenID and TOTP, and sync through your own server.

It imports and exports Evernote and Markdown, includes a web clipper, and offers a touch-friendly mobile frontend. The project is licensed AGPL-3.0 and began in 2017. It is a direct alternative to Microsoft OneNote and Obsidian.

Who it's for

Researchers with thousands of linked notes

The deep tree, cloning and attribute queries organize large collections, and it scales past 100,000 notes.

Skip if: You want plain Markdown files sitting on disk.

Self-hosters who want sync on their own server

A Docker image and a built-in sync server keep your notes under your control.

Skip if: You need real-time co-editing with others.

Evernote users looking to move

Evernote import is built in, along with Markdown import and export.

Skip if: You need handwriting or pen input.

The problem it solves

Notes pile up in apps that lock them into a vendor's cloud or a flat folder list. Trilium gives you a structured tree you host yourself, with encryption and scripting. You keep control of a large knowledge base.

Strengths

  • Per-note encryption, with OpenID and TOTP login options
  • Evernote and Markdown import and export
  • Scripting, attributes and a REST API for automation
  • Runs as desktop app or Docker-hosted server with sync
  • Handles over 100,000 notes

Trade-offs

  • No handwriting or pen input
  • No real-time co-editing
  • Notes are not stored as plain Markdown files on disk
  • No native mobile apps; the mobile frontend runs in the browser

Trilium Notes replaces

Self-host Trilium Notes

Self-hostable
Yes
Docker image
triliumnext/trilium
Docker Compose
The repository ships a Compose file
Hosted plan
From $4/month · pricing

In the community

Frequently asked questions

Is Trilium Notes free?

Yes. It is free and open source under AGPL-3.0. Third-party hosting for sync servers is available separately.

Can I self-host it?

Yes. Run the server with Docker and sync your desktop clients to it.

Can I import from Evernote?

Yes. Evernote and Markdown import and export are supported.

Can I move from the original Trilium?

Yes. Install TriliumNext as usual and it uses your existing database.

Trilium Notes compared

Other Microsoft OneNote alternatives

Compare all 15 Microsoft OneNote alternatives →

Similar tools in Note-taking apps

Blinko

Note-taking apps

Self-hosted card notes app with Markdown and AI search for quick capture

11k 805 19 days ago Active GPL-3.0

Replaces Evernote

Memos

Note-taking apps

Self-hosted Markdown note timeline for quick personal notes, with tags and sharing

65k 5k today Thriving MIT

Replaces Google KeepEvernote