For most of the web's history, a content management system did two jobs at once. It gave you a place to write and organize content, and it turned that content into the web pages visitors saw. WordPress, Drupal, and Joomla all work this way out of the box. A headless CMS splits those jobs apart, and that one change has big consequences, good and bad.
If a developer has suggested going headless, or you keep seeing the term in agency proposals, this guide explains what a headless CMS is, how it works, and how to decide whether it's right for your website.
Traditional vs headless: the "head" is the front end
In a traditional (sometimes called "coupled" or "monolithic") CMS, the back end where you edit content and the front end that displays it are one system. In WordPress, you write a post in the dashboard, and your theme's PHP templates render it as HTML on your domain. Content and presentation live together.
In a headless CMS, the "head," meaning the presentation layer, is cut off. The CMS only stores and manages content. It doesn't produce your web pages at all. Instead, it makes the content available through an API, and a separate front end requests that content and decides how to display it.
That front end might be:
- A website built with a JavaScript framework like React, Vue, Next.js, Nuxt, Astro, or SvelteKit.
- A mobile app.
- A smart TV app, an in-store kiosk, or a digital sign.
- Several of these at once, all pulling from the same content.
How a headless CMS works in practice
- Editors create content in the CMS's admin interface: articles, product descriptions, team bios, FAQs.
- Content is structured into defined types with fields. A "Recipe" type might have a title, an image, a list of ingredients, and steps, rather than one big block of formatted text.
- The CMS exposes that content through an API, usually REST or GraphQL, returning data as JSON.
- The front end fetches the content and renders it. This can happen at build time (generating static pages in advance), on the server for each request, or in the visitor's browser.
- When content changes, the CMS can trigger a webhook that tells the front end to rebuild or refresh the affected pages.
Types of headless CMS
API-first SaaS platforms
Hosted services built headless from the start. You don't install or maintain anything; you pay a subscription based on usage, seats, or features, and many have free tiers for small projects. Contentful, Sanity, Storyblok, Hygraph, and Prismic are well-known examples. Check each provider's current pricing pages, since plans change.
Open-source, self-hosted options
Software you run on your own server or VPS, such as Strapi, Directus, Payload, and Ghost (which works both as a traditional blogging platform and as a headless CMS through its Content API). You control the data and the hosting, and you also handle updates, security, and backups.
Traditional CMSs used headlessly
WordPress includes a built-in REST API, and plugins like WPGraphQL add GraphQL support. That means you can keep the familiar WordPress dashboard for editors while building the front end in a modern framework. Drupal offers similar capabilities. This "decoupled WordPress" approach is popular with teams that already know WordPress.
The benefits
Freedom on the front end
Developers can use whichever framework they prefer, without working inside a theme system. That often makes custom designs and interactive features easier to build.
One content source, many channels
If you publish the same content to a website, an app, and other screens, a headless CMS lets you write it once and reuse it everywhere. This is the original reason the approach exists.
Performance potential
Paired with static generation and a CDN, a headless front end can serve pre-built pages very quickly. Note the word "potential": a well-built traditional site with good caching can also be very fast, and a poorly built headless front end can be slow.
Security surface
When the public website is static files on a CDN and the CMS lives on a separate domain or service, there's less exposed to attackers on the public side. The CMS and its API still need protecting.
Scaling the parts separately
The content back end and the front end can be hosted and scaled independently.
The drawbacks (don't skip these)
More moving parts and more cost
Instead of one system, you now have at least two: the CMS and the front end, plus the build and deployment pipeline that connects them. That usually means more development time up front and ongoing developer involvement afterward.
You lose built-in features
A traditional CMS gives you a lot for free: themes, menus, page previews, SEO plugins, forms, comments, search, sitemaps. In a headless setup, the front end has to recreate much of this. With WordPress used headlessly, many plugins that change what visitors see simply won't affect your new front end.
Harder for non-technical editors
Content editors often lose the "what you see is what you get" experience. Live preview is possible with many platforms, but it has to be set up. Layout changes that a page builder handled may now require a developer.
Rebuild delays
If the site is statically generated, editors may wait for a rebuild before changes appear. Incremental builds and on-demand revalidation reduce this, but it's another thing to configure.
Vendor and pricing risk
With SaaS platforms, your content lives in someone else's system, and usage-based pricing can grow with traffic, records, or team size. Make sure you can export your content.
When a headless CMS makes sense
Going headless is a strong fit when:
- You publish content to multiple channels, such as a website plus mobile apps.
- You have developers on hand, in-house or on retainer, to build and maintain the front end.
- You need a highly custom, app-like front end that would fight against a theme system.
- You have structured content that benefits from reuse, like product catalogs, documentation, or course libraries.
- Performance and scale requirements justify the extra architecture.
When it probably doesn't
Stick with a traditional CMS when:
- You run a small business site, blog, or portfolio, and you want to edit it yourself.
- Your budget doesn't cover ongoing development.
- You rely on plugins for SEO, forms, bookings, or eCommerce that work out of the box.
- Nobody on the team can maintain a JavaScript build pipeline.
For many sites, a well-hosted WordPress install with a lightweight theme and good caching delivers excellent results at a fraction of the complexity.
Questions to ask before you commit
- Who will edit content, and what do they need to be able to change without a developer?
- Which features does the current site rely on, and how will each be rebuilt?
- Where will the front end be hosted, and how will it rebuild when content changes?
- How do previews, redirects, sitemaps, and SEO metadata work in the new setup?
- What will it cost to run and maintain for the next three years, not just to build?
- Can you export all your content if you switch platforms later?
Wrap-up
A headless CMS manages content and hands it to a separate front end through an API. That separation brings real advantages: front-end freedom, content reuse across channels, and strong performance when done well. It also brings more systems, more developer dependence, and lost conveniences that traditional platforms provide for free. Choose headless when your content and team genuinely need it, not because it's the newest option on the menu.
Related reading: What Is Jamstack? A Beginner's Guide to the Modern Web Architecture.