BookStack vs DokuWiki

BookStack and DokuWiki are both free, self-hosted, open-source wiki platforms, but they take different architectural approaches: BookStack runs on a…

Best for BookStack: Teams that want a more polished, structured editing experience out of the box — WYSIWYG plus Markdown editing, built-in diagramming, and enterprise auth (OIDC/SAML2/LDAP) — and don't mind running a MySQL database.
Best for DokuWiki: Teams that want the lightest possible infrastructure footprint — no database to install, back up, or maintain — and are willing to rely on DokuWiki's plugin ecosystem and simple markup syntax instead of a visual editor.

At a Glance

 BookStackDokuWiki
Primary categoryKnowledge BaseKnowledge Base
Pricing modelFree/Open SourceFree / Open Source
Starting priceFreeFree
Free planNot listedYes
PlatformsWebWeb
Public APIYesNot listed

Key Differences

Storage Architecture

BookStack: BookStack requires a MySQL database as part of its PHP/Laravel/MySQL stack.

DokuWiki: DokuWiki uses flat-file storage, saving pages and revisions as plain text files with no database required at all.

A database-free architecture removes an entire layer of infrastructure to install, back up, and maintain.

Content Structure & Editing

BookStack: BookStack organizes content hierarchically into Books, Chapters, and Pages, with a WYSIWYG editor and an optional Markdown editor with live preview, plus built-in diagrams.net drawing tools.

DokuWiki: DokuWiki uses a simple, lightweight wiki markup syntax rather than a documented WYSIWYG editor, and does not document a built-in diagram tool.

A visual editor and built-in diagramming lower the barrier for non-technical contributors, while markup-based editing appeals to technically comfortable teams.

Extensibility

BookStack: BookStack's extensibility centers on its built-in feature set rather than a documented plugin marketplace.

DokuWiki: DokuWiki has a large community plugin and template ecosystem built up since 2004, with over 4,700 GitHub stars.

A mature plugin ecosystem lets teams add functionality (specialized markup, integrations) without waiting on core development.

Enterprise Authentication

BookStack: BookStack documents OIDC, SAML2, and LDAP support, plus TOTP-based multi-factor authentication.

DokuWiki: DokuWiki's documented access control is ACL-based, without OIDC/SAML2/LDAP or MFA mentioned in its feature list.

Native SSO support matters for organizations that centralize authentication through an identity provider.

Project Maturity

BookStack: BookStack's founding year is not disclosed.

DokuWiki: DokuWiki has been actively maintained since 2004, with over 4,700 GitHub stars and hundreds of forks.

A longer, documented track record can be a signal of stability and long-term plugin/community support.

Feature-by-Feature

Storage & Infrastructure

FeatureBookStackDokuWiki
Runs without a databaseUnavailableAvailable
Runs on low-cost/shared hostingAvailableAvailable
Revision historyNot listedAvailable
Plugin/template ecosystemNot listedAvailable

Content & Editing

FeatureBookStackDokuWiki
WYSIWYG editorAvailableNot listed
Markdown editor with live previewAvailableNot listed
Built-in diagrammingAvailableNot listed
Hierarchical Books/Chapters/Pages organizationAvailableNot listed

Security & Access Control

FeatureBookStackDokuWiki
Access control lists / permissionsAvailableAvailable
Enterprise SSO (OIDC/SAML2/LDAP)AvailableNot listed
Multi-factor authenticationAvailableNot listed

Pricing Compared

Starting price reflects the lowest paid tier, not the full cost for every team size or usage level.

BookStack

Open Source / Self-Hosted — Free one-time (self-hosted)

DokuWiki

Open Source — Free N/A

Pros and cons of each: read our BookStack review and DokuWiki review.

Use Cases

Choose BookStack: Teams that want a more polished, structured editing experience out of the box — WYSIWYG plus Markdown editing, built-in diagramming, and enterprise auth (OIDC/SAML2/LDAP) — and don't mind running a MySQL database.
Choose DokuWiki: Teams that want the lightest possible infrastructure footprint — no database to install, back up, or maintain — and are willing to rely on DokuWiki's plugin ecosystem and simple markup syntax instead of a visual editor.
Need both: There isn't a realistic scenario for running both simultaneously — they solve the same problem (a self-hosted documentation wiki), so a team would typically evaluate both and pick one rather than maintain two overlapping wikis for the same content.

Frequently Asked Questions

Does either require a database?

BookStack requires MySQL as part of its PHP/Laravel/MySQL stack. DokuWiki explicitly needs no database, storing everything as flat plain-text files.

Which is better for very large wikis?

This isn't clearly documented for either, but DokuWiki's own listed cons note that flat-file storage 'can be slower than a database for very large wikis' — a tradeoff BookStack's MySQL backend is designed to avoid.

Which has more enterprise SSO options?

BookStack documents OIDC, SAML2, and LDAP support. DokuWiki's documented access control is ACL-based, without those SSO protocols listed.

Which project has been around longer?

DokuWiki has been maintained since 2004 (its founded_year is documented as 2004). BookStack's founding year is not disclosed.

Do either have built-in diagramming?

BookStack includes diagrams.net drawing tools directly in its page editor. DokuWiki does not document a built-in diagram tool, though it can likely be extended via its plugin ecosystem.

Are both really free?

Yes — BookStack is MIT licensed and DokuWiki is GPL-2.0 licensed, both fully free and open source with no pricing plans or paid tiers.

More knowledge base software comparisons

All knowledge base software comparisons · All knowledge base tools

Read the full BookStack review · Read the full DokuWiki review