Best CMS for Astro: 8 Picks Ranked With Prices

Sanity is the best CMS for Astro for most sites. It has an official Astro add-on, and its free plan covers 20 seats. For a small Markdown blog, Keystatic costs less.

Web developer working at a desk with code on two screens
Photo: Pexels

Headless content systems feed posts and pages into an Astro site, so editors can change copy without touching code. The best CMS for Astro for most sites is Sanity, because it has an official Astro integration, its editing Studio can run inside your Astro site, and the free plan covers 20 seats. For a small Markdown blog, though, Keystatic is the cheaper pick, since it saves content as files in your own repo. Storyblok comes third, for teams that want drag-and-drop page editing.

Almost any headless CMS can feed an Astro site, so the real test is which one saves you work once editors start using it. Eight options are ranked on that basis, with setup code, free plan limits and a yearly bill for a small team.

Smiling web developer showing a website build on a laptop to a colleague
Photo: Pexels

How Many CMS Guides Astro Has, and How Many Are Complete

Astro has 45 CMS guides on its “Use a CMS with Astro” page, from ApostropheCMS to Zero, but only five of them walk you through a full build. Many of the rest are stubs, meaning collections of links waiting for someone to fill them in. So the length of the list tells you little about how deep the support goes.

The five full guides cover Storyblok, Keystatic, TinaCMS, Decap CMS and Contentful, and each one gives install commands and working code. By contrast, the Payload page is a one-line intro plus a link to Payload’s official example project. Sanity’s Astro guide, for its part, points to Sanity’s own docs, which are detailed.

Astro documentation page listing CMS guides for Astro projects
Screenshot: docs.astro.build

Astro CMS Options Compared on Setup, Storage and Price

Astro CMS options split into hosted services, such as Sanity, Storyblok and Contentful, and tools that keep content in your Git repo or on your own server. Five of the eight have a paid plan, while Decap CMS and Payload have none.

CMSHow it connects to AstroWhere content livesFree planFirst paid plan
SanityOfficial @sanity/astro integrationSanity’s hosted service20 seats, 10k documentsGrowth, $15 per seat a month
Storyblok@storyblok/astro integrationStoryblok’s hosted service1 seat (max 2), 100,000 API requestsGrowth, $99 a month ($90.75 billed yearly)
Keystatic@keystatic/astro with React and MarkdocFiles in your repo, local or on GitHubKeystatic Cloud free for up to 3 users per teamPro from $10 a month
TinaCMSTina CLI wraps astro devMarkdown or MDX in your GitHub repo2 usersTeam, $29 a month or $290 a year
Decap CMSStatic /admin/ page with config.ymlCommits in your Git repoMIT licence, no feeNone
Contentfulcontentful JavaScript SDKContentful’s hosted service10 users, 100,000 API calls, testing and learning onlyLite, 20 users, 1 million API calls
StrapiREST calls with fetchYour own serverCommunity edition, MIT licenceGrowth, $45 a month with 3 users
PayloadOfficial Payload and Astro example projectYour own serverOpen sourceNone

Read also: Best CMS for Vue.js Developers: 9 Options Ranked

The 8 Best CMS for Astro, Ranked

The 8 best CMS for Astro are Sanity, Storyblok, Keystatic, TinaCMS, Decap CMS, Contentful, Strapi and Payload, in that order. Each entry covers how it connects, what the setup looks like and what the free plan allows.

1. Sanity

Sanity documentation page introducing the official Sanity integration for Astro
Screenshot: sanity.io

Sanity takes first place because it is the most complete package for Astro, built around @sanity/astro, the official Astro integration for Sanity. One command adds it, along with React:

npx astro add @sanity/astro @astrojs/react

Next, set the studioBasePath option, for example to /admin. Then Sanity Studio runs as a route inside your Astro app, in the same deployment. Visual Editing adds click-to-edit overlays for drafts. But it needs server rendering, so either set output to server or turn off prerendering for the preview routes. Also, React is only needed for the embedded Studio or Visual Editing.

On price, the Free plan includes 20 seats, 10,000 documents, 1 million API CDN requests and 250,000 API requests a month. Growth costs $15 per seat a month and raises the document limit to 25,000.

2. Storyblok

Storyblok pricing page with Starter, Growth, Growth Plus, Premium and Elite plans
Screenshot: storyblok.com

