Astro is a framework for building websites. It's great at turning content into fast pages, but it doesn't come with an editing screen.
That's usually fine at first. A few pages and some Markdown files get you a long way. Then the blog grows, someone else needs to publish, or you want case studies, team members and translations to stay organized. That's when people start looking for an Astro CMS.
There are a lot of options. Astro's own CMS guide lists more than 40. This post walks through the main kinds, what people tend to like and dislike about each, and why we chose Sanity for our own Astro sites.
What an Astro CMS actually does
An Astro CMS is a place to write, organize and publish content that an Astro website then displays. Astro handles the pages, layouts and design. The CMS holds the things that change: articles, projects, people, products and translations.
The benefit is separation. An editor can publish an article without touching code, and a developer can change the design without touching the articles.
Questions to answer before you compare
The right CMS depends less on features than on a few plain questions:
- Who edits? Just you, a developer, or a marketing team that never wants to see code?
- Where should the content live? As files in your Git repository, or in a hosted service you reach through an API?
- How structured is it? A simple blog, or many content types that reference each other?
- Who maintains it? Some options need a server or database. Others need nothing at all.
- What happens if you leave? How easily can you take your content with you?
Option 1: Markdown and content collections (no CMS)
Astro reads Markdown and MDX files straight from your project. Its content collections add structure and checks on top, so every post has the fields it should.
- What people like: nothing to sign up for, nothing to host, everything versioned in Git, and it's fast.
- What people complain about: it's only comfortable for people who are happy editing files. Images and previews are manual, and handing it to a non-technical editor rarely works.
- Good fit: a developer or technical founder who writes every post.
Option 2: Git-based CMSs
These add a friendly editing screen on top of files in your repository. Every save becomes a commit. Popular choices include:
- Decap CMS: the long-standing open-source option (MIT-licensed) for Git-backed sites.
- Sveltia CMS: a free, open-source, Decap-compatible editor with no server to set up.
- Keystatic: makes Markdown, JSON and YAML in your codebase editable through an admin screen, with no database.
- TinaCMS: an open-source CMS that stores everything as Markdown in your repo, known for editing on a live preview.
- Pages CMS: an open-source, GitHub-based editor with a hosted free plan and a self-hosted edition.
People like that the content stays as plain files they own, there's usually little or nothing to pay, and Git keeps a full history. The common complaints: editors need a GitHub (or similar) login, publishing waits on a site rebuild, and things get awkward as content becomes heavily relational or the team grows.
Good fit: small sites and blogs with one or two editors who are comfortable with a simple setup.
Option 3: Hosted headless CMSs
Here the content lives in a hosted service, and your Astro site fetches it through an API. Common names include Sanity, Contentful, Storyblok, Prismic, DatoCMS and Hygraph.
- What people like: a polished editing experience, structured content that can be reused across pages, roles and workflows for teams, image handling, and publishing without touching the repository.
- What people complain about: pricing can climb as you add seats or traffic, you depend on a vendor's service, and someone has to design the content model up front.
- The differences that matter: Storyblok is known for its visual editor. Contentful is aimed at larger organizations. Sanity is known for flexible, code-defined content models and a customizable editing studio.
Good fit: sites where non-technical people publish regularly, or content that's reused across many pages.
Option 4: Self-hosted and open-source CMSs
If you'd rather run the backend yourself, there are open-source CMSs you host on your own server or database, such as Payload, Strapi and Directus. There's also StudioCMS, an MIT-licensed CMS built specifically for Astro that stores its data in a libSQL database you choose.
- What people like: full control, no per-seat pricing, and your data in your own database.
- What people complain about: you're now responsible for hosting, updates, backups and security.
- Good fit: teams with a developer who's happy to run infrastructure, or content tied closely to an app.
Option 5: WordPress as a headless CMS
Some teams keep WordPress for editing and use Astro only for the public site.
- What people like: editors already know WordPress, and existing content can stay put.
- What people complain about: you still maintain a WordPress install, its plugins and its security, alongside a separate site.
- Good fit: organizations with years of WordPress content and editors who don't want to change.
How the options compare
- Cheapest and simplest: Markdown, or a Git-based CMS like Sveltia, Decap or Pages CMS.
- Best for non-technical editors: a hosted headless CMS such as Sanity or Storyblok.
- Most control over the backend: a self-hosted CMS such as Payload, Strapi, Directus or StudioCMS.
- Least change for an existing team: headless WordPress.
- Easiest to leave later: Git-based options keep content as files. Most headless platforms, including Sanity, let you export everything.
Why we chose Sanity
We tried to pick the option that would still feel right in a few years, for our own site and for clients. Sanity won for four reasons.
1. sitereal makes connecting Sanity easy
We build our Astro sites with sitereal, and Sanity slots straight into it. Posts, case studies and translations come from Sanity, while the site's design is built separately. That means wiring up a new content type is quick, and design changes never touch the content. This is the single biggest reason Sanity is easy for us.
2. Sanity is easy for editors
Sanity Studio is configured in code, so editors only see the fields that matter, with clear labels. We define an article once (title, excerpt, author, cover image, SEO fields and body) and reuse those fields on the article page, the blog index and the homepage. Our articles also carry Spanish and German versions without a second site.
3. We own our content
- The content model lives in our repository, next to the website, reviewed and versioned like any other code.
- The content can leave at any time. A full export of every document and image is one command or one API call. When I last pulled ours, the whole site came down as 230 records in a single file.
- The website isn't tied to the CMS. The site reads content through an API, so we could change where content comes from without redesigning anything.
4. The free plan covers a small studio
Sanity's free plan, as listed on its pricing page in December 2026, compared with what we actually use:
- $0 a month, up to 20 user seats. We have a couple of editors.
- 2 datasets, public only. We use exactly two: production and development.
- 10,000 documents. We use about 220, and 141 of those are images.
- 1 million API CDN requests and 250,000 API requests a month. We're far below that. Pages are cached, and our site gets a few hundred visits a month.
- 100 GB of bandwidth and 100 GB of asset storage. We use a small fraction of each.
Two caveats. Free datasets are public, which is fine for content that's going on a public website anyway, but private data belongs elsewhere. And the free plan has no pay-as-you-go option, so outgrowing it means moving to the Growth plan, listed at $15 per seat per month.
How it works on our site
Our article and project pages fetch their content from Sanity when a visitor requests them, and the result is cached for about a minute. When we publish or fix an article in Sanity, the live page updates shortly after. There's no rebuild to wait for and no developer in the loop.

