XWiki vs BookStack vs Wiki.js

XWiki fits structured enterprise knowledge with page-level rights, BookStack fits shelf-based team documentation on a simple PHP stack, and Wiki.js fits Node.js teams that want Git or database storage and many login modules.

On this page

Which self-hosted wiki fits your team: XWiki, BookStack or Wiki.js

Start with the content your team must maintain for years. If you run policies, architecture records and runbooks across several business units, and reviewers need page-level rights and a clear change history, XWiki is built for that structured enterprise case. Its optional paid Pro and support path works only if your budget can carry a recurring subscription. If your knowledge is organized as books, chapters and pages on shelves, and you want MIT licensing on a MySQL or MariaDB stack, BookStack fits that model. Wiki.js 2.x fits teams that want a database-backed Node.js wiki with many authentication modules and Git or S3 storage. All three are credible options, so the choice turns on which structure and operating model your team cannot give up.

Wiki.js is the hub of this page, so it receives the most detail in the sections that follow. The stable line is 2.x, maintained in the requarks/wiki-v2 repository, with v2.5.316 published on October 2, 2026. The 3.0 line in the main requarks/wiki repository is in beta and marked not for production use, so plan on 2.x for any system that must be supported now and evaluate 3.0 later. For 2.x, PostgreSQL is the recommended database, and the wiki needs its own domain or subdomain because it cannot be mapped to a subfolder. Confirm that this hostname model and your database choice match your network and backup standards before you shortlist it, using the Wiki.js requirements as the starting point.

Which scenario points to which wiki

This table matches five common scenarios to the wiki most likely to fit, with the condition behind each choice and what to confirm before you commit. Read each row as a test: if it describes your team or environment, that platform is the stronger starting point. The main takeaway is that structure, Git integration, offline delivery and your team's runtime skills usually decide the choice more than feature checklists.

ScenarioBest fitWhy it fitsWhat to confirm
Leaving Confluence for a structured enterprise wikiXWikiKeeps page changes under version control and sets view, edit and delete rights at wiki, page or hierarchy level.Confirm macro, space and permission mapping with XWiki SAS migration services, and which Pro applications you need.
Team handbook organized into shelvesBookStackShelves, books, chapters and pages map directly to a handbook, with a WYSIWYG editor and an optional Markdown editor.Confirm your SSO provider fits OIDC, SAML2 or LDAP, and that its role and permission model matches your access rules.
Docs team that wants Git-backed contentWiki.jsIts Git storage module synchronizes content in both directions with a repository, which suits docs-as-code habits.Confirm the Git module's sync behavior, branch handling and conflict rules in the 2.x line you deploy.
Air-gapped network needing sideloaded filesWiki.jsRuns wherever Node.js is supported and supports sideloading files where there is no internet access.Confirm how Node.js, packages and the database reach the isolated network, and how updates are carried in.
Small team with no PHP or Node.js experienceXWikiOfficial Docker images come in MySQL, PostgreSQL and MariaDB variants on Tomcat, so no PHP or Node.js runtime is needed.Confirm the team can operate a Java servlet stack and that the image variant and sizing suit your hardware.

What is free, what is paid and what the licenses require

XWiki is licensed under the LGPL 2.1 or later, and XWiki Standard is the free open source version of the platform. The paid layer comes from XWiki SAS. XWiki Pro adds business applications and connectors to the Standard platform and bundles XWiki SAS support, and the Pro and support subscriptions are sold in tiers sized by user count.

  • Standard edition: XWiki Standard is free to download and run, so the core wiki carries no license fee. Your costs are hosting, staff time and any support you buy.
  • Pro applications: XWiki Pro adds applications such as File Manager, Forum, Polls, Calendar, Ideas, Meeting and Diagram, plus Google Apps, Office365 and OnlyOffice connectors and Active Directory and Azure Active Directory SSO applications.
  • User-count tiers: Starter covers up to 25 users and is offered for XWiki Cloud only, Basic covers up to 1,000 users, Business covers up to 10,000 users and Enterprise has no user limit.
  • Cloud and on-premises parity: XWiki SAS states that cloud and on-premises pricing is the same, so hosting location does not change the list price, although your own infrastructure costs still differ.
  • LGPL duties: When you distribute modified LGPL-covered files, you must share those modifications under the LGPL. Internal-only use is a different question, so ask counsel how this applies to your custom extensions.

