Open source note-taking and knowledge base tools
Open source apps for personal notes, linked knowledge bases and team wikis. Some keep plain Markdown files on your devices, some sync through a server you run, and several have hosted versions from their developers.
19 apps, sorted by GitHub stars as of 6 December 2026. Guide updated .
-
AFFiNE
Local-first workspace that combines documents, an infinite whiteboard and databases in one app
-
AppFlowy
Notion-style documents and databases in native desktop and mobile apps, with local AI support
-
Memos
Self-hosted timeline of short Markdown notes, light enough to run as one Go binary with SQLite
-
Joplin
Offline-first Markdown notes and to-dos with end-to-end encrypted sync to storage you choose
-
SiYuan
Local-first block-based knowledge base with block references, SQL queries, flashcards and PDF annotation
-
Logseq
Local-first outliner with block references, backlinks and daily journals on Markdown or Org files
-
Trilium Notes
Hierarchical notes for large personal knowledge bases, with many note types and self-hosted sync
-
Wiki.js
Node.js wiki with Markdown and visual editors, many login options and Git sync of your pages
-
Docmost
Self-hosted team wiki with real-time editing, spaces, comments, page history and built-in diagrams
-
Tolaria
Desktop app for Markdown knowledge bases kept in Git, with wikilinks, typed relationships and AI agent support
-
BookStack
Simple self-hosted wiki that organizes documentation into shelves, books, chapters and pages
-
Foam
Knowledge base of linked Markdown notes inside VS Code, with wikilinks, backlinks and a graph
-
Notesnook
End-to-end encrypted notes for every platform, with importers from Evernote, Google Keep and Obsidian
-
Zettlr
Markdown editor for linked notes and academic writing, with citations, a graph view and Pandoc export
-
TiddlyWiki
Non-linear personal wiki that fits in one HTML file, with links, backlinks, tags and plugins
-
Standard Notes
End-to-end encrypted notes with a published encryption spec and a sync server you can run yourself
-
SilverBullet
Self-hosted Markdown knowledge base with wiki links, backlinks and Lua scripting, usable offline
-
QOwnNotes
Native Markdown notepad with wiki links, backlinks and sync through Nextcloud or any folder sync
-
XWiki
Java enterprise wiki with real-time editing, fine-grained rights, sub-wikis and structured applications
Compare at a glance
| App | License | Self-hosting needs | Hosted version | Last commit |
|---|---|---|---|---|
| AFFiNE | MIT* | PostgreSQL, Redis | Yes | today |
| AppFlowy | AGPL-3.0* | Nothing beyond the app | Yes | 1 month ago |
| BookStack | MIT* | MySQL or MariaDB | No | 3 days ago |
| Docmost | AGPL-3.0* | PostgreSQL, Redis | No | 3 days ago |
| Foam | MIT* | Visual Studio Code | No | yesterday |
| Joplin | AGPL-3.0-or-later* | Nothing beyond the app | Yes | today |
| Logseq | AGPL-3.0* | Nothing beyond the app | Yes | today |
| Memos | MIT | SQLite | No | today |
| Notesnook | GPL-3.0* | MongoDB, S3-compatible storage | Yes | yesterday |
| QOwnNotes | GPL-2.0* | Nothing beyond the app | No | today |
| SilverBullet | MIT* | Nothing beyond the app | No | yesterday |
| SiYuan | AGPL-3.0* | Nothing beyond the app | Yes | 11 days ago |
| Standard Notes | AGPL-3.0* | MySQL, Redis | Yes | yesterday |
| TiddlyWiki | BSD-3-Clause | Nothing beyond the app | No | 2 days ago |
| Tolaria | AGPL-3.0-or-later* | Nothing beyond the app | No | today |
| Trilium Notes | AGPL-3.0* | SQLite | No | today |
| Wiki.js | AGPL-3.0* | PostgreSQL | No | today |
| XWiki | LGPL-2.1* | Java, Tomcat or Jetty, PostgreSQL or MySQL/MariaDB | Yes | today |
| Zettlr | GPL-3.0 | Nothing beyond the app | No | 6 days ago |
An asterisk marks a license with exceptions, such as proprietary directories or paid plugins; see the app page.
Find an alternative to
- Confluence4 open source alternatives
- Evernote5 open source alternatives
- Google Keep3 open source alternatives
- Microsoft OneNote2 open source alternatives
- Notion2 open source alternatives
- Obsidian11 open source alternatives
- Roam Research2 open source alternatives
Choosing notes & knowledge base software
Three kinds of tool
This category covers tools that look similar on the surface but solve different problems.
- Personal note apps keep one person’s notes in sync across devices, usually in notebooks or tags. Joplin, Notesnook and Standard Notes are the closest replacements for Evernote, OneNote and Google Keep, and all three can encrypt notes end to end. QOwnNotes does the same job with plain files in a Nextcloud folder, and Memos is a self-hosted timeline of short notes.
- Personal knowledge bases are about connecting ideas rather than filing them, the space Obsidian and Roam Research made popular. Zettlr, Foam, Tolaria and SilverBullet work on folders of Markdown files with wiki links and backlinks. Logseq and SiYuan are built on blocks you can reference anywhere, Trilium Notes on a deep note tree with scripting, and TiddlyWiki on small linked notes in a single file.
- Team workspaces and wikis run on a server and are built around shared spaces and permissions. AFFiNE and AppFlowy follow Notion’s mix of documents and databases. Docmost, BookStack, Wiki.js and XWiki are documentation wikis in the Confluence tradition.
Pick the kind first. A personal knowledge base will frustrate a team that needs permissions, and a company wiki is heavy for private journaling.
How your notes are stored
The storage model decides whether other tools can work on your notes and how easy it is to leave.
| Storage model | Apps | What it means |
|---|---|---|
| Plain Markdown files in a folder | Zettlr, Foam, Tolaria, QOwnNotes, SilverBullet, Logseq (file version) | Any editor, script or Git can read and change the notes; sync the folder however you like |
| One HTML file or one file per note | TiddlyWiki | Portable, but in the app’s own WikiText unless you add Markdown |
| App database on each device | Joplin, Trilium (SQLite), SiYuan (JSON files with a SQLite index), Logseq DB version (SQLite, beta) | Fast queries and rich note types; Markdown is an export, not the working format |
| Encrypted database synced to a server | Notesnook, Standard Notes | The server cannot read notes; you work only through the apps |
| Server database | Memos, AFFiNE, AppFlowy, Docmost, BookStack, Wiki.js, XWiki | Shared access and permissions; back up the database, use export to leave |
Wiki.js can also sync pages to a Git repository, and BookStack exports books as Markdown, HTML, PDF or a portable ZIP.
Encryption, sync and telemetry
Notesnook and Standard Notes encrypt everything on the device by default. Joplin offers optional end-to-end encryption, Trilium encrypts only notes you mark as protected, and SilverBullet can encrypt the copy kept in the browser but not the server’s files. Team wikis are not end-to-end encrypted: the server must read pages to search and render them.
Free sync options include your own folder sync or Git for the Markdown apps, Nextcloud, WebDAV or S3 for Joplin, and a self-hosted server for Trilium. SiYuan’s sync, even to your own storage, is paid, and Logseq’s official sync is a paid service. Check telemetry defaults too: QOwnNotes sends anonymous usage metrics unless you switch them off, Foam follows VS Code’s telemetry setting, Tolaria asks for opt-in, and SilverBullet’s server sends none.
Read the license and the paid tiers
Several projects are open core or have closed parts:
- AppFlowy: the client is AGPL-3.0, but the server needed for sync and collaboration is now closed source, and the free self-hosted tier allows one user.
- AFFiNE: MIT for most code, but self-hosted workspaces are capped at 10 seats without a paid license.
- Joplin: the apps are AGPL, but Joplin Server is licensed for non-commercial use only.
- SilverBullet: the server is MIT; the native Desktop app is closed source and paid for work use.
- Docmost: SSO, MFA, page-level permissions and the Confluence importer are in the paid Business edition.
- Notesnook and Standard Notes: task lists, richer editors or nested tags need paid plans, and Standard Notes keeps them paid on your own server.
BookStack, Wiki.js, Trilium, Memos, Zettlr, Foam, TiddlyWiki and QOwnNotes have no paid edition.
Self-hosting effort
Memos and Trilium are the lightest servers: one process and a SQLite file. SilverBullet is a single binary over a folder of files. BookStack needs PHP and MySQL. Wiki.js, Docmost and AFFiNE use Node.js with PostgreSQL, and Docmost and AFFiNE add Redis. XWiki is the heaviest, with Java, a servlet container, a database and Solr. Notesnook’s sync server runs several services with MongoDB and object storage and is not yet officially supported.
Leaving a proprietary tool
Atlassian ended support for its Server products on 15 February 2024, and Confluence Data Center reaches end of life on 28 March 2029, when instances become read-only; see alternatives to Confluence. OneNote for Windows 10 became read-only after its end of support on 14 October 2025, and Joplin and Trilium now import OneNote notebooks; see OneNote alternatives. Joplin, Notesnook, Standard Notes, Trilium and QOwnNotes import Evernote’s ENEX files (Evernote alternatives). Several apps open or import an Obsidian vault directly (Obsidian alternatives), Logseq imports Roam Research’s JSON export (Roam Research alternatives), Notesnook and Standard Notes read a Google Takeout export of Keep (Google Keep alternatives), and AppFlowy and Docmost import Notion exports (Notion alternatives).
Source-available projects not listed
Some well-known tools are not listed because their licenses are not open source. Outline, a popular team wiki, uses the Business Source License 1.1, which forbids offering it as a commercial document service to third parties; the current release converts to Apache-2.0 only on 15 November 2030. Anytype uses the Any Source Available License, which limits use to non-commercial purposes or commercial use in allowed networks. Obsidian, Roam Research and OneNote are proprietary. Reor, an AI notes app, was archived in March 2026, and Dendron has had no release since 2023, so neither is listed.
Frequently asked questions
What is the best open source note-taking app?
Pick by how you work: Joplin for Evernote-style notebooks that sync through your own Nextcloud or WebDAV, Notesnook for encryption by default with sync included, Logseq or Zettlr for linked Markdown notes, and BookStack or Docmost for a shared team wiki.
Which open source note apps have end-to-end encryption?
Notesnook and Standard Notes encrypt every note on the device by default. Joplin offers it but leaves it off until you enable it, and its password cannot be recovered; Trilium Notes encrypts only notes you mark as protected. Team wikis are not end-to-end encrypted, because the server has to read pages to search and render them.
Which note or wiki server is easiest to self-host?
Memos and Trilium Notes, which each run as one process with a SQLite file, and SilverBullet, a single binary over a folder of Markdown files. BookStack needs PHP and MySQL, Docmost and AFFiNE add PostgreSQL and Redis, and XWiki is the heaviest, with Java, a servlet container, a database and Solr.
Which open source wiki includes single sign-on without a paid edition?
BookStack and Wiki.js. BookStack supports OIDC, SAML 2.0 and LDAP with built-in multi-factor authentication, and Wiki.js supports LDAP, SAML, OpenID Connect and other providers with two-factor login. In Docmost, SSO and MFA are part of the paid Business edition.
Is Outline open source?
No. Outline uses the Business Source License 1.1, which forbids offering it to third parties as a commercial document service, and the current release converts to Apache-2.0 only on November 15, 2030. Open source team wikis listed here include Docmost, BookStack, Wiki.js and XWiki.