When Sanity isn't the right choice
If a developer writes every post, Markdown is simpler. If you want content stored as files in Git, pick a Git-based CMS. If you need private data on a budget, or want to run everything yourself, a self-hosted option fits better. Sanity earns its place when non-technical people publish regularly and the content has real structure.
Frequently asked questions
Does Astro have a built-in CMS?
No. Astro can render Markdown files from your project on its own, but it has no editing screen. A CMS adds one.
What is the best CMS for Astro?
It depends on who edits. For a solo developer, Markdown or a Git-based CMS is often enough. For teams with non-technical editors, a hosted headless CMS such as Sanity or Storyblok is easier. We use Sanity.
Is Sanity free for Astro websites?
For most small sites, yes. Sanity's free plan includes 10,000 documents, 2 public datasets, 1 million CDN requests a month and 100 GB of bandwidth, with no time limit.
What's the difference between a Git-based and a headless CMS?
A Git-based CMS saves content as files in your repository, and the site rebuilds to show changes. A headless CMS stores content in a hosted service, and the site fetches it through an API.
Can I switch CMS later?
Yes, with some work. Git-based content is already plain files. Most headless platforms, including Sanity, let you export your full dataset. The part that takes effort is mapping the content into the new system.
The short version
There's no single best Astro CMS. Markdown and Git-based editors are simple and cheap, self-hosted options give you control, and hosted headless platforms are easiest for editors. We chose Sanity because sitereal makes it easy to connect, editors find it easy to use, we own the content, and the free plan covers a studio our size.
If you'd like an Astro site set up this way without running it yourself, here's how our managed websites work.