Before you sign, ask XWiki SAS which applications and connectors each tier includes, whether Starter fits your user count, and what support covers for an on-premises install. Check the current tier terms on the XWiki pricing page.

How the three compare on architecture, identity and storage

This table compares XWiki, BookStack and Wiki.js on license, runtime, databases, Docker packaging, sign-in, page history, storage, hosting and release lines. Several cells depend on the image variant, extensions or storage module you choose, so confirm those choices against your own build before you commit. The main takeaway is that BookStack supports the narrowest set of databases and has no official Docker images, XWiki runs on Java and Tomcat, and Wiki.js offers the widest choice of databases and storage modules.

AreaXWikiBookStackWiki.js
LicenseLGPL-2.1-or-later; XWiki SAS sells support, hosting and Pro applicationsMIT licensed; paid support plans and sponsorship are availableAGPL-3.0; review network-use obligations with counsel if you modify it
RuntimeJava application running on TomcatPHP and the Laravel frameworkNode.js, on Linux, macOS, Windows, Docker or Kubernetes
Database optionsMySQL, PostgreSQL or MariaDB image variants; confirm the variant you deployMySQL 8.0 or MariaDB 10.6 or laterPostgreSQL recommended; also MySQL, MariaDB, MS SQL and SQLite
Official Docker imagesPublished for MySQL, PostgreSQL and MariaDB on amd64 and arm64v8None published; community setups such as LinuxServer.io existRuns in Docker; confirm the image source and maintainer before pulling
Sign-in optionsActive Directory and Azure AD SSO in XWiki Pro; confirm OIDC options for your releaseOIDC, SAML2 and LDAP, with multi-factor authentication enforceable per roleAzure AD, GitHub, Google, Keycloak, LDAP, OIDC, OAuth2, Okta, SAML 2.0 and TOTP
Version history and rightsPage changes kept under version control; rights set at wiki, page or hierarchy levelFull role and permission system; confirm page revision behavior in your versionConfirm how page history is kept for your storage module and permission setup
Storage modulesDatabase-backed through the chosen image; confirm attachment and backup layoutConfirm where uploads and images are stored and include them in backupsGit, AWS S3 and DigitalOcean Spaces; some modules, such as Git, sync in both directions
Hosting requirementsTomcat, Java and your chosen database; confirm sizing for your user countPHP 8.2 or later; official install scripts for Ubuntu 22.04, 24.04 and 26.04Dedicated domain or subdomain only, not a subfolder; at least 1 GB RAM on Linux
Release linesStable, LTS and intermediate LTS; current tags 18.8.0, 17.10.14 and 18.4.7Latest release v26.09.1, published September 29, 2026; confirm your upgrade cadenceStable 2.x (v2.5.316, October 2, 2026); 3.0 is beta and not for production

Who controls the data, and where each platform can run

The three platforms differ most in what they ask of the host, so settle where the wiki will run before you compare features. Wiki.js runs wherever Node.js is supported, including Linux, macOS, Windows, Docker and Kubernetes, and it can sideload files into environments without internet access, which makes it workable for an air-gapped network if you have a process for moving packages in. Several points need a decision early. Wiki.js requires a dedicated domain or subdomain and cannot be mapped to a subfolder of an existing site, so DNS and certificate issuance belong in the plan from day one. On Linux, allow at least 1 GB of RAM as a floor, then size above it for your user count and database. Confirm with your platform team that a dedicated hostname can be issued inside your network before you commit to this option.

BookStack has the most conventional host path of the three. It provides official installation scripts for Ubuntu 26.04, 24.04 and 22.04, which suits a team that already patches Ubuntu servers and wants a host-level install. It does not publish official Docker images. Community Docker setups such as LinuxServer.io exist, and any image you choose becomes part of your supply chain, so pin a version and review the image source under your own change control. The platform needs PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later, so the PHP runtime and database engine must follow your patch schedule. Check the BookStack installation guide against your distribution and database choice before you commit. Ask whether your air-gapped process can carry the PHP packages and, if you use Docker, the chosen image.

