Flatnotes vs Trilium Notes

A side-by-side comparison of two self-hosted notes & knowledge base options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureFlatnotesTrilium Notes
Deploy effortUnder-an-hour setup≈5-minute setup
Health score88 · Excellent99 · Excellent
CategoryNotes & Knowledge BaseNotes & Knowledge Base
LicenseMITAGPL-3.0
LanguageVueTypeScript
Setup difficultyEasyEasy
Min. RAM128 MB256 MB
Deploymentdocker, sourcedocker, bare-metal
GitHub stars★ 3,230★ 37,958
First released20212017
ReplacesEvernote, SimplenoteEvernote, Notion

What are Flatnotes and Trilium Notes?

Flatnotes

Flatnotes is a self-hosted web application for taking notes, with a focus on simplicity and storing all notes as flat Markdown files. It has no database and keeps notes easy to back up and access.

  • Flat Markdown file storage
  • No database required
  • Full-text search
  • Clean minimal interface

Read the full Flatnotes guide →

Trilium Notes

Trilium Notes is a hierarchical note-taking application designed for building large personal knowledge bases with rich linking and scripting. It targets power users who want a structured second brain. It is deployed via Docker as a server with desktop and web clients.

  • Deep hierarchical note tree
  • Note attributes and relations
  • Scripting and automation
  • Encrypted protected notes

Read the full Trilium Notes guide →

Flatnotes vs Trilium Notes: key differences

Flatnotes is written in Vue, while Trilium Notes is built with TypeScript. Licensing differs — MIT for Flatnotes versus AGPL-3.0 for Trilium Notes. Flatnotes is the lighter option, starting around 128 MB of RAM against 256 MB for Trilium Notes. Trilium Notes is the more established project (first released 2017), while Flatnotes arrived in 2021. Trilium Notes has the considerably larger community, at 37,958 GitHub stars versus 3,230.

Why pick each one

Choose Flatnotes if…

  • Trivial to back up
  • Very lightweight

Watch out for

  • Basic feature set
  • Single-user oriented
Flatnotes details

Choose Trilium Notes if…

  • Powerful for big knowledge bases
  • Flexible structure
  • Scriptable

Watch out for

  • Steep learning curve
  • Single-user oriented
Trilium Notes details

Frequently asked questions

Is Flatnotes or Trilium Notes better?

Neither is universally better. Trilium Notes has the larger community; both share a easy setup difficulty, so the decision comes down to features and licensing.

Are Flatnotes and Trilium Notes free and open-source?

Yes. Flatnotes is licensed under MIT and Trilium Notes under AGPL-3.0. Both can be self-hosted at no software cost.

Can I run Flatnotes and Trilium Notes with Docker?

Flatnotes: yes. Trilium Notes: yes.

Which is lighter on resources, Flatnotes or Trilium Notes?

Flatnotes has the smaller minimum footprint at 128 MB of RAM, compared to about 256 MB for Trilium Notes. Real-world usage depends on library size, user count, and enabled features.

Related comparisons