Trilium vs Joplin: Which to Self-Host?

Quick Verdict

Trilium is better for personal knowledge management — hierarchical notes, relation maps, note cloning, and built-in scripting make it a power tool for building interconnected knowledge bases. Joplin is better for straightforward note-taking with sync — Markdown notes, mobile apps, end-to-end encryption, and a familiar notebook/tag structure.

Overview

TriliumNext Notes is a hierarchical note-taking app designed for knowledge management. Stores notes in SQLite with rich text, code blocks, relation maps, and a scripting engine. Syncs between server and desktop clients. Community fork of the original Trilium (now unmaintained).

Joplin is a Markdown-based note-taking app with desktop and mobile clients. Supports notebooks, tags, to-do lists, and end-to-end encryption. Joplin Server provides self-hosted sync as an alternative to cloud services like Dropbox or OneDrive.

Feature Comparison

FeatureTrilium NotesJoplin
Note formatRich text + code (SQLite storage)Markdown files
Note hierarchyDeep tree structure with cloningNotebooks → notes (flat within notebook)
Relation mapsBuilt-in visual mapsNo
Note cloningYes (same note in multiple locations)No
TagsYes (as attributes)Yes (traditional tags)
Mobile appNo native app (web UI only)Native iOS and Android
End-to-end encryptionPassword-protected databaseFull E2EE (per-note encryption)
ScriptingBuilt-in JavaScript scriptingNo
Sync architectureServer ↔ Desktop (bidirectional)Server → multiple clients
Web clipperBrowser extensionBrowser extension
To-do listsVia checkboxesDedicated to-do note type
SearchFull-text (SQLite FTS)Full-text
Export formatsHTML, Markdown, single-file backupMarkdown, JEX, HTML, PDF
APIREST + ETAPIREST (Data API)

Installation Complexity

Trilium is very simple — single Docker container with SQLite. No database server, no Redis. Start and go.

Joplin Server requires PostgreSQL. Two containers (server + database). Default admin credentials, then create user accounts for each sync client.

Trilium is simpler to deploy. Joplin Server has a more conventional but slightly heavier stack.

Performance and Resource Usage

ResourceTriliumJoplin Server
RAM (idle)~100 MB~150 MB (+ PostgreSQL)
RAM (full stack)~100 MB~400 MB
CPUVery lowLow
StorageSQLite databasePostgreSQL database

Trilium is lighter because it uses embedded SQLite. Joplin Server’s PostgreSQL adds overhead but enables better concurrent access for multi-user deployments.

Community and Support

Trilium: The original project (~27,000 GitHub stars) is no longer maintained. TriliumNext (the community fork) has a growing community and active development. The transition introduces some uncertainty about long-term direction.

Joplin: ~47,000 GitHub stars, active development by the original creator, strong community on the Joplin forum, and regular releases. More mature and stable project overall.

Use Cases

Choose Trilium If…

  • You want a personal knowledge base with deep hierarchical organization
  • Note cloning (same note in multiple locations) matters to you
  • You want visual relation maps between notes
  • Built-in scripting for custom workflows is valuable
  • You work primarily from desktop/web (no native mobile app)
  • You want the lightest possible deployment (single container, no database server)

Choose Joplin If…

  • You need native mobile apps (iOS and Android)
  • End-to-end encryption is a requirement
  • You prefer plain Markdown files
  • You want to sync across many devices (desktop + phone + tablet)
  • You need to-do list functionality
  • You want a mature, stable project with long-term maintenance confidence
  • Multiple family members or team members need separate accounts

Final Verdict

Choose based on your use case. For a personal knowledge base where you build interconnected notes, tag with attributes, and visualize relationships, Trilium is more powerful. For day-to-day note-taking across multiple devices with great mobile apps and E2EE, Joplin is the more practical choice.

Most people who just want “notes that sync” should start with Joplin. People who want a “second brain” with deep organizational features should try Trilium.