XWiki's hosting decisions start with the image, the database and the release line. Its official Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat, for amd64 and arm64v8, and they are maintained by the XWiki Core Dev Team. Three lines are currently published: the stable 18.8.0, the LTS 17.10.14 and the intermediate LTS 18.4.7, so choose between stable and LTS based on how often your team can upgrade. XWiki SAS offers XWiki Cloud on ISO 27001 certified infrastructure. That certification covers the vendor's infrastructure, and it does not cover your own deployment in your cloud, data center or air-gapped network. Your assessor will still examine your own controls, so ask XWiki SAS for the scope of its certificate and confirm which air-gapped installation steps and support it offers before you rely on that design.

What drives the running cost of a self-hosted wiki

XWiki Standard and Wiki.js 2.x carry no license fee, and BookStack is MIT licensed, so the running cost sits in subscriptions, infrastructure and people. The cards below separate one-time work from what recurs and name the choices that move each bill. Ask every vendor and partner for the same written breakdown before you compare totals.

XWiki subscription by user tier

XWiki Standard is free, but Pro and support subscriptions recur each term and are priced by user tier: Basic (up to 1,000 users), Business (up to 10,000) and Enterprise (unlimited). Starter (up to 25 users) is available only on XWiki Cloud, so a self-hosted team that small should confirm its options before budgeting. User count and the Pro applications included drive the bill, while any installation or migration help is one-time. Request the tier, the user count it is based on and the renewal terms in writing.

XWiki pricing

Tomcat and connector operations

Every official XWiki Docker image runs on Tomcat and comes in MySQL, PostgreSQL or MariaDB variants, so your team owns Tomcat and database patching on a recurring schedule. Connectors add their own upkeep. The Google Apps, Office365 and OnlyOffice connectors and the Active Directory SSO applications each need configuration and retesting after every XWiki upgrade. Ask the partner to scope upgrade testing per connector and to state who applies Tomcat security updates.

XWiki image docs

BookStack PHP and database upkeep

BookStack's MIT license has no fee, so its running cost sits in the stack beneath it. The project requires PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later, so PHP and database upgrades recur on your calendar. BookStack publishes no official Docker images. Community setups such as LinuxServer.io fill that gap, which means your team owns their image updates. Ask any partner which image source and PHP upgrade path it will support.

BookStack install guide

Wiki.js database and Node.js upkeep

Wiki.js 2.x is AGPL-3.0 with no license fee, and it runs wherever Node.js is supported. Your database choice sets the recurring work. PostgreSQL is recommended, while MySQL 8.0 or later, MariaDB, MS SQL and SQLite are also supported. The PostgreSQL search module needs the pg_trgm extension, so your DBA must install it and keep it through upgrades. Node.js runtime upgrades recur too. Ask for the database version, backup method and who tests Node.js upgrades.

Wiki.js requirements

Timing of the Wiki.js 3.0 move

The stable line is 2.x: v2.5.316 was published on October 2, 2026, in the requarks/wiki-v2 repository. The main requarks/wiki repository holds 3.0, which is marked beta and not for production use. Treat a move to 3.0 as a separate one-time migration with its own testing and rollback plan. Keep 2.x on a funded upgrade path until 3.0 is marked production ready, and ask any partner to quote a 3.0 migration separately.

Wiki.js 2 releases

Shared costs and staff time

Backups, identity setup and staff time apply to all three products, whichever license you choose. Identity work covers SSO for BookStack (OIDC, SAML2 or LDAP), the XWiki Pro SSO applications, or Wiki.js modules such as SAML 2.0, Keycloak and LDAP. Backup and restore tests recur, and admin hours grow with user count and regulated content. Ask the partner to itemize backup testing, identity integration and monthly admin hours in the quote.

Which requirement decides the platform first?

The diagram starts with operations capacity. A team without in-house staff should first agree a written scope with an implementation partner or choose vendor support. Teams with capacity then check whether they need structured enterprise features, such as page and hierarchy rights and version history, which leads to XWiki. Shelf-based documentation on PHP with MySQL or MariaDB leads to BookStack. Git or S3 storage, PostgreSQL, or a wide set of login modules lead to Wiki.js 2.x. Anyone considering Wiki.js 3.0 should first confirm that it has reached stable status, because the main repository still marks it as beta and not for production use.

Requirements narrow the choice in order: operations capacity, then features, then stack.

