5 December 2025

Headless CMS Explained: What It Is and When You Need One

By We Are Heylo

"Headless" is one of those terms that gets thrown around in web development pitches without much explanation. If you've been told you need a headless CMS but aren't entirely sure what that means or why it matters, this guide is for you.

The core idea is simple: a headless CMS separates your content from your website. Your content lives in one system (the CMS), and your website is built separately using whatever technology works best. The two communicate through an API, the CMS sends content, the website displays it.

That's it. The "headless" part just means the CMS has no built-in frontend (no "head"). It's a content backend only.

Traditional CMS vs headless CMS

To understand why this matters, compare it to how a traditional CMS like WordPress works:

AspectTraditional CMS (WordPress)Headless CMS (Sanity, Contentful)
Content storageDatabase on same server as websiteCloud-hosted, separate from website
FrontendBuilt into the CMS (themes, templates)Built independently (React, Next.js, etc.)
Content deliveryCMS generates HTML pages directlyContent delivered via API, frontend renders it
Design flexibilityLimited by theme/template systemComplete freedom, any design, any framework
Content reuseContent tied to one websiteSame content can power website, app, emails, etc.
PerformanceDepends on server, plugins, cachingFrontend can be static/edge-served, very fast
Editor experienceBuilt-in visual editor (Gutenberg)Custom editing interface, varies by platform
HostingSingle server for everythingCMS and website hosted separately

In a traditional setup, everything is bundled together. Your content, design, and delivery all live in the same system. This is convenient, one login, one platform, one bill. But it creates limitations when you need better performance, custom design, or multi-channel content delivery.

How headless actually works

The workflow for a headless CMS setup:

  1. Content editors write and manage content in the CMS dashboard, articles, pages, product descriptions, team bios, whatever your site needs. The experience looks similar to writing in WordPress or Notion: a structured editor with fields for title, body text, images, and metadata.

  2. The CMS stores content in a structured format and makes it available through an API (typically REST or GraphQL). When content is published or updated, the API reflects those changes.

  3. The frontend website, built with a framework like Next.js, Astro, or SvelteKit, requests content from the API at build time or on demand. The frontend code handles all the rendering, design, and interaction.

  4. The built site is deployed to a hosting platform (Vercel, Netlify, etc.) as static HTML or server-rendered pages. Users visiting the site never interact with the CMS directly.

The result: editors get a clean, focused writing environment. Developers get full control over the frontend. And the website loads fast because the content is pre-rendered, not generated on each visit.

Popular headless CMS options

The headless CMS market has matured significantly. Here are the platforms we've worked with and recommend:

PlatformBest ForPricing (starts at)Learning Curve
SanityCustom content models, developer flexibilityFree tier, then $15/user/moModerate, powerful but requires setup
ContentfulEnterprise content operations, multi-teamFree tier, then $300/moModerate, structured but opinionated
StrapiSelf-hosted, open-source, full controlFree (self-hosted), cloud from $29/moModerate, Node.js knowledge helpful
PrismicMarketing sites, slice-based page buildingFree tier, then $10/user/moLow, intuitive slice system
PayloadFull-stack, code-first, TypeScript nativeFree (self-hosted), cloud comingHigher, developer-oriented

Sanity

Our go-to choice for most projects. Sanity's content model is completely customisable, you define your content structure in code, which means it can adapt to any content type. The real-time collaborative editing is excellent (multiple editors working on the same document simultaneously), and GROQ (their query language) is powerful once you learn it. The free tier is generous enough for most small-to-medium sites.

Contentful

The enterprise-grade option. Contentful excels when you have large content teams, complex workflows (draft, review, approve, publish), and need to deliver content to multiple channels. The pricing jumps sharply once you outgrow the free tier, which makes it less suitable for smaller projects.

Strapi

The best open-source option. If you want to self-host your CMS (for data sovereignty, cost control, or customisation), Strapi gives you a solid admin panel and API out of the box. It's built on Node.js and can be extended with custom plugins. The trade-off is you manage hosting, updates, and security yourself.

Prismic

Prismic's "Slice Machine" approach is particularly good for marketing teams that need to build pages from reusable components without developer help. Content editors can assemble pages from pre-built slices (hero sections, feature grids, testimonials, etc.), giving them flexibility within guardrails.

Payload

The newest serious contender. Payload is code-first and TypeScript-native, which makes it excellent for developers who want full-stack control. It can serve as both your CMS and your application backend. The trade-off is that it's more developer-oriented, non-technical editors may find the setup process less approachable.

