The best flat-file CMS in 2026
Five flat-file content management systems worth your time, what each is genuinely good at, and where each one will frustrate you. Written by the makers of one of them — which is exactly why every entry lists real tradeoffs.
- Choose Grav if the budget is zero.
- Choose Statamic if your team already writes Laravel.
- Choose Kirby if you want the longest track record, or multi-language content today.
- Choose Total CMS if you build in a visual tool like Stacks or Pinegrow, or the site must run on the hosting the client already pays for.
- Choose Total CMS or Kirby if the client edits their own site and the design has to survive.
- Choose Publii if you want free, with static output and no CMS on the server.
- Choose WooCommerce or Shopify if you need e-commerce. None of these five is the answer.
A note on who wrote this. We make Total CMS, one of the five. That is a conflict of interest, so rather than pretend otherwise we have marked our own entry, listed real reasons to choose the others, and priced everything from each vendor's own page. If you only take one thing from this page, take the recommendation in the "How to choose" section — it does not always say us.
A flat-file CMS stores content as files on disk instead of rows in a database. No MySQL to provision, back up, or keep in sync with your files. A site becomes a folder: copy it, commit it to git, roll it back. The tradeoff is that flat files are less suited to very large datasets and to features that assume relational queries, and the ecosystems are smaller than WordPress's by orders of magnitude.
The short version: Grav if you want free and open source. Kirby if you want a long track record and plain PHP templates. Statamic if you already work in Laravel. Publii if you want a desktop app that publishes a static site. Total CMS if you design the front end yourself, by hand or in a visual tool like Stacks, Pinegrow or Bootstrap Studio, and hand the site to a client who edits the content but can't touch the layout. It runs on ordinary PHP hosting, with an MCP server built in for AI agents.
At a glance
Five worth your time.
| Product | Price | Best for |
|---|---|---|
| 1. Grav | Free (MIT); optional premium add-ons $25–$100 | Anyone who wants open source with nothing paywalled |
| 2. Kirby | €99 Basic (under €1M revenue) / €349 Enterprise, per site | Developers who want plain PHP and a long track record |
| 3. Statamic | Free Core / $349 Pro per site, then $99/year for updates | Teams already building on Laravel |
| 4. Total CMS Ours | $195 Standard / $395 Pro, one-time per domain | Designers handing sites to clients, including sites built in Stacks, Pinegrow or Bootstrap Studio |
| 5. Publii | Free and open source (GPL); optional paid themes | People who want the smallest possible attack surface and free hosting |
The options
Each one, with its tradeoffs.
-
Free, MIT-licensed, and unusually far ahead on AI agent tooling.
getgrav.org, captured Strengths
- Genuinely free and MIT licensed — modify, redistribute, white-label, no fee
- First-party REST API, a first-party MCP server exposing 71 tools, and official Claude Code skills. Their tagline is "A CMS for humans & agents"
- Multi-language content is built into core
- Five-layer caching with Redis, Memcached and APCu drivers
- Twig templating, PHP 8.3, Symfony 7 — a modern stack, actively developed
- 479 plugins, 128 themes, and 56 skeletons, most of them free, that are complete ready-to-run sites
Tradeoffs
- The admin (Admin2), REST API and MCP server are separate first-party packages, each versioned and released on its own
- No user groups ship by default — you create them yourself, in Admin2 or in YAML
- Admin2 offers theme colors and fonts but no documented logo or branding settings, so white-labeling for clients is limited
- Free support is a community forum and Discord; direct access to the core team is a paid support contract from Trilby Media
- Development is concentrated: 90 of the last 100 commits came from the lead developer
-
Fourteen years of continuous shipping, plain PHP templates, no DSL to learn.
getkirby.com, captured Strengths
- Shipping continuously since 2012, now on version 5 with version 6 in beta
- Templates are plain PHP — no template language, no ceiling on what a template can do
- Blueprints build a bespoke admin panel per page type in YAML
- Multi-language content is built into core
- Over a thousand documentation pages, and a machine-readable security file cataloging every past advisory with CVSS scores — a rare and genuinely admirable practice
- Free licenses for students and educators; discounts for non-profits
Tradeoffs
- Licensed per site and per domain, so multi-site work multiplies cost linearly
- Updates are time-boxed to three years, then a paid upgrade for three more
- The Basic tier requires your (or your client's) revenue to be under €1 million
- Proprietary, not open source — the MIT fallback clause only triggers after a year with no stable release
- No first-party MCP server; the capable one is a community plugin
-
A Laravel package with a genuinely free tier and a superb control panel.
statamic.com, captured Strengths
- Core is free forever, open source and commercially usable, with every fieldtype and unlimited collections
- Statamic Pro runs free locally for as long as you like — excellent for agency and spec work
- The full Laravel ecosystem is available: Eloquent, queues, any Composer package
- Deep content modeling — reusable fieldsets, multiple blueprints per collection, 40+ fieldtypes
- Can move content into a database via a first-party Eloquent driver without changing templates
- A published support policy with concrete end-of-life dates
Tradeoffs
- You are running and maintaining a Laravel application; Composer is listed as a server requirement
- Deploys want a cache-rebuild command and scheduled content needs a per-minute cron
- They publish a list of hosts it does not work on, including GoDaddy and NameCheap
- Free Core allows one admin account and one form, and excludes the APIs and multi-site
- The REST and GraphQL APIs are read-only, and Pro-only
-
Total CMS
Ours — we make thisTotal CMS is a commercial flat-file PHP CMS with a built-in MCP server, so AI agents like Claude can work with a live site (read-write on Pro). It runs on ordinary PHP hosting.
totalcms.co, captured Strengths
- Works with the front end you already have: Twig in your own pages, or pages from a visual tool like Stacks, Pinegrow or Bootstrap Studio (how it works)
- Editors fill in the fields you modeled in a focused editor, so a client can't dismantle your layout
- Runs on any PHP 8.2+ host — no Composer on the server, no framework to maintain
- Support direct from the developer, by forum and ticket, and one vendor responsible for the whole product
- The MCP server, automations, access groups, image processing, SEO and REST API are part of the CMS rather than plugins to assemble (Automations, external API access and full MCP access are Pro)
- Twig templating with 130+ custom filters and functions
- Two years of updates included — longer than Statamic's one
Tradeoffs
- Proprietary and paid; there is no free tier for a live site, only a 45-day trial. Local development on
localhostor a.testdomain is free, with every Pro feature - The smallest ecosystem and the smallest talent pool of the five
- Multi-language works through locale-keyed fields (Pro) rather than separate content per locale — Kirby's core approach is more comprehensive
- No GraphQL, and no e-commerce
- Kirby includes three years of updates to our two
-
A desktop app that generates a static site — nothing dynamic runs on your server.
getpublii.com, captured Strengths
- Content is edited in a desktop application and published as static HTML, so there is no CMS running on the server at all
- That makes the production attack surface close to zero, and the output hostable free on Netlify, GitHub Pages or S3
- No PHP requirement on the host whatsoever
- Free and open source
Tradeoffs
- It is a fundamentally different model — you must have the desktop app to publish, so there is no browser-based editing for clients
- Multiple editors is awkward by design
- No dynamic server-side features: no forms handling, no logged-in areas, no on-request content
- Not comparable to the others for client work where the client edits their own site
How to choose
The longer answer.
Pick on constraints, not on feature counts. In practice one of these usually decides it:
- If the budget is zero, choose Grav. It is free, MIT licensed, actively developed, and you are not compromising to get that. If you want free but prefer a static output with no server-side CMS at all, choose Publii.
- If your team already writes Laravel, choose Statamic. The framework you would be "burdened" with is the one you already know, which turns the main tradeoff into an advantage.
- If you want the longest track record, choose Kirby. Fourteen years, five major versions, and an unusually disciplined approach to security disclosure.
- If the site must run on whatever hosting the client already pays for, choose Total CMS. No Composer on the server, no framework upgrade cycle — and one vendor answerable when it breaks.
- If you build in a visual tool like Stacks, Pinegrow or Bootstrap Studio, choose Total CMS. It adds content management to the pages your tool already makes. The other four expect you to build in their own theme or template format.
- If clients will edit the site and must not be able to break the design, choose Total CMS or Kirby. Both give editors a form for the fields you modeled, not a page builder.
- If you need multi-language content today, choose Kirby, Grav or Statamic. Our own locale-keyed fields work, but are not as complete.
- If you need e-commerce, none of these is the answer. Look at WooCommerce or Shopify.
And if you are choosing between a flat-file CMS and WordPress rather than between these five, the real question is whether you want to maintain a database and a plugin stack. That is a different decision, and we have written it up separately.
Questions
Common questions.
What is a flat-file CMS?
A content management system that stores content as files on disk — usually Markdown, YAML or JSON — instead of rows in a database. There is no MySQL to install, secure, back up, or keep consistent with your files. A backup is a copy of a folder, and content can live in git alongside your code.
Is a flat-file CMS faster than WordPress?
Often, but not automatically, and the reason is usually simpler than the database. Flat-file systems tend to run less code per request and cache aggressively. A well-tuned WordPress site with good caching can be very fast, and a badly configured flat-file site can be slow. Treat speed as an outcome of how much is running, not of the storage format.
Do flat-file systems work for large sites?
Up to a point, and the point varies. Most of these index content into a cache so reads do not touch the filesystem for every request. For very large datasets — hundreds of thousands of entries — a database genuinely becomes the better tool, and Statamic is unusual in offering a first-party way to move content into one without rewriting templates.
Which flat-file CMS is free?
Grav and Publii are free and open source outright. Statamic has a free Core tier limited to one admin account and one form. Kirby and Total CMS are commercial, but both are free for unlimited local development; Total CMS also gives a 45-day trial on a live domain.
Which flat-file CMS works with AI agents like Claude?
Grav and Total CMS both ship first-party MCP servers, the standard way AI agents such as Claude and ChatGPT connect to software. Grav's is a separate first-party package; Total CMS's is built into the CMS, reading on Standard and Pro and writing on Pro. Kirby's capable MCP server is a community plugin, and Statamic's come from add-ons, the most official of them partner-built and still in alpha. Publii runs no CMS on the server, so there is nothing for an agent to connect to.
You make one of these. Why should I trust this page?
You should trust it exactly as far as you can check it. Every price and claim here comes from each vendor's own pages, our entry is marked as ours, and the tradeoffs section on our own product lists things our competitors do better — including that Kirby gives three years of updates to our two, and that Kirby, Grav and Statamic handle multi-language content more fully than we do. If you find something inaccurate, tell us and we will fix it.
Sources
Where these facts come from.
Checked . Software and pricing change, so check each product’s own site for their current details.
All prices and claims verified from each vendor's own site on 26 July 2026:
- getgrav.org and their GitHub
- getkirby.com/buy and their license
- statamic.com/pricing and statamic.dev
- getpublii.com
- totalcms.co/pricing — our own
Statamic's MCP add-ons, Grav's MCP tool count and multi-language support, and Kirby 6's release status rechecked on 24 October 2026; the Statamic add-ons in the Statamic marketplace.
Rechecked on 28 October 2026 against Grav 2.2.14: Grav's user groups (Admin2's group screens), its paid support packages and premium add-on prices; Kirby's pricing and Kirby 6 beta; Statamic's pricing, trial mode and recommended hosts; and Publii.
All product names and trademarks belong to their respective owners. We have no affiliation with Grav, Kirby, Statamic or Publii. If anything here is wrong or out of date, tell us and we will correct it.
Keep comparing
Head to head, or zoom out.
- Hosted vs self-hosted Before you choose between Squarespace and Webflow, or between Kirby and Craft, there is a bigger question underneath: do you want to rent a website platform or own the software that runs it? Here is how to decide, from someone with an obvious stake in the answer.
- A PHP CMS without a database Running a CMS with no MySQL sounds like a corner-cutting exercise.
- WordPress alternatives for freelancers If you build client sites for a living, the CMS decision is really a decision about the next three years of your evenings.
- Making a PHP app legible to AI agents Coding agents invent functions that don't exist because the app can't describe itself.
- WordPress alternatives: eight honest options Website builders you rent, a publishing platform, and self-hosted CMSs you own: what each one is genuinely good at, what it costs, and what you can take with you if you leave.
- Webflow alternatives: six honest options Whether it is the 2026 price changes, the code export gate, or a sense that Webflow is now being built for someone else, here are the serious alternatives for people who design visually: what each costs, what you give up, and what you can take with you.
- Squarespace alternatives: six honest options Other hosted builders, a store platform, a publishing tool and self-hosted software: what each one is genuinely good at, what it costs, and what you can take with you if you leave.
- Wix alternatives: six honest options A Wix site can only ever run on Wix, so the most useful question about an alternative is what you could take with you next time.
Put it on your shortlist, then test it.
45 days, every Pro feature, no credit card. Install it next to the others and decide with a real site in front of you.