Implementation effort for a self-hosted wiki on each platform

BookStack has the shortest server checklist of the three, but its effort concentrates in sign-in and permissions. The host needs PHP 8.2 or later and either MySQL 8.0 or MariaDB 10.6 or later. Official installation scripts cover Ubuntu 22.04, 24.04 and 26.04. BookStack does not publish official Docker images, so a container deployment means adopting a community setup such as LinuxServer.io and owning its update path. Before go-live, choose one sign-in method from OIDC, SAML2 or LDAP and test how directory groups or claims map to BookStack roles. Then design the permission model across shelves, books and chapters, and decide which roles must enforce multi-factor authentication. Confirm each mapping with a test account from every group that will hold edit rights.

Wiki.js asks for more decisions about infrastructure and storage before the first page is written. It must run on a dedicated domain or subdomain, because it cannot be mapped to a subfolder, and a Linux host needs at least 1 GB of RAM. Use PostgreSQL, which the project recommends, and confirm early that the pg_trgm extension is available on that database, since the PostgreSQL search module depends on it. Next, choose a storage module such as Git, AWS S3 or DigitalOcean Spaces and document its sync direction. Git synchronizes in both directions, so decide which copy is authoritative before the first import. Finally, configure one login module, such as LDAP or Active Directory, SAML 2.0 or a generic OpenID Connect provider, and test it with a non-admin account. Run production on the 2.x line, because the 3.0 code is beta and marked not for production use.

XWiki front-loads choices about the image, release line and application server. The official Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat. Pick the release line deliberately: the stable line is 18.8.0, the long term support line is 17.10.14 and the intermediate LTS line is 18.4.7. Align that choice with how often your team can carry upgrades. Treat Tomcat and database operations as a standing task, with backups that cover both the database and the XWiki data, and test a restore. Identity usually goes through the xwiki-contrib OIDC extension, so confirm support for your identity provider and release line before committing. For Confluence content, compare XWiki SAS migration services with the Confluence Migrator Pro extension, and inventory spaces, attachments, macros and page permissions first. Effort depends on content volume and identity scope. No durations are supplied here, so a written scope should set the timeline.

Questions buyers ask before choosing a self-hosted wiki

How much does it cost to run XWiki, BookStack or Wiki.js?

All three cores are free to download and self-host, so the recurring bill is staff time, infrastructure and any paid support you add. XWiki is LGPL-2.1-or-later, BookStack is MIT licensed and Wiki.js is AGPL-3.0, so the software itself carries no license fee. Recurring costs include servers or cloud instances, the database, backups, monitoring and the hours spent on upgrades and security patches. XWiki SAS sells cloud hosting, on-premises support and Pro applications, with Pro tiers sized by user count: Starter (up to 25 users, cloud only), Basic (up to 1,000), Business (up to 10,000) and Enterprise (unlimited). BookStack offers paid support plans as well. The biggest drivers are user count, the number of integrations you need and how often you upgrade. Ask each provider for a quote built from a written scope that lists components, environments and recurring tasks.

How long does a wiki migration take, and what sets the timeline?

The timeline depends mostly on content volume, the condition of the source material and how much permission logic must be rebuilt in the target. A typical project moves through four stages: an inventory of spaces, pages, attachments and users; a map from the old permission model to the new one; a trial import on a copy; and then link, macro and identity repair followed by user acceptance testing. Pages with many attachments, custom macros or heavy plugin use take longer to convert. Identity work adds time when directory groups must map to wiki roles. Archiving stale content before the import shortens the job. A reliable estimate only comes from a test import of a representative sample of your own spaces, so ask any implementer for a stage plan built on that sample and written acceptance criteria that close the migration.

What skills does the team need to run XWiki, BookStack or Wiki.js?

Each platform has a different runtime, so the skills follow the one you choose. XWiki runs on Tomcat with a MySQL, PostgreSQL or MariaDB database, and its official Docker images come in those three database variants. BookStack needs PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later. Wiki.js needs Node.js, and PostgreSQL is the recommended database, with at least 1 GB of RAM on Linux and a dedicated domain or subdomain. Across all three, the team should be able to patch the runtime, rotate database credentials, read application logs, configure a reverse proxy with TLS, test restores and apply release upgrades. The largest gap is usually the runtime the team has never operated: Java application servers for XWiki, PHP for BookStack and Node.js for Wiki.js. Check the Wiki.js requirements and the other two sets of requirements with the vendor before you budget staff time.

