MkDocs
MkDocs is a free static site generator for project documentation written in Markdown and configured with a YAML file.
What MkDocs is
MkDocs is a free static site generator for project documentation written in Markdown and configured with a YAML file. It turns documentation into static HTML that can be hosted on GitHub Pages, Amazon S3, or another static-file service. A local development server previews the site and reloads it after changes, while generated documentation includes search that can link directly to matching sections. The built-in mkdocs and readthedocs themes are available alongside third-party and custom themes. Themes, plugins, Markdown extensions, and configuration settings provide ways to shape the output. MkDocs uses Python-Markdown and requires a recent Python version and pip. Its command-line tools include commands for creating projects, serving previews, building sites, getting dependencies, and deploying to GitHub Pages. The built-in mkdocs theme supports multiple locales, including English, German, Spanish, French, Japanese, and Chinese. MkDocs is distributed under the BSD license. Keep in mind that third-party themes and plugins execute code from their authors, and MkDocs does not sandbox that code.
Good
- Free static-site generator for Markdown project documentation.
- Local preview reloads after documentation changes.
- Generated sites include search linking to matching sections.
- Static HTML can be hosted on GitHub Pages or Amazon S3.
Watch out
- Requires a recent Python version and pip.
- Third-party themes execute author-supplied code without sandboxing.
- Plugins execute author-supplied Python code without sandboxing.
Who it suits
MkDocs suits people building project documentation sites from Markdown files, especially those comfortable with Python and command-line tools. It can also suit teams that want static HTML output for a hosting provider of their choice.
Verdict
MkDocs is a focused option for producing searchable static documentation from Markdown. Review third-party theme and plugin code carefully, since the project does not sandbox it.
The facts
Each one read from MkDocs's own pages, with the date it was checked.
What it does
- Audience
- MkDocs is intended for people building project documentation sites from Markdown files.checked 1 Oct 2026
- CLI
- The command-line interface provides build, get-deps, gh-deploy, new, and serve commands.checked 30 Sep 2026
- Custom domain
- Yeschecked 20 Sep 2026
- Customization
- Users can customize themes, install plugins, enable Markdown extensions, and configure many options.checked 1 Oct 2026
- Deployment
- MkDocs documents deployment to GitHub Pages and Read the Docs and states that any static-file hosting provider can be used.checked 30 Sep 2026
- Deployment command
- The command-line interface includes gh-deploy for deploying documentation to GitHub Pages.checked 1 Oct 2026
- Hosting
- Generated sites can be hosted on GitHub Pages, Amazon S3, or other hosting services.checked 1 Oct 2026
- Installation
- MkDocs is installed with the Python package manager using pip install mkdocs.checked 1 Oct 2026
- Integrations
- MkDocs documentation can be deployed to GitHub Pages and hosted on Amazon S3.checked 1 Oct 2026
- License
- MkDocs is distributed under the BSD license, which permits redistribution and use in source and binary forms subject to its conditions.checked 1 Oct 2026
- Live preview
- The built-in development server previews documentation and auto-reloads when files change.checked 1 Oct 2026
- Localization
- The built-in mkdocs theme supports multiple locales, including English, German, Spanish, French, Japanese, and Chinese.checked 30 Sep 2026
- Markdown engine
- MkDocs uses Python-Markdown to render Markdown and supports Markdown extensions.checked 30 Sep 2026
- Output
- MkDocs builds static HTML files that can be hosted on GitHub Pages, Amazon S3, or any other static-file host.checked 30 Sep 2026
- Plugin ecosystem
- Third-party plugins are installed as Python packages and can be listed in the MkDocs Catalog.checked 1 Oct 2026
- Plugin security
- MkDocs warns that plugins execute their authors' Python code and provides no sandboxing.checked 1 Oct 2026
- Publishing audience
- bothchecked 20 Sep 2026
- Purpose
- MkDocs is a static site generator geared toward building project documentation from Markdown and a single YAML configuration file.checked 1 Oct 2026
- Requirements
- MkDocs requires a recent version of Python and pip.checked 1 Oct 2026
- Search
- The generated site includes search that can find text on pages and link directly to matching sections.checked 30 Sep 2026
- Static output
- MkDocs builds completely static HTML sites.checked 1 Oct 2026
- Support
- The project directs users to GitHub Discussions and GitHub Issues for help.checked 1 Oct 2026
- Themes
- MkDocs includes built-in mkdocs and readthedocs themes and supports third-party or custom themes.checked 1 Oct 2026
Money
- Free plan
- Yeschecked 20 Sep 2026
Alternatives to MkDocs
- 1

Scalar
Free planOpen sourceWebAPILinuxmacOS8.4From $150 a month - 2

Redocly
WebAPIExtension7.0From $10 a month - 3

Sphinx
Free planWebAPILinuxmacOS7.0Free plan - 4

Asciidoctor
Free planWebAPIExtensionLinux6.9Free plan - 5
JSON Schema for Humans
Free planLinuxmacOSSelf-hostedWindows6.5Free plan - 6
StepShot
Free planmacOS6.5CN¥269 one-time
