GitBook
Replaceable in one session with an AI coding agent.
Documentation hosting with an editor anyone can use. Pages are written in the browser or synced from a repository, and readers get navigation, search, versions and a published site under your own domain.
Build me a documentation site that is fast, searchable and readable with scripting off. STACK - Astro in static output, Markdown and MDX content collections - Deployed as static files, no server CONTENT - Docs as files in a directory tree; front matter for title, description, order and an optional redirect-from list - The sidebar is generated from the tree and never hand-maintained SEARCH - A build-time JSON index and a small hand-written scorer - Title matches weighted above headings, headings above body - Keyboard navigation, and no external search service READING - Table of contents per page from the headings, with a scroll-spy highlight - Syntax-highlighted code with a copy button and per-language tabs - Callout components for note, warning and danger VERSIONS - A directory per version and a version picker - A canonical link from an old version to the current page, so search engines are not confused THE SMALL THINGS THAT MATTER - An "edit this page" link to the repository on every page - Open Graph images generated at build time, plus a sitemap - A 404 that suggests the nearest pages using the same search score BUDGET - Under 15KB of JavaScript, and every page readable with scripting disabled Include a README on the index format, the scorer weights and how to cut a version.
What you lose
- A WYSIWYG editor colleagues who do not use git will actually write in
- Hosted search across the whole documentation set, tuned and instant
- Versioned documentation branches with a review flow around them
- Analytics on which pages readers give up on
- Hosting, TLS and a docs domain that someone else keeps up
If you would rather not build
- MkDocs Material — mature, Python-based, excellent search
The escape hatch
open source · no votes, no paid placement
Docusaurus
$0Documentation site generator with versioning, search and Markdown pages.
facebook/docusaurusfree · open source
Starlight
$0Documentation theme for Astro: sidebar, search and dark mode out of the box.
withastro/starlightfree · open source
Why this verdict
our own opinion · changed only by a person
78/100
Verdict yes at 78: static documentation is one of the best-solved problems there is, and at $65 per site per month the arithmetic is not close. The genuine loss is a WYSIWYG editor for non-technical colleagues, which is why this is not in the nineties.
History
tracked since 6 Aug 2026 · nothing is ever overwritten
Nothing recorded yet. This chart fills in once the page has visitors, votes or prompt copies — it will not draw a flat line to look busy.
Questions about GitBook
answered from the record above
Is GitBook free?
No — the plan we track is $65 a month. Premium, $65 per site per month billed annually, plus $12 per additional user per month. The per-site charge is the part that surprises people.
Can you replace GitBook by building your own?
YES. Replaceable in one session with an AI coding agent. Replacement score 78 out of 100, build time one session. Read what you lose before you decide.
How much does GitBook cost?
$65 a month on Premium — $780 a year. Recorded 6 Aug 2026.
What do you lose by replacing GitBook?
A WYSIWYG editor colleagues who do not use git will actually write in; Hosted search across the whole documentation set, tuned and instant; Versioned documentation branches with a review flow around them; Analytics on which pages readers give up on; Hosting, TLS and a docs domain that someone else keeps up. If any of those carry weight for you, keep paying.
Is there an open-source alternative to GitBook?
Yes: Docusaurus, Starlight. The prompt on this page is for when you want it your way instead.
Related entries
same category first, most replaced first
Every week, something stops being worth paying for.
New verdicts, prices that moved, entries added. One email a week. Unsubscribe in one click.
free forever · no tracking pixel · every prompt stays free on the site