GitBook vs Confluence vs XWiki: which fits your team
A team replacing or starting a knowledge base usually chooses between a hosted docs tool, a hosted Atlassian wiki and a self-hosted structured wiki, and where the content must live usually decides it. GitBook fits teams whose documentation is Markdown in GitHub or GitLab and who accept a hosted service, because Git Sync keeps repository commits and editor changes in step in both directions, and only administrators and creators can enable and configure it. Confluence fits organizations already standardized on Atlassian who accept Atlassian Cloud, since Atlassian stopped selling new Data Center subscriptions to new customers on March 30, 2026. Confluence Cloud XML export ends on December 1, 2026, so any migration or archive plan that relies on XML needs a CSV or HTML route instead.
XWiki fits organizations that need self-hosting, page-level rights and an LGPL base, and that will run the stack themselves. The platform is LGPL-2.1 licensed, and its official Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat. Rights can be set for view, comment, edit and delete at wiki, page or hierarchy level, and XWiki markets version control for every page change. The trade-off is operating effort: your team owns the Tomcat service, the database, backups and each upgrade. XWiki publishes a stable line (18.8.0), a long term support line (17.10.14) and an intermediate LTS line (18.4.7), so confirm which line you will track and its support window with XWiki before sizing the project. Confluence Migrator Pro, a paid XWiki SAS extension, imports Confluence XML and CSV backups but does not preserve attachment history, so plan for that gap.
Settle hosting and identity before comparing features, because they remove options early. GitBook lists SAML SSO only on its GitBook pricing Enterprise plan, while Google and email domain SSO are available on all plans, so an organization that requires SAML must request an Enterprise quote. Atlassian data residency covers Confluence on Standard, Premium and Enterprise plans in locations such as the EU and Germany, but user account data is out of scope and it is not available on Atlassian Government Cloud. XWiki's SSO options depend on Pro applications sold by XWiki SAS, so confirm the method your directory needs. Ask each vendor for the SSO method, the plan it requires and the residency scope in writing before you request a quote.
Which platform fits which team, scenario by scenario
This table matches GitBook, Confluence and XWiki to five common team situations. Read each row by its best fit, the condition that has to hold for that fit, and the case where another platform is the better choice. The main takeaway is that hosting location and existing tooling usually decide the shortlist before features do.
| Scenario | Best fit and why | Holds when | Choose another platform when |
|---|---|---|---|
| Product team keeps docs as Markdown in GitHub or GitLab | GitBook. Git Sync is on every plan and syncs edits and commits both ways. | Docs live in the repository, editors write Markdown, and a hosted service passes your data policy. | XWiki, if docs must stay on your own servers. Confirm GitBook's hosting options with the vendor first. |
| Atlassian-standardized company | Confluence. Keeps one vendor, one admin model and Jira links across the company. | Your plan is Standard, Premium or Enterprise and a listed data residency location meets your rules. | Your rules require hosting in your own infrastructure. Confluence Cloud is hosted by Atlassian, so choose XWiki instead. |
| Regulated organization that must keep pages in its own infrastructure | XWiki, self-hosted. LGPL-2.1 software on your servers, with page and hierarchy rights. | Your team can run Tomcat with MySQL, PostgreSQL or MariaDB, and owns upgrades and backups. | GitBook or Confluence, only if your rules accept vendor-hosted data. Confirm their hosting options first. |
| Small team on a hosted plan with few users | GitBook Free covers one user at $0. Essential is $65 per site plus $12 per user per month, billed annually (GitBook pricing page). | You need Google or email domain sign-in, since SAML SSO is only on Enterprise. | XWiki Standard, free and self-hosted, if the team needs self-hosting or per-page rights and can run a server. |
| Team leaving Confluence | XWiki with Confluence Migrator Pro, a paid XWiki SAS extension that imports XML and CSV backups. | You accept losing attachment history, and you export CSV because Confluence Cloud XML export is end of life. | GitBook, if the team plans to move docs into Git repositories and edit them in Markdown. |
Decision path: hosting control first, then content model and identity
The diagram starts with hosting control. If pages must stay in your own infrastructure, the path leads to XWiki, where you then choose the stable or LTS line, since XWiki maintains both in parallel. If pages can live in a vendor cloud, the next question is whether your documentation already lives in Git repositories, which points to GitBook with Git Sync, or whether your organization already runs Atlassian Cloud, which points to Confluence. Every remaining path reaches an SSO check. GitBook lists SAML only on its Enterprise plan, while XWiki Pro lists Active Directory and Azure Active Directory SSO applications. The last step is to confirm data residency and plan limits with the vendor.
Decision path from hosting control to content model and identity.
How GitBook, Confluence and XWiki compare on hosting, editing and permissions
This table compares GitBook, Confluence and XWiki on hosting, licensing, data residency, Git integration, identity, permissions, version control and migration. Where a cell says to confirm, treat it as a question to put to the vendor before you commit. The main takeaway: XWiki gives you the most direct control over hosting and page rights, GitBook fits teams that keep documentation in Git, and Confluence fits teams that accept Atlassian's cloud terms.
| Area | GitBook | Confluence | XWiki |
|---|---|---|---|
| Deployment model | Hosted by GitBook. Confirm whether any self-hosted option exists for your plan. | Atlassian cloud. Sales of new Data Center subscriptions to new customers ended March 30, 2026. | Self-hosted on your own servers or containers. XWiki SAS also offers XWiki Cloud. |
| License | Commercial subscription. Confirm the terms in your order form. | Commercial Atlassian subscription. Confirm the terms for your plan. | LGPL-2.1 or later for xwiki-platform. Paid Pro apps and support come from XWiki SAS. |
| Data residency | Confirm hosting regions with GitBook before you commit. | Available on Standard, Premium and Enterprise plans in listed regions, including the EU and Germany. User account data is out of scope. | Set by where you host it. XWiki Cloud runs on ISO 27001 certified infrastructure. |
| Git integration | Git Sync is bi-directional with GitHub and GitLab and included on every plan. Only admins and creators can configure it. | Ask Atlassian whether any repository sync exists for your plan. | Ask XWiki SAS whether an extension covers repository sync for your needs. |
| SSO tiering | SAML SSO only on Enterprise. Google and email domain SSO on all plans. | Confirm which SSO options each Confluence plan includes before you commit. | Active Directory and Azure Active Directory SSO apps are listed in XWiki Pro. Confirm Standard options. |
| Permission granularity | Git Sync setup is limited to admins and creators. Confirm page-level rights with GitBook. | Confirm space and page restriction options on your plan with Atlassian. | View, comment, edit and delete rights at wiki, page or hierarchy level. |
| Page version control | Editor edits and repository commits both sync, so repository history can cover changes. | Confirm version history retention and restore options for your plan. | Every page change is kept under version control. |
| Export and migration paths | Content syncs as Markdown files in a GitHub or GitLab repository. | Space export as PDF, CSV, HTML or XML. XML reaches end of life on December 1, 2026; CSV is recommended. | Paid Confluence Migrator Pro imports XML and CSV backups from Confluence Server, Data Center and Cloud. |
| Attachment migration | Confirm how attachments map to repository files before you migrate. | Confirm how attachments are carried in space exports for your format and plan. | Migrator Pro imports attachments but does not preserve attachment history. |
GitBook vs Confluence vs XWiki licensing: what is free and what is paid
GitBook is sold as a hosted service, so the licensing question is about seats, sites and subscription terms that apply to the content GitBook hosts for you. The plans below are the ones listed on its GitBook pricing page.
- Free at $0. One user is included at no charge. Custom domains are not included on this plan, so a branded documentation site needs a paid plan.
- Essential and Ultimate. Essential is $65 per site per month and Ultimate is $249 per site per month, with $12 per user per month on both. Both are billed annually, so seat count and site count set the recurring cost.
- Identity features by plan. Google and email domain SSO are available on all plans. SAML SSO is listed only on Enterprise, so a SAML requirement moves you to a custom quote.
- Git Sync on every plan. Git Sync connects GitHub or GitLab Markdown repositories to GitBook in both directions. Only administrators and creators can enable and configure it, so decide who holds those roles before rollout.
- Enterprise pricing. Enterprise is priced on request, so the written quote is where you confirm SAML, support and data terms.
Before you commit, ask GitBook for a written quote that states the site count, seat count, annual billing, SAML scope and the location where your content is hosted.
Atlassian sells Confluence as Cloud subscriptions, and this page does not state list prices, so confirm current pricing with Atlassian before you budget. The larger licensing changes concern self-managed editions, which have reached the end of their support or sales windows.
- Server support ended. Atlassian ended support for Confluence Server on February 15, 2024, so an older self-managed instance has no vendor support path. See Atlassian's journey to cloud announcement for the background.
- Data Center closed to new customers. New Data Center subscriptions ended for new customers on March 30, 2026. Existing customers can buy licenses or expansions until March 30, 2028, and Data Center licenses become read-only on March 28, 2029.
- Data residency on paid plans. Data residency is available for Confluence on Standard, Premium and Enterprise plans in listed regions, including the EU, Germany, the UK and the USA. User account data is out of scope, and residency is not available on Atlassian Government Cloud.
- Export and backup options. Space admins can export a space as PDF, CSV, HTML or XML, and site admins can create a full site backup. XML site and space export reaches end of life on December 1, 2026, and Atlassian recommends CSV export after that date.
Ask Atlassian for a written quote per user tier and plan, confirm which plan includes the residency you need, and confirm the export format you will keep for records.
XWiki Standard is the free, open source edition under LGPL-2.1, so the software carries no license fee. Paid spending comes from XWiki Pro subscriptions, which add business applications, connectors and XWiki SAS support, and from the paid Confluence Migrator Pro extension if you are moving content off Confluence.
- Standard is free. XWiki Standard is open source under LGPL-2.1. Your costs are hosting, administration and any services you buy, such as installation help or training.
- Pro tiers are set by user count. Starter covers up to 25 users and is available on XWiki Cloud only. Basic covers up to 1,000 users, Business up to 10,000, and Enterprise has no user limit.
- Same price on cloud and on-premises. XWiki SAS states that cloud and on-premises pricing is the same, so the hosting choice does not change the subscription price.
- Pro apps and connectors. The Pro list includes Active Directory and Azure Active Directory SSO applications, File Manager, Forum, Polls, Calendar, Diagram, and Google Apps, Office365 and OnlyOffice connectors. Check that the apps you need are in the tier you buy.
- Confluence Migrator Pro. This paid extension from XWiki SAS imports XML and CSV backups from Confluence Server, Data Center and Cloud, including pages, attachments, permissions and users. It does not preserve attachment history. See the XWiki Store listing.
In a written quote, ask for the tier and user count, the Pro apps included, the support channels and hours, whether Migrator Pro is priced separately, and the annual price for cloud or self-hosted delivery.
Where your pages live and who controls the data
The hosting model decides who runs the servers, who can reach the stored content and which audit questions you must answer. GitBook and Confluence Cloud are vendor-hosted services, so the content sits in the vendor's infrastructure and your team does not operate the application. XWiki offers a different model: you run it on your own servers or cloud accounts from the official Docker images, with MySQL, PostgreSQL or MariaDB behind Tomcat. XWiki SAS also sells XWiki Cloud on ISO 27001 certified infrastructure, which is a vendor-hosted option, so confirm which of the two you are buying. If hosting control is a hard requirement, ask GitBook in writing whether any self-hosted option exists, because the plan pages do not say.
Atlassian data residency is the control to read closely if you stay on Confluence Cloud. It covers Jira, Jira Service Management and Confluence on Standard, Premium and Enterprise plans, with listed locations such as the EU, Germany, Switzerland, the UK, the USA and Australia. The exclusions matter as much as the regions: user account data and connected DevOps data are out of scope, and the feature is not available on Atlassian Government Cloud. Ask Atlassian which of your data categories stay outside the chosen region and keep that answer with your records. GitBook's Git Sync offers a partial control: it syncs GitHub or GitLab repositories of Markdown files with GitBook in both directions, so a copy of your source can live in your own repository, but only administrators and creators can enable and configure it. Confirm where GitBook stores rendered pages and which subprocessors touch them.
Backups and exports follow the hosting model, so settle them before migrating content in. In Confluence Cloud, space admins can export a space as PDF, CSV, HTML or XML, and site admins can create a full site backup from the backup manager. The XML site and space export reaches end of life on December 1, 2026, and Atlassian recommends CSV from then on, so build any exit plan around CSV and test it on a sample space. On your own XWiki servers, your team owns the database, attachments and backup schedule, and a restore is only as good as the last tested one. With XWiki Cloud or GitBook, ask the vendor who takes backups, how long they are kept, whether a full export is possible and what it costs. For every option, get the data location, the subprocessor list and the export formats in writing before you sign.
GitBook vs Confluence vs XWiki cost: what drives the running bill
The running bill for these three depends on how each vendor counts people and sites, which features sit in paid tiers, and what you carry yourself when the software runs in your own infrastructure. The cards separate recurring fees from one-time migration and exit costs, and they list what to request in writing before you compare totals.
GitBook seats and sites
GitBook bills by user and by site. The Free plan covers one user at $0. Essential is per site and per user: $65 per site per month plus $12 per user per month, and Ultimate is $249 per site per month plus $12 per user per month, both billed annually. Each site carries its own fee, so count sites as well as editors before you model the year. SAML SSO is listed only on Enterprise, where pricing is custom, so an identity requirement can move you off the published tiers. Ask for the annual total with every site and seat line itemized.
GitBook pricingConfluence subscription and residency
Confluence is bought as an Atlassian subscription, so the recurring bill follows the plan and the residency region you need. Data residency covers Standard, Premium and Enterprise plans, with locations including the EU, Germany, Switzerland, the UK and the USA, and it is not available on Atlassian Government Cloud. User account data and connected DevOps data fall outside its scope, so ask which data must stay in region for your review. If you run Data Center, new Data Center sales to new customers ended March 30, 2026, and existing customers can buy licenses or expansions until March 30, 2028.
Data residency docsXWiki Pro tier by user count
Standard is the free open-source XWiki, and its running cost is what you carry yourself: hosting, the database, Tomcat, upgrades and staff time. XWiki Pro adds business applications, connectors and XWiki SAS support, priced by user tier: Starter for up to 25 users, Basic for up to 1,000, Business for up to 10,000 and Enterprise for unlimited users. Starter is XWiki Cloud only, so a self-hosted team of 25 users must size for Basic. Cloud and on-premises pricing are the same, so the tier choice depends on user count, not on where you host.
XWiki SAS sitePaid migration tooling limits
Confluence Migrator Pro is a paid XWiki SAS extension, so migration tooling adds a line item beyond the platform itself. It imports XML and CSV backups from Confluence Server, Data Center and Cloud, covering pages, spaces, attachments, permissions, blog posts, and users and groups. It does not preserve attachment history, so earlier versions of files may not arrive. The open-source Confluence XML filter stream underneath it is the component the tool builds on. Ask XWiki SAS for the license price, what a migration run includes and how attachment versions will be handled.
Migrator Pro listingExit cost and the XML deadline
Exit cost depends on how much content you can take out cleanly. Cloud space admins can export a space as PDF, CSV, HTML or XML, and site admins can create a full site backup from the backup manager. The XML site and space export reaches end of life on December 1, 2026. After that date the feature still works, but Atlassian will no longer fix bugs or accept support tickets for it, and it recommends CSV export instead. Test a CSV path now and confirm that page hierarchy, permissions and attachments survive the move.
XML export end-of-life noticeWhat to ask in a quote
Ask every vendor for the same written structure so totals compare. For GitBook, request the per-site and per-user lines, the annual billing terms and the SSO tier. For Confluence, request the plan, the residency region and any Data Center terms. For XWiki, request the Pro tier, the user count and the migrator license. For a self-hosted XWiki build, ask who pays for hosting, the database, Tomcat, upgrades and staff time, and mark each item as one-time or recurring. DeployOpen issues quotes from a written scope, so define that scope before you request pricing.
What implementing each one involves and how content leaves Confluence
GitBook effort starts with repository structure. Decide whether the knowledge base lives in one GitHub or GitLab repository or several, and how folders map to sections, because Git Sync documentation describes a repository of Markdown files that syncs with GitBook in both directions. Only administrators and creators can enable and configure Git Sync, so name those people before the first sync and agree who may commit to the default branch. Confluence pages do not arrive as Markdown, so the move is a conversion step: export the spaces, convert the pages with tooling your team controls, commit the files, then check links, attachments and page order in GitBook before editors start working in both places. Ask GitBook to confirm whether it offers a direct Confluence import, since that decides how much of this work is manual.
XWiki effort starts with version selection. Choose among the stable 18.8.0 image, the intermediate LTS 18.4.7 or the LTS 17.10.14, and record the choice, because each line gets its own maintenance. Then pick the database variant, MySQL, PostgreSQL or MariaDB, each running on Tomcat, with your database administrator before the first install. Active Directory and Azure Active Directory SSO are delivered as Pro apps, so confirm licensing and identity provider fit with XWiki SAS before design begins. Permission design takes the most judgment: decide per wiki, page or hierarchy which groups from your identity administrator receive view, comment, edit and delete rights. For upgrades, plan a cadence across the parallel release branches, since 16.10.19 sits on a different line from 18.8.0 and 17.10.14, and schedule each move along its own line rather than chasing the newest number.
Start the Confluence exit with exports now. XML site and space export reaches end of life on December 1, 2026, so that is the date the XML route closes for support. After it, the features still work, but Atlassian will no longer fix bugs or accept support tickets for them and recommends CSV export instead, as set out in the Atlassian end of life notice. Run a full site backup and a test space export in each format, then compare what survives. Confluence Migrator Pro, XWiki SAS's paid extension, imports XML and CSV backups with pages, attachments, permissions, blog posts and users and groups, but it does not carry over attachment history, so decide whether that history matters before cutover. Your team must provide a Confluence site admin for exports, content owners to sign off on what moves, an identity administrator for groups and SSO, and an XWiki administrator who owns the cutover.
What buyers ask before choosing GitBook, Confluence or XWiki
Can GitBook or Confluence be self-hosted in 2026?
For Confluence, self-hosting now means Data Center, and Atlassian has closed it to new customers. Atlassian ended sales of new Data Center subscriptions to new customers on March 30, 2026, existing customers can buy licenses or expansions until March 30, 2028, and Data Center licenses become read-only on March 28, 2029 (Atlassian's Ascend announcement). Server licenses are no longer sold, and Server support ended on February 15, 2024, so an older Server install is not a path forward. If you already run Data Center, plan renewal or exit around those dates. GitBook's published pricing describes hosted plans, so confirm directly with GitBook whether any self-hosted deployment is offered before you assume one. XWiki is the option you can run on your own servers, since it is an LGPL-licensed platform with official Docker images.
What drives the running cost of GitBook, Confluence and XWiki?
Hosted tools bill you for seats and structure, while self-hosted XWiki moves most of the cost to your staff and infrastructure. The drivers differ by product:
- GitBook: its published plans bill per site and per user. Essential is listed at $65 per site per month plus $12 per user per month, and Ultimate at $249 per site per month plus $12 per user per month, both billed annually (GitBook pricing). Enterprise is custom. Site count and seat count set most of the total.
- Confluence: cost follows the edition, the number of users and the hosting model. Confirm current Cloud and Data Center pricing with Atlassian, and ask whether your user count changes your tier.
- XWiki: Standard is free open source. Pro subscriptions are tiered by user count, from Starter (up to 25 users, cloud only) to Enterprise (unlimited users), and XWiki SAS states that cloud and on-premises pricing is the same. Self-hosted cost then comes from servers, database, backups, storage and administrator time.
Setup work is one-time, while subscriptions, hosting and administration recur. Ask any quote to separate the two.
How long does a Confluence migration take to complete?
No single duration applies, because the length depends on what you move and how closely it must match the source afterward. The main drivers are:
- Space count: each space needs mapping, review and sign-off by its owner.
- Attachment volume and history: large attachment sets slow transfer and checking, and XWiki's Confluence Migrator Pro does not preserve attachment history, so decide early whether you need it.
- Permission model: groups, space permissions and page restrictions must be recreated and tested, which often takes longer than moving the content itself.
- Export path: XML site and space export in Confluence Cloud reaches end of life on December 1, 2026, and Atlassian recommends CSV export after that date.
Ask for a timeline tied to a written scope, and migrate one representative space first to test permissions before committing to the full run.
Can an internal team run XWiki without outside help?
Yes, if the team already operates Java services and relational databases, but the work is ongoing rather than a one-time install. The recurring tasks include:
- Runtime: XWiki's official Docker images run on Tomcat in MySQL, PostgreSQL or MariaDB variants, so someone must own the Java runtime, the database and the connection settings.
- Version choice: XWiki maintains a stable line, a long term support line and an intermediate LTS line in parallel. The official image tags are 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS, so the team must pick one line and track its tags.
- Upgrades and backups: test each upgrade on a copy first, and back up the database and attachments together.
- Extensions: Pro apps and connectors may add their own upgrade steps.
Check that your team has the time and skills for these tasks every month. If not, XWiki SAS offers installation, configuration help, training and on-premises support, and an implementation partner can handle setup and handover.
Does SSO require a paid tier in GitBook, Confluence or XWiki?
It depends on the product and the protocol. In GitBook, SAML SSO is listed only on the Enterprise plan, while Google and email domain SSO are available on all plans. XWiki lists Active Directory and Azure Active Directory SSO applications under its Pro offering, so confirm what XWiki Standard supports for your identity provider before you choose a tier. For Confluence, confirm with Atlassian which plans include SSO and which identity protocols each supports, because plan matrices change. Whichever product you choose, test login, group sync and offboarding against your own identity provider before purchase, since a working login alone does not show that access is removed when someone leaves.
What should a partner quote contain before a wiki project starts?
A useful quote states the written scope first, then the price that follows from it. Ask for:
- Scope: which platform, which spaces or content, which integrations (such as SSO, backups and monitoring), and what is excluded.
- Deliverables: the configured environment, migrated content, runbooks, handover sessions and test evidence.
- Timeline: milestones agreed before work starts, with dependencies on your identity team, change windows and approvals.
- Assumptions: who provides hosting, licenses and access, and what triggers a change request.
DeployOpen runs most engagements as fixed scope, with scope, deliverables and timelines agreed in writing before work starts. It does not publish a price list, so the quote follows from that written scope. Compare quotes only when each one covers the same written scope.
Where does wiki data live, and who controls backups?
Data location depends on the product and the plan, so get the answer in writing. Atlassian's data residency covers Jira, Jira Service Management and Confluence on Standard, Premium and Enterprise plans, with locations that include the EU, Germany, Switzerland, the UK and the USA. User account data and connected DevOps data are out of scope, and the feature is not available on Atlassian Government Cloud (Atlassian data residency). A self-hosted XWiki keeps data in your infrastructure, while XWiki SAS states that its cloud hosting runs on ISO 27001 certified infrastructure. For GitBook, confirm hosting regions and export options with the vendor. For any option, ask who holds backups, how long they are kept and how a restore is tested. DeployOpen prepares systems and evidence for compliance assessments, but auditors and certification bodies issue the reports and certifications.
How DeployOpen helps teams choose and implement without favoring a platform
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms inside the client's own infrastructure. Its implementation work applies directly to XWiki, while the written scope states whether any GitBook or Confluence work is included. The scope records the platform chosen and the reasons, so the decision follows your requirements.
How we scope
- The written scope names the platform, hosting model, identity provider and content sources involved.
- The scope lists which spaces, page types, permission levels and Confluence content are in or out.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we build
- For XWiki, builds cover installation, configuration, SSO integration, permission model and extension choices.
- Hardening and backup configuration appear as named deliverables in the written scope.
- Security testing can cover the wiki's permissions and SSO paths, so access rules are checked before go-live.
How we hand over
- Documentation covers the architecture, configuration, backup and restore steps, and admin procedures.
- The handover documents the decisions made and the steps staff need to run the platform.
- Where security testing is in scope, findings come with fixes and a retest.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- XWiki runs on several release lines, so the retainer should name which line your team tracks.
- If the shortlist keeps GitBook or Confluence, ask whether evaluation and migration work sits in the retainer.