For teams whose editors build pages from blocks, Storyblok ranks second, and its Astro guide is one of the most detailed in the Astro docs. Install it with npm, then add the storyblok() integration to astro.config.mjs with your access token and a map of components:

npm install @storyblok/astro vite

The guide covers both static builds and on-demand rendering with an adapter. In addition, the storyblokEditable helper marks your elements so editors can click them in Storyblok’s Visual Editor. One detail trips people up, though: the default region is eu, so set the region if your space lives elsewhere.

Meanwhile, the free Starter plan is for testing and personal projects. It comes with one seat (two at most), 100,000 API requests and 100 GB of traffic a month. Growth costs $99 a month, or $90.75 a month billed yearly, with five seats, and Growth Plus is $349 a month with 15 seats.

3. Keystatic

Keystatic homepage for its Git-based content management system
Screenshot: keystatic.com

Blogs and docs sites that already keep content in files get the most from Keystatic. It writes posts as .mdoc files in src/content, so your content stays in the repo next to your code. Setup takes two commands:

npx astro add react markdoc
npm install @keystatic/core @keystatic/astro

After that, add keystatic() to astro.config.mjs and open /keystatic in the dev server. Note that the Astro guide expects an adapter to be set up first. Then connect GitHub when editors need to work on the live site.

Keystatic Cloud handles GitHub sign-in for editors, so they do not need their own GitHub accounts. It is free for up to three users per team. After that, Pro starts at $10 a month, and each user beyond three adds $5 a month. Pro also adds Cloud Images, which keeps images out of your repo.

4. TinaCMS

TinaCMS pricing page with Free, Team, Business and Enterprise plans
Screenshot: tina.io

Like Keystatic, TinaCMS keeps Markdown and MDX in Git, but it adds a hosted layer for teams. Run the init command, then change your dev script so Tina starts alongside Astro:

npx @tinacms/cli@latest init

// package.json
"dev": "tinacms dev -c \"astro dev\""

Locally, edits update the files in your content folder, and the admin opens at /admin/index.html. In production, changes are committed to GitHub through Tina Cloud or a self-hosted Tina Data Layer. As a result, every edit lands in your Git history.

The Free plan allows two users and 100 GB of bandwidth a month. Team costs $29 a month, or $290 a year, with three users and room for up to ten. For bigger groups, Business is $299 a month, or $2,990 a year, with 20 users.

5. Decap CMS

Decap CMS documentation page explaining how to install the admin folder and config file
Screenshot: decapcms.org

At zero cost, Decap CMS is the free choice on this list. It comes under the MIT licence, and it commits changes straight to your Astro project’s repo. You add an admin folder with an index.html and a config.yml, and editors log in at yoursite.com/admin/.

npm install decap-cms-app

You can also load it from a script tag instead of npm. Decap works with GitHub, GitLab, Bitbucket, Azure, Gitea and Git Gateway backends. However, sign-in needs some setup, and for OAuth outside Netlify the Astro guide suggests on-demand rendered routes with an adapter.

6. Contentful

Contentful help page listing usage limits for the Free and Lite plans
Screenshot: contentful.com

A full walkthrough in the Astro docs covers Contentful, even though it has no Astro integration. Instead, you use its JavaScript SDK plus a rich text renderer:

npm install contentful @contentful/rich-text-html-renderer

In dev mode, the setup reads from the Contentful Preview API, so drafts show up. Builds read from the Delivery API, so only published content appears. That way, a draft shows up in dev but stays off the live site until you publish it.

The Free plan gives 10 users and 100,000 API calls a month. But Contentful limits it to testing and learning about the product. Lite raises the limits to 20 users and 1 million API calls, with extra calls billed at $5 per million.

7. Strapi

Developers who want to own the server and the database tend to choose Strapi. Its Astro guide skips any package. Instead, it builds a small fetch wrapper in src/lib/strapi.ts and reads the server address from a STRAPI_URL variable.

The Community edition is free and open source under the MIT licence, with unlimited users. Growth costs $45 a month with three users, and each extra user is $15 a month. Note that Strapi has dropped the free plan on Strapi Cloud, so the free route means hosting it yourself.

8. Payload

Payload homepage for its open-source headless CMS
Screenshot: payloadcms.com

Last on the list, Payload is a headless open-source CMS with only a short page in the Astro docs. That page links to an official Payload and Astro example project on the 3.x branch of Payload’s GitHub repo, and the example is the place to begin.

Payload ranks last for Astro only because of the thin docs on the Astro side. Even so, it makes sense for teams that already run Payload for another app, since the Astro site then becomes one more front end on the same content.

Yearly CMS Cost for a Three-Person Astro Team

A three-person Astro team, meaning one developer and two editors, pays $0 a year on Sanity, Keystatic Cloud, Decap CMS and self-hosted Strapi, and $1,089 a year on Storyblok. The costs leave out server hosting for the self-hosted tools.

CMSPlan a 3-person team needsWorkingYearly cost
SanityFree (20 seats)3 seats within free limit$0
Keystatic CloudFree (up to 3 users)3 users within free limit$0
Decap CMSOpen sourceNo licence fee$0
Strapi CommunitySelf-hostedNo licence fee$0 plus your server
TinaCMSTeam (free plan stops at 2 users)$290 a year$290
Strapi GrowthGrowth (3 users included)$45 × 12$540
StoryblokGrowth (Starter stops at 2 seats)$90.75 × 12$1,089

So the gap is wide: Storyblok’s visual editor costs about $1,089 a year for this team, while Sanity stays free until you pass 10,000 documents. A fourth editor changes the math, too. Keystatic then moves to Pro, at $10 a month plus $5 for the extra user, and Tina’s Team plan adds $90 a year for the fourth seat.

If you build sites for clients, add the CMS bill to your quote. Then use our freelance hourly rate calculator to work out what to charge for the build time on top.

Which Astro CMS to Choose for Each Type of Editor

The Astro CMS to choose depends on how your editors work: Keystatic or TinaCMS for Markdown writers, Storyblok for page builders and Sanity for growing teams.

  • Editors who write long posts in Markdown: pick Keystatic or TinaCMS. Content stays in Git, and Astro’s content folder reads it as files.
  • Editors who assemble landing pages: pick Storyblok, because its Visual Editor and block model are built for that job.
  • A growing team with structured content: pick Sanity. Twenty free seats leave room to grow.
  • No budget at all: pick Decap CMS and accept a plainer editor.
  • A company that already runs Strapi or Payload: point Astro at the existing API instead of adding a second CMS.

The same choice looks different in other frameworks. For instance, our guide to the best CMS for Vue.js ranks vendors by their Vue packages. We also cover choosing a CMS for React and a headless CMS with SvelteKit, and teams on Next.js can compare notes in our Next.js App Router CMS guide.

Read also: Best Headless CMS for SvelteKit: 7 Picks and Costs

Common Questions About Using a CMS With Astro

Does Astro Come With Its Own Editing Screen?

No, Astro does not come with its own editing screen, so its docs point you to an outside CMS through 45 guides. If your posts are already Markdown files in the repo, Git-based tools such as Keystatic, TinaCMS and Decap add an editing screen on top of them.

What Is the Best Free CMS for Astro?

The best free CMS for Astro is Sanity if you want a hosted service, since its Free plan has 20 seats. For Git-based editing, Decap CMS has no fee at all, and Keystatic Cloud is free for up to three users.

Do I Need SSR to Use a CMS With Astro?

No, you do not need SSR to use a CMS with Astro if you fetch content at build time. The Storyblok, Contentful and WordPress guides all work with static builds. But live previews often need server rendering; for example, Sanity’s Visual Editing requires it, and the Keystatic guide expects an adapter.

Can I Use WordPress as a Headless CMS for Astro?

Yes, you can use WordPress as a headless CMS for Astro by fetching posts from the WordPress REST API at /wp-json/wp/v2/. No Astro package is needed, and read access needs no login by default. You can also add WPGraphQL if you prefer GraphQL queries.

Which Astro CMS Lets Editors Click to Edit the Page?

Storyblok and Sanity both let editors click to edit the page. Storyblok uses the storyblokEditable helper in its Visual Editor, while Sanity uses Visual Editing overlays in its Presentation Tool, which needs server rendering.

Joydeep Bhattacharya Avatar

Written by

Founder, Editor and Business Reporter, Bizolaunch

Free Tools for Founders

Calculators and templates built by Bizolaunch. Run the numbers in minutes.

Keep Reading