Skip to content

Meet Grav 2

Grav is a free, open-source flat-file CMS – a website system that stores content as plain Markdown files instead of a database. Grav 2 is its new version, now a stable release.

MERMAID
flowchart LR
  accTitle: How Grav 2 works
  accDescr: Markdown files, edited in Admin 2 or any editor, go into Grav 2, which produces web pages and Markdown versions.
  A[Markdown files] --> B[Grav 2]
  B --> C[Web pages]
  B --> D[Markdown versions]
  E[Admin 2 or any editor] --> A

This diagram is written as plain text, with the free Mermaid plugin – GitHub draws it too – and math works the same way with LaTeX Math, like $E = mc^2$.

What's new in Grav 2:

  • Admin 2 – a modern editing panel, rebuilt from scratch, for writing and organizing pages in the browser
  • A Markdown version of every page – add .md to a page's address to get its Markdown (Grav 2.1 release notes), or turn it off in Grav's settings
  • Actively maintained – every finding from a security scan in October 2026 was fixed and released
  • Faster under the hood, and still just files – twice as fast in Grav 2.2, by the Grav team's measurements, and a site that's simple to back up, copy and move

This page in a browser, beside its Markdown version at the same address with .md added – the same text, with the diagram written as plain text

This page, and its Markdown version

See this page as Markdown, and compare the diagram with the text that draws it.

What Grav has always had:

  • Free and open source (MIT license), with over 15,000 stars on GitHub
  • Themes and plugins for search, feeds, forms and more
  • Several languages – multilingual sites built in, and Admin 2 can translate every string the site shows
  • Runs on a standard web host – no special web server setup

And this is Admin 2, where pages like this one are organized, written and previewed:

The Admin 2 Pages screen, showing this guide's six parts plus Topics and Resources in columns, with this page selected and its details beside them

Admin 2: this guide's pages

The Admin 2 editor with this page open, showing its opening paragraph and diagram as Markdown, beside a Page Info panel

This page, open in the Admin 2 editor

Admin 2's Page Preview window, showing this page's title, opening paragraph and diagram as readers see them, with the guide's sidebar beside them

The same page in Admin 2's Page Preview

Try the Admin 2 panel: read-only demos for Open Publishing Space and Open Course Space (the sign-in details are on their sign-in screens).

Coming from WordPress? Much of it will feel familiar:

In WordPress In Grav 2
Dashboard Admin 2
Pages and posts Pages, each a Markdown file in its own folder – with a blog page for posts
Block editor Markdown, with shortcodes for extras like callouts and embeds
Database None – just files
A backup plugin Copy the site's folder

For a detailed look, including when WordPress is the better pick, see Grav vs WordPress: An Honest Comparison by Grav's creator.