Confluence is Atlassian's team wiki: spaces for each team, pages with templates, permissions down to the page, and a tight link to Jira. Several open-source wikis cover the spaces-and-permissions part well. None of them talk to Jira the way Confluence does, so check how much of that link you actually use before you switch.
What Confluence actually does
Strip away the Atlassian branding and Confluence is three things: a space per team or project, pages inside each space with their own permissions, and templates so people do not start every page from a blank screen. The open-source tools below all do spaces and permissions; where they differ is live co-editing, how structured the content can get, and the license the code ships under.
Quick comparison
| App | Best for | Live co-editing | Permissions | License | GitHub stars (Nov 2026) |
|---|---|---|---|---|---|
| Docmost | Closest match, has a Confluence importer | Yes | Spaces plus roles | AGPL-3.0, paid features in a Business plan | about 22,000 |
| Wiki.js | Docs that live next to your code | No | Page-level access control | AGPL-3.0 | about 29,000 |
| BookStack | Simple, structured documentation | No | Role and permission system | MIT | hosted on Codeberg |
| XWiki | Building small apps on top of a wiki | Yes | Fine-grained, per space or page | LGPL-2.1 | about 1,300 |
| DokuWiki | The simplest possible setup | No | Access control by namespace | GPL-2.0 | about 4,700 |
| MediaWiki | A very large wiki | No | Namespace and extension-based | GPL-2.0 | not tracked (hosted outside GitHub) |
| Outline | The nicest editor, with a license catch | Yes | Team and collection permissions | BUSL-1.1, not open source | about 41,000 |
Docmost
Docmost is the closest match to Confluence here. It has spaces for teams or departments, pages with live cursors and instant sync between editors, role-based permissions, and a built-in Confluence importer for moving your existing pages across.
The free Community Edition covers the core: real-time collaboration, spaces and full-text search. Docmost's pricing page puts SSO (SAML, OIDC, LDAP), multi-factor authentication, page-level permissions, AI features, API keys and the Confluence importer's more advanced options in the paid Business plan, so check the importer's free-tier limits before you plan a big migration around it. For a small team signing in with email and password, the free plan is enough.
It is young but very active. You can run it on your own server with Docker, or on a managed host such as blitz.cloud, where Docmost installs in one click Ad.
Wiki.js
Wiki.js is a classic wiki with Markdown, a visual editor and raw HTML, built for documentation that should live close to your code. Its standout feature is content sync and backup straight to Git (GitHub, GitLab and others), plus a long list of sign-in options from local accounts to LDAP, SAML and OpenID Connect. It works with PostgreSQL, MySQL, MariaDB, SQL Server or SQLite.
Version 2.x is the stable release; version 3.0 is still in beta, so install 2.x for production. On blitz.cloud, Wiki.js installs in one click Ad.
BookStack
BookStack organizes everything into books, chapters and pages, which maps onto Confluence's spaces and pages well enough that non-technical people find their way around it on the first day. It has a WYSIWYG editor, an optional Markdown editor, diagrams.net drawings, a full role and permission system, and sign-in with OIDC, SAML2 or LDAP, with MFA that can be enforced per role.
All of that is MIT-licensed with no paid tier. It runs on PHP with MySQL, so it is light on server resources. There is no live co-editing and no Jira-style linking, but for internal documentation it is one of the most dependable choices on this list. On blitz.cloud, BookStack installs in one click Ad.
XWiki
XWiki is the most ambitious tool here. Beyond pages, its Extension Manager lets you add structured data types and small apps on top of the wiki, the way some Confluence teams bolt on add-ons for trackers or directories. It is written in Java, supports fine-grained permissions down to a single page or space, and keeps a full page history. The extension marketplace mixes free and some commercial extensions, but the core server itself is fully open source under LGPL-2.1.
Being a full Java application, it needs more memory and a more careful setup than a PHP wiki like BookStack. XWiki is not in the blitz.cloud store yet.
DokuWiki
DokuWiki skips the database entirely. Every page is a plain text file, which makes backup, version control and migration almost trivial: copy the folder. Permissions are set per namespace, DokuWiki's version of folders, and there is no live co-editing.
It is the easiest tool on this list to install and keep running, and a sound pick for small-team documentation that does not need live editing or a Jira link. On blitz.cloud, DokuWiki installs in one click Ad.
MediaWiki
MediaWiki is the software that runs Wikipedia, so it handles a huge number of pages and visitors without strain. Its own source lives on the Wikimedia Foundation's Gerrit and Phabricator, not GitHub, which is why the usual star count does not apply; it remains actively maintained software serving hundreds of millions of readers a month across Wikimedia's sites.
It uses wikitext syntax by default; a separate VisualEditor extension adds a WYSIWYG editor closer to what Confluence users expect out of the box. It needs MySQL, MariaDB, PostgreSQL or SQLite and takes more work to set up and extend than BookStack or DokuWiki. It is the right size for a very large internal or public wiki, and likely more than a small team needs for day-to-day docs. On blitz.cloud, MediaWiki installs in one click Ad.
Outline
Outline has the nicest editor of the group, with real-time collaboration and a clean reading view close to Confluence's own page layout.
The catch is the license. Outline ships under the Business Source License 1.1, which the license text itself calls not an open-source license. You can self-host it for your own team, but you cannot resell it as a hosted document service to others. Each release converts to the fully open Apache 2.0 license later; for the current release that date is still years out. If a fully open license matters more to you than the editor, pick one of the AGPL, MIT, LGPL or GPL tools above instead.
How to choose
- Closest to Confluence, including an importer for your existing pages: Docmost.
- Want to build small structured apps on top of your wiki, not just pages: XWiki.
- Want the simplest possible setup, no database at all: DokuWiki.
- Running a very large wiki, public or internal: MediaWiki.
- Solid, simple team documentation with no paid tier, ever: BookStack.
- Documentation that lives next to your code in Git: Wiki.js.
- A fully open-source license matters more than the editor: anything above except Outline.
Running one
You can run any of these on your own server with Docker Compose; each project's docs have an official setup guide. Put a reverse proxy with HTTPS in front and back up the database as well as any uploaded files. Our self-hosting for beginners guide covers the basics.
If you would rather not manage a server, a managed host such as blitz.cloud runs Docmost, Wiki.js, BookStack, DokuWiki and MediaWiki with one-click installs, HTTPS included, hosted in the EU. Its free plan needs no credit card, and apps sleep after a period without visitors, which is fine for a wiki your team checks during work hours and less fine for one you want open around the clock.
FAQ
Is there a fully open-source Confluence alternative?
Yes. Docmost, Wiki.js, BookStack, XWiki, DokuWiki and MediaWiki are all fully open source (AGPL, MIT, LGPL or GPL) with no feature locked behind a paid tier in the core code; Docmost's own paid plan adds enterprise extras like SSO on top of a free AGPL core. Outline is the exception here, under a source-available license.
Can I import my Confluence space?
Docmost has a built-in Confluence importer, with some advanced import options reserved for its paid plan. For the others, Confluence can export a space as XML or PDF, and some tools can import the plain HTML or Markdown from that export; check each project's own import docs and test with one space before you move everything.
Which one is closest to Confluence?
Docmost, for the spaces-and-permissions model and the built-in importer. XWiki if you also want to build small apps on top of your wiki, the way some teams use Confluence add-ons.
Which one handles the most pages?
MediaWiki, the software behind Wikipedia. For a documentation site running into the tens of thousands of pages, it is the proven choice.