Can our own staff deploy and run a self-hosted wiki without a partner?

Yes, if the team already runs web applications on a similar stack and has a named owner for upgrades, backups and access control. A small team can install any of the three from its official documentation, and the first deployment is often the easiest part. The gaps usually appear later in integration and security work: SSO configuration, group-to-role mapping, audit logging, backup restore tests and reverse proxy hardening. Wiki.js supports generic OpenID, SAML 2.0 and LDAP, and BookStack supports OIDC, SAML2 and LDAP, so identity setup is mostly configuration plus testing. If nobody on your team can own those tests, plan for an implementation partner. DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.

Can Confluence content move into XWiki, and what should we confirm?

Yes, XWiki SAS offers Confluence to XWiki migration services, and the XWiki Store lists a Confluence Migrator Pro extension. Confirm the following before you commit: which Confluence version and content types the migrator handles, how Confluence space and page restrictions map to XWiki rights, and how attachments, macros and user identities come across. Ask for a test run on a copy of one of your largest and most permission-heavy spaces, plus a written list of content that will not convert cleanly or will need manual rework. Moving content into BookStack or Wiki.js follows the same approach, but confirm whether a migration tool exists for your source and target before planning. Treat any vendor statement about fidelity as a claim to verify on your own content.

Is Wiki.js 3.0 ready for production use?

No. Wiki.js 3.0 is in beta, and the main repository marks it as not for production use. For production, run the stable 2.x line, which now lives in the requarks/wiki-v2 repository, where v2.5.316 was published on October 2, 2026. Build your deployment, backups and runbooks around 2.x and check the release page before each upgrade. Wiki.js 2.x supports PostgreSQL, which is recommended, as well as MySQL 8.0 or later, MariaDB, MS SQL and SQLite. Treat the 3.0 beta as a test environment for evaluating features. When 3.0 reaches a stable release, test the upgrade path on a copy of your data, confirm how your authentication modules and storage settings carry over, and ask your vendor or partner how they will handle the move.

Does BookStack run in Docker, and are there official images?

BookStack does not publish official Docker images, so a container deployment means a community image or your own build. The project's installation documentation provides official installation scripts for Ubuntu 26.04, 24.04 and 22.04, and it points to community Docker setups such as LinuxServer.io. If you choose a community image, check who maintains it, which PHP and database versions it pins, how quickly it follows BookStack releases and whether your team can rebuild it from the official source. Each version must still meet the requirements of PHP 8.2 or later and MySQL 8.0 or MariaDB 10.6 or later. Recent point releases, such as v26.09.1 on September 29, 2026, show the pace of change, so put image updates in your normal patch cycle. Your platform team should confirm the image strategy before the first deployment.

How DeployOpen helps choose and implement a self-hosted wiki

DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks. For XWiki vs BookStack vs Wiki.js, that means the choice is worked through against your identity, database and hosting constraints before installation starts. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first.

How we scope

  • The written scope names which of the three platforms are in play and why, for your use case.
  • It records your requirements: page structure, editing model, permissions, SSO provider, and expected user count.
  • Deliverables and timelines are agreed in writing before work starts, and ongoing support can follow as a retainer.

How we build

  • Build XWiki from its MySQL, PostgreSQL or MariaDB variants, or BookStack on MySQL or MariaDB, per the scope.
  • Wire SSO: BookStack via OIDC, SAML2 or LDAP; Wiki.js via its SAML 2.0 or OpenID Connect modules.
  • Test permissions and sign-in paths before go-live, including XWiki's wiki, page and hierarchy rights.

How we hand over

  • Document the deployed platform, its database, storage and backup steps, and the upgrade path for each release line.
  • For XWiki, record which line you run: stable, LTS or intermediate LTS, since each moves on its own schedule.
  • For Wiki.js, confirm the stable 2.x line is running and record why the 3.0 beta is excluded.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrades follow each platform's release line, so the retainer should name the versions it covers.
  • Ask whether the retainer covers XWiki Pro applications, which are paid offerings from XWiki SAS.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.