Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
upstream: github.com/TriliumNext/Trilium (opens in new tab) · github.com/laurent22/joplin (opens in new tab)
Pick Trilium
If you want a hierarchical knowledge base with note cloning, scripting and per-note encryption, under AGPL-3.0, in one container that idled at about 61 MB.
Pick Joplin Server
If you use the Joplin apps and want your own multi-user sync server on PostgreSQL, and your use is personal and non-commercial: its Personal Use License bars commercial use, and paid or commercial hosting for others, without written authorisation. Joplin itself can also sync through Nextcloud, Dropbox, OneDrive or Joplin Cloud, so the server is optional.
Trilium Notes and Joplin Server share a category and a hub page, but they are not the same kind of thing, and the comparison only makes sense once that is clear. Trilium is a note-taking application: "an open-source solution for note-taking and organizing a personal knowledge base", with a server edition you run beside the desktop app. Joplin Server is not Joplin. Joplin is the "free, open source note taking and to-do application" with clients for "Windows, Linux, macOS, Android and iOS"; Joplin Server is the sync server those clients can point at, one of several sync targets. So the real question is which note-taking workflow you want, and whether you need to host a sync server for it at all. The licences differ too: Trilium is AGPL-3.0, Joplin Server is under its own personal-use licence.
Trilium is built around structure. The README lists the tree: "Notes can be arranged into arbitrarily deep tree", with cloning, "Single note can be placed into multiple places in the tree". It also lists scripting, "Strong note encryption with per-note granularity", relation maps and note/link maps, a touch-optimized mobile frontend and a web clipper. The site adds that "Trilium isn't just a place to store notes, it's programmable". The server edition serves the web UI and, in the site's words, "manages the synchronization if you have multiple devices"; you can also use the desktop app locally with no server.
Joplin Server is the backend half of a different product. Joplin stores notes as Markdown, is "offline first", and its README names Nextcloud, Dropbox, OneDrive and Joplin Cloud as sync options with "end-to-end encryption". Joplin's sync spec names it as one possible sync target: "It can be for example Joplin Server, a Nextcloud instance, or a WebDAV server". The server adds user accounts on top of PostgreSQL storage, and its licence covers "sharing notes with other users of the Software". Because Joplin's clients also sync through those other targets, you can run Joplin without this server at all.
Trilium encrypts per note: "By default, notes are unprotected", and a protected note's content is encrypted with AES-128 in CBC mode under a key derived from your password. Joplin's end-to-end encryption is configured for the whole setup instead: "E2EE needs to be manually enabled on a single device first", you set a password, and that master key "will be used to encrypt all your notes". The Joplin page also warns the password "cannot be recovered". Trilium is the fit when only some notes are sensitive; Joplin is simpler if you want everything encrypted before it reaches the server.
Trilium's README states "GNU Affero General Public License", version 3 or later, and the project site says "free and open-source under the AGPL-3.0 license". The repository is now maintained by the community project TriliumNext; the README says the original developer "has graciously given the Trilium repository to the community project".
Joplin Server is the one to read carefully. Its licence is the "Joplin Server Personal Use License", not an open-source licence. It permits use "for non-commercial purposes for taking personal and professional notes", and says "the Software may be used for personal non-commercial purposes only" unless the licensor authorises otherwise in writing. Commercial use needs "prior written authorisation from the Licensor", and charging others for access, or hosting it for third parties who may use it commercially, is barred. Upstream's server README says "Joplin Server Business provides a commercial licence and additional business features". For one person or a household syncing their own notes, that is fine. For a company, a paid service or a server shared with people who use it for work, it is not the same bargain as AGPL.
Trilium's docs say official images exist for AMD64, ARMv7 and ARM64, the container keeps its data in /home/node/trilium-data and listens on port 8080. For desktop sync, deploy the server uninitialised, then on the desktop go to Options, Sync, enter the server address and test; "both client and server must have the same date and time, with a tolerance of up to five minutes." Conflicts are resolved by "retaining the newer change and discarding the older one", with the older version kept in note revisions. The docs also warn against the latest tag because it can move you to a new minor version and disrupt sync, which our snippet does not pin; pin a version if you adopt it.
Joplin Server's upstream README runs it with docker run --env-file .env -p 22300:22300 joplin/server:latest, listening on port 22300, with SQLite by default and PostgreSQL for production. Our snippet is the PostgreSQL compose variant, with the APP_BASE_URL caveat that the server rejects requests from any other origin. The README says to change the default admin credentials and recommends a separate non-admin user for syncing; our snippet notes the default login of admin@localhost and admin to change immediately.
In our install check each default snippet ran on a GCP e2-standard-2 box (Ubuntu 26.04 LTS, Docker 29.8.1) in September 2026, measured idle at first boot with no data. Trilium, one Node.js container with SQLite, used ~61 MB of RAM and ~490 MB of disk. Joplin Server, a Node.js container plus PostgreSQL, used ~348 MB of RAM and ~1.6 GB of disk. Those are first-boot figures, not load with years of notes and attachments. Catalog floors are 512 MB for Trilium and 1 GB for Joplin Server, and we rate difficulty 1 out of 5 and 2 out of 5.
Choose Trilium if you want a hierarchical knowledge base with note cloning, scripting and per-note encryption, under AGPL-3.0, on a server that idled at about 61 MB. It is a whole application in one container.
Choose Joplin Server if you already use or want the Joplin apps, with Markdown notes, offline-first clients on desktop and phone and one account per user on your own sync server, and your use is personal and non-commercial under its licence. If you only want your own sync and do not need accounts or sharing, check first whether one of Joplin's other sync targets covers it.
Both installs are verified on Ubuntu 26.04; the snippets are on the Trilium and Joplin Server pages. Either fits a small VPS. Put a reverse proxy with TLS in front before exposing the port, set the Joplin base URL to the exact URL your clients use, and keep the server clock in sync if you use Trilium's desktop sync.
Trilium Notes lists a lower minimum: 512 MB vs 1024 MB for Joplin Server.
No. Trilium Notes is AGPL-3.0, Joplin Server is Joplin Server Personal Use License.
Trilium if you want a hierarchical, scriptable knowledge base with note cloning and per-note encryption, in one SQLite-backed container that idled at ~61 MB in our check. Joplin Server if you want to sync the Joplin apps through your own multi-user server on PostgreSQL and your use is personal and non-commercial. They are different shapes: Trilium is the app, Joplin Server is only the sync backend.
Its licence is the Joplin Server Personal Use License, not an open-source licence. It permits non-commercial use for taking personal and professional notes; commercial use needs prior written authorisation, and charging others for access, or hosting it for third parties who may use it commercially, is barred. Upstream sells Joplin Server Business for commercial licensing. Trilium, by contrast, is AGPL-3.0.
No. Joplin's README lists Nextcloud, Dropbox, OneDrive and Joplin Cloud as sync options with end-to-end encryption, so Joplin Server is one target among several. Self-hosting it adds your own accounts and PostgreSQL storage, which matters most if several people sync to one server.
Our catalog floors are 512 MB for Trilium and 1 GB for Joplin Server. In our first-boot check on a GCP e2-standard-2 running Ubuntu 26.04, Trilium idled at ~61 MB of RAM and ~490 MB of disk, and Joplin Server with PostgreSQL at ~348 MB and ~1.6 GB, with no notes loaded.
Paid link — we earn a commission if you shop through it.
A whiteboard-and-docs workspace on a plain Compose file vs. native apps on a commercial server.
A full identity platform vs. a passkey-only sign-in box.
Two modern IdPs, built for different jobs.