Mkdocs Material

Open source

Material for MkDocs is an MIT-licensed theme that turns Markdown files into a documentation site, with search, social cards and code annotations.

Open-source alternative to

squidfunk.github.io
Mkdocs Material homepage screenshot
GitHub stars
28k
Last 30 days
+55(+0%)
Last commit
2 days ago
Repository age
10 years
Version
9.8.2
Licence
MIT
Self-hosted
Yes

About Mkdocs Material

Material for MkDocs is a documentation theme for MkDocs. You write in Markdown and it produces a static site, with no need to know HTML, CSS or JavaScript. The layout adapts to desktop, tablet and mobile screens.

Search runs entirely in the reader's browser, can look inside code blocks, can exclude or boost pages, and works offline. Code annotations let you attach formatted text, images, diagrams and more to a code block, and a social plugin generates a preview image for each page.

Colors, fonts, language, icons and logo are set with a few lines of configuration. The project is MIT-licensed. Its site announces end of life on May 5, 2027, with critical maintenance until then while the team builds Zensical as a compatible successor.

Key features

  • Builds a static site from plain Markdown
  • Responsive layout for any screen size
  • Colors, fonts, icons and logo set in configuration
  • In-browser search with page exclusion and boosting
  • Code annotations for rich explanations in code blocks
  • Generated social preview images for each page

Good fit for

  • Product documentation
  • Open source project docs
  • Technical writing with annotated code
Built with
Python tools
Tags
documentation
mkdocs
markdown
static site
theme
technical writing

Mkdocs Material: questions and answers

What is Mkdocs Material used for?
Mkdocs Material is a material for MkDocs is an MIT-licensed theme that turns Markdown files into a documentation site, with search, social cards and code annotations. It is a good fit for product documentation, open source project docs and technical writing with annotated code.
Is Mkdocs Material open source?
Yes. Mkdocs Material is open source under the MIT licence. Its source code is on GitHub at squidfunk/mkdocs-material and is written mainly in Python.
Is Mkdocs Material free?
Yes. Mkdocs Material is open source, so the software itself is free to use.
Can I self-host Mkdocs Material?
Yes. Mkdocs Material can be self-hosted on your own server or infrastructure.
What is Mkdocs Material an alternative to?
Mkdocs Material is an open-source alternative to Mintlify. Other open-source alternatives to Mintlify include Readthedocs.org, Gramax and GitBook.
Is Mkdocs Material actively maintained?
Yes. The most recent commit to Mkdocs Material was on 19 November 2026, and the latest release is 9.8.2, published on 19 November 2026. The project has 28k stars on GitHub, with 55 added in the last 30 days.

Open-source alternatives to Mkdocs Material

See all

SaaS alternatives to Mkdocs Material

See all