When headless makes sense

A headless CMS is worth the additional complexity when:

Performance is a priority. Decoupling content from delivery lets you serve your site as static HTML from a CDN. Page loads are consistently sub-second because there's no server generating HTML on each request. For businesses where speed affects conversion (e-commerce, SaaS, media), this matters.

You need content on multiple platforms. If the same content appears on your website, mobile app, email newsletters, and digital signage, a headless CMS lets you write once and deliver everywhere. The API serves the same content to any frontend that requests it.

Your design needs outgrow templates. If your designer's vision requires custom animations, interactive elements, or layouts that WordPress themes can't accommodate, headless gives your frontend team complete creative freedom. No theme constraints, no plugin conflicts, no "that's not possible with this template."

You're building on a modern frontend framework. If your development team works in React, Next.js, Svelte, or similar, a headless CMS integrates naturally into that workflow. Content becomes structured data that your components consume, rather than a separate system with its own rendering logic.

You want to future-proof your content. Content stored in a headless CMS is portable. If you rebuild your website in three years using a completely different framework, your content stays put. You just point the new frontend at the same API. With WordPress, a rebuild often means migrating content too.

When to stick with WordPress

Headless isn't always the right answer. Stick with WordPress when:

  • Your team is non-technical and needs full autonomy. WordPress's visual editor lets content teams publish without any developer involvement. Headless setups typically need a developer for structural changes.
  • Budget is constrained. A headless setup costs more to build than a WordPress site. You're paying for two systems (CMS + custom frontend) instead of one.
  • Your site is straightforward. A 10-page service business site with a blog doesn't need the complexity of a headless architecture. WordPress handles this perfectly well.
  • You need specific plugins. WooCommerce, membership plugins, booking systems, WordPress's plugin ecosystem is unmatched. Replicating this functionality in a headless setup means custom development.

There's no shame in choosing WordPress when it fits. Over-engineering a simple site with a headless architecture wastes money and creates unnecessary maintenance burden.

Our stack: Sanity + Next.js

For projects where headless makes sense, we use Sanity paired with Next.js. Here's why this combination works well:

Sanity gives content editors a customised, real-time editing environment. We configure the content model to match each project's needs, whether that's a simple blog or a complex product catalogue with variants, categories, and relationships. The visual editing features (Sanity Studio's presentation tool) let editors see their changes on the live site in real time.

Next.js gives us full control over rendering, SEO, and performance. We can statically generate pages at build time for maximum speed, use server-side rendering for dynamic content, or mix both approaches on the same site. Combined with deployment on Vercel, we get preview deployments, edge caching, and near-zero configuration.

The two integrate tightly, Sanity's webhook triggers a Next.js rebuild when content changes, so the site updates within seconds of an editor hitting "publish." For projects that need instant updates, we use on-demand revalidation to refresh individual pages without rebuilding the entire site.

Frequently asked questions

Is a headless CMS harder for content editors to use?

Not necessarily, but it depends on the setup. A well-configured Sanity or Prismic studio can be just as intuitive as WordPress, structured fields, media libraries, preview functionality. The difference is that the editing experience needs to be built intentionally rather than relying on a default theme. If your agency invests in the editor experience during setup, your team will work just as efficiently.

How much more does a headless setup cost to build?

Typically 30-60% more upfront than an equivalent WordPress build, because you're building a custom frontend and configuring the CMS separately. For a marketing site, that might mean $12,000-$20,000 instead of $8,000-$12,000. However, ongoing costs are often lower, no plugin licences, minimal hosting costs, and fewer security concerns. Over 2-3 years, total cost of ownership is usually comparable.

Can I try headless without rebuilding my entire site?

Yes. A common approach is to use a headless CMS for new content (blog posts, landing pages) while keeping your existing site for everything else. This lets you evaluate the workflow before committing to a full migration. Most headless CMS platforms have free tiers that make this low-risk to test.

Ready to go headless?

If you're considering a headless CMS for your next project, we can help you evaluate whether it's the right fit and build it properly. We work with Sanity, Contentful, and other platforms across our web development projects.

Already decided you want Next.js but still weighing WordPress vs headless? Read our full comparison of Next.js vs WordPress to see how the two approaches compare across performance, cost, and flexibility.

This article was written by the team at

We Are Heylo

We're a branding & digital studio for businesses that refuse to blend in. Based in London and Singapore.