Skip to content
Devin Sipal.

Search posts

Search posts by title or topic

All posts

What is the Best Headless CMS?

There isn't one best headless CMS. There is a best one for your project, and which one it is depends on a few questions you can answer in about five minutes. This post explains what a headless CMS is and when you'd want one, then walks through the five most popular open-source options and who each one suits.

7 min read

There isn't one best headless CMS. There is a best one for your project, and which one it is depends on a few questions you can answer in about five minutes. This post explains what a headless CMS is and when you'd want one, then walks through the five most popular open-source options and who each one suits.

What "headless" means

A content management system is where people write and organize content: blog posts, product pages, team bios, help articles. A traditional CMS like classic WordPress does two jobs at once. It stores the content, and it also renders the website, using themes and templates that live inside the CMS.

A headless CMS drops the second job. The "head" is the frontend, the part visitors see, and a headless CMS doesn't have one. It stores your content and hands it out through an API, usually REST or GraphQL. You build the website, app or whatever else in a separate codebase, with whatever tools you like, and it requests the content over the API.

In practice that looks like this: an editor writes a post in the CMS admin panel and hits publish. Your Next.js or Astro site fetches that post as JSON and renders it with your own components. The same post could also show up in a mobile app or a smart display, because they all read from the same API.

You'll run into a few related terms while shopping around. A decoupled CMS keeps the frontend and backend apart but still ships a default frontend you can use. Hybrid systems do both, serving some pages themselves and exposing the rest through an API, which is how WordPress and Drupal are often run today. Git-based tools like Decap, TinaCMS and Keystatic skip the database entirely and save content as Markdown or JSON files in your repository, which suits small static sites well.

Do you need one?

Going headless pays off when you have developers who want to build the frontend in a modern framework, or when the same content has to show up in several places, like a website and a mobile app. It also helps if you want to redesign the site later without migrating all your content.

It's probably overkill when one person runs a simple site and has no developer. A traditional CMS or a hosted site builder gets you online faster, because headless means building and hosting the frontend yourself.

Open source or hosted?

Headless CMSes come in two broad flavors. Hosted SaaS platforms such as Contentful, Sanity and Storyblok run everything for you and charge by seats, usage or plan. Open-source CMSes give you the code, and you can host them yourself for the cost of a server, or pay the vendor for a cloud version.

This post focuses on open source. That's where most developers start, it's free to try, and GitHub stars give a rough way to see what's popular. Here are the five most-starred open-source headless CMSes as of November 21, 2026:

CMSGitHub starsWeekly npm downloads (Nov 14–20, 2026)LicenseBest for
Strapi73,534277,852MIT core, paid enterprise featuresGeneral-purpose sites and apps
Ghost55,87416,614 (ghost) / 67,009 (Content API client)MITBlogs, newsletters, memberships
Payload45,9441,560,072MITNext.js and TypeScript teams
Directus38,61729,942Source-available (MSCL)Existing SQL databases
EmDash14,541135,730MITAstro sites on Cloudflare

Stars count people who bookmarked a project, not people running it. Downloads are skewed too: Payload installs inside every Next.js app that uses it, so it racks up downloads with every build, while Ghost and Directus mostly run from Docker images that npm never counts. Use both numbers as hints, not rankings.

Strapi: the safe default

If you've never used a headless CMS, Strapi is the easiest place to start. You build your content types (say, "Article" with a title, body, cover image and author) by clicking through an admin UI. Strapi then gives you a REST API for them right away, and GraphQL through a plugin. It runs on Node.js with PostgreSQL, MySQL or SQLite, and it has the largest community and plugin marketplace of the five.

There are two catches. Some useful features, including live preview, content history, review workflows and SSO, need a paid license. And Strapi Cloud, the hosted version, dropped its free plan in August 2026. Hosting now starts at $35 per project per month, with Pro at $90 and Business at $450, and the paid CMS features are a separate license on top. Strapi also releases about weekly, and a November 2026 update changed how some queries behave, so pin your version and read release notes before upgrading.

Ghost: for publications

Ghost is a publishing platform first. It's built for blogs, newsletters and paid memberships, and it handles subscriptions, email sending and paywalls out of the box. Its Content API lets you use it headless: write in Ghost, build the site in your own framework.

The trade-off is flexibility. Ghost has posts, pages, tags and authors, and you can't add your own content types. That's fine for a magazine and a dealbreaker for a product catalog. Self-hosting is free, and Ghost(Pro) starts at $18 a month billed yearly, but webhooks and the Admin API, which headless setups often need, require the $29 Publisher plan or higher.

Payload: for developers who live in TypeScript

Payload works the other way around from Strapi. Instead of clicking content types together, you define them in a TypeScript config file, and Payload generates the admin panel and APIs from that. Since version 3 it installs directly inside a Next.js app, so your CMS and your website are one project. It's by far the most downloaded of the five, and Figma, which bought Payload in 2025, says downloads grew 6x in a year.

It's a strong choice if your team writes Next.js. It's less friendly if editors want to change content models themselves, since that means editing code. Two things to know: Payload Cloud has stopped taking new projects, so plan to self-host or use a host like Vercel, and version 4, currently in beta, has breaking changes including Node 24 or newer.

Directus: for data you already have

Most headless CMSes create their own database. Directus can connect to one you already have. Point it at a PostgreSQL, MySQL or other SQL database and it builds REST and GraphQL APIs plus a no-code admin panel on top of your existing tables. That makes it popular for internal tools and back-office apps as well as websites.

Watch the license. Version 12 (May 2026) moved Directus to its own source-available license. You can read, modify and self-host the code, but you can't build a competing product with it, and it isn't open source in the strict sense. It's free for organizations under $5M revenue and 50 employees. Larger ones pay from $89 a month.

EmDash: the new one

Cloudflare released EmDash in beta in April 2026 and shipped 1.0 that September. It's an open-source CMS built on the Astro framework, pitched as a successor to WordPress. Its main idea is safer plugins: each one runs in its own sandbox and can only do what it declares, so a buggy or malicious plugin can't take over the site. Cloudflare's own blog runs on it.

EmDash is the least headless of the five. It's designed to live inside an Astro site, and serving content to a separate frontend isn't its main use. It's also very new, so expect a small ecosystem for now.

So which should you pick?

If this sounds like youStart with
You're running a blog, newsletter or paid publicationGhost
You already have a SQL database and want an admin panel on itDirectus
Your team builds in Next.js and wants content models in codePayload
You're on Astro and Cloudflare, or moving off WordPressEmDash
None of these, or you're not sure yetStrapi

All five are free to install locally, so the cheapest way to decide is to spin up your top two and model a real piece of your content in each. An afternoon of that will tell you more than any comparison table.

GitHub stars and npm downloads were pulled on November 21, 2026. Prices are from vendor pricing pages as of November 2026 and change often.