News

Headless CMS: How It Works, Choosing, Limits

· DigifyNow

Auf Deutsch lesen

In a headless CMS, editors create content as structured fields, such as title, text, image or price. The system doesn't build pages itself. Your website, app or in-store display pulls the content through an API (REST or GraphQL) and renders it on its own. That means someone has to build and run the frontend separately. It pays off mainly when the same content needs to appear in several channels. For a single company website, it's often more effort than it's worth.

What is a headless CMS?

A headless CMS is a content management system without a presentation layer, the "head." In a traditional CMS like WordPress, everything lives in one system: the content, the page templates and the delivery of the finished HTML page. A headless CMS only handles the first part. It stores content in a content model that you define yourself. A "Product" content type, for example, might have the fields name, short description, image, price and category. The system then exposes those fields as data through an API, usually in JSON format.

Here's a concrete example: a retailer maintains a product description exactly once. The website shows it as a product page with a large image. The app shows only the name and price in a list. The screen in the store just displays the image. All three channels read the same record, and each one decides for itself how to present it. How an API like this is structured and what a request and response look like is covered in our article on APIs with a definition and example.

Illustration for the question "What is a headless CMS?"
AI-generated image

How does a headless CMS work technically?

Before a saved piece of text in a headless CMS shows up on your website, several steps have to happen. Someone has to set up each one of them:

  1. Build the content model: define content types, fields, required fields and relationships, for example that an article has exactly one author and several categories.
  2. Manage content: editors fill out forms instead of editing a finished page. Depending on the system, there are draft, approval and publishing stages.
  3. Query the API: the frontend requests data via REST or GraphQL, for example "all published articles in the News category, newest first." With GraphQL, the query names exactly the fields it needs.
  4. Rendering: the frontend, often built with a JavaScript framework, turns the data into HTML. Either it builds the pages ahead of time when content is published (static site generation), or the server builds them on every request (server-side rendering).
  5. Updates: if pages are prebuilt, the CMS triggers a new build via webhook when content is published. If that webhook is missing or the build fails, the old version stays live, even though the CMS says "published."

In practice, step five generates the most support questions. The CMS shows the text as published, but the website still shows the old version. The cause is almost always in one of three places: the webhook isn't configured, it points to an outdated URL of the build environment, or the build failed because of a piece of content, such as an empty required field the frontend doesn't handle. Checking the build log usually gets you an answer faster than hitting save in the CMS again. How webhooks work and how to test them is explained in our article on webhooks, how they work and how to secure them.

Headless CMS vs. traditional CMS: what's the difference?

The difference shows up less in the feature list than in the question of who does which work. The table puts the same characteristics side by side.

The fundamental difference between the two architectures, independent of any specific product
CharacteristicTraditional CMSHeadless CMS
PresentationThemes and templates are part of the systemMissing; a custom frontend gets built
Preview while writingYou see the page exactly as it will appearOnly if a preview environment is set up and connected
ExtensionsPlugins change the backend and the output at the same timeFeatures like forms or search are built in the frontend or added as third-party services
ChannelsMainly your own websiteWebsite, app, displays and other systems read the same data
OperationsOne system to update and back upCMS, frontend and build or hosting environment, each with its own updates
Who changes the layout?Partly the editorial team via a page builderUsually developers, in the frontend code

There are hybrids in between. Traditional systems like WordPress and TYPO3 can also deliver content through an API, which lets you run them headless. Conversely, some headless systems offer visual editors with live preview. So when you compare options, don't just look for the "headless" label. What matters more is how your editorial team actually works day to day.

Illustration for the question "Headless CMS vs. traditional CMS: what's the difference?"
AI-generated image

Pros and cons of a headless CMS

The main argument for a headless CMS is the separation of content and presentation. A piece of content is maintained once and can appear in multiple channels. You can swap out the frontend without migrating the content. Because the editing system doesn't run at the same address as the public website, the website has a smaller attack surface. Prebuilt pages can be served as simple static files. Whether the website actually loads fast, though, depends on the frontend, not the CMS. A poorly built frontend is slow, headless or not.

Many overviews mention the downsides only in passing, but in real projects they carry a lot of weight:

  • Nothing moves without a developer: a new page type or a new layout requires work in the frontend code. There's no plugin you can simply install.
  • The preview is often missing or lags behind. Editors write into forms and only see what the page looks like after the build.
  • The content model is hard to change. If you define fields too coarsely, for example one single body text field instead of headline, teaser and sections, you'll struggle to present the content differently later.
  • Forms, search, the cookie banner and SEO metadata have to be built in the frontend by someone, rather than added via a plugin.
  • More systems mean more points of failure. If the API goes down and the frontend renders on every request, the page comes up empty.

Headless CMS examples: when the separation pays off

A headless CMS earns its keep where the same content is needed in more than one place, or where the frontend is its own application anyway. Typical cases:

  • Website and app with the same content: news, events or product data are maintained once. The website and the mobile app query the same API.
  • Web app with editorial sections: a customer portal or booking system is custom-built, but help texts and announcements should be editable without a developer.
  • Multiple websites from one content pool: locations or brands share texts and images but have their own layouts.
  • Multilingual content with fixed fields: each language version is its own set of fields, and translation status can be checked field by field.
  • Screens and kiosks: displays in a store or on the production floor show content that the editorial team changes centrally.

A poor fit is the typical company website with a handful of pages, a contact form and a blog, maintained by one person. Here the separation costs development time and ongoing operations, and there's no second channel that would benefit from it. If you're rebuilding a site like that, our website migration checklist walks through the phases where the platform question comes up.

Illustration for the section "Headless CMS examples: when the separation pays off"
AI-generated image

What is the best headless CMS?

There's no single best headless CMS for everyone, because the systems differ mainly in how they're operated. The most useful way to compare them is by operating model. The products listed are examples for each group, not a ranking. Features, licenses and plan limits change, so check them in each vendor's current documentation before you decide.

As of December 2026. Grouped by operating model; check product details in the vendor documentation.
Operating modelExamplesA good fit ifLimitation
Hosted service (SaaS)Contentful, Storyblok, Sanity, HygraphYou don't want to run your own servers and your editors need to start right awayData sits with the vendor, costs depend on the plan, switching means exporting and rebuilding the model
Self-hostedStrapi, Directus, PayloadYou want data stored on your own server and someone will handle updates and backupsServers, security updates and backups are on you
Traditional CMS run headlessWordPress with the REST API, TYPO3 headlessYour editors already know the system or existing content should be reusedMany plugins only affect the system's own output and won't help in your custom frontend

Beyond the operating model, check four things. First, how well the preview works for editors. Second, whether roles and approvals can be set per content type. Third, whether all content, including the model, can be fully exported. Fourth, whether the API can handle the queries your frontend needs, such as filtering, sorting and language versions. Test the export before you choose, not when you're already trying to switch.

Free headless CMS: open source or free plan?

You can use a headless CMS for free, but "free" almost always refers only to the license. There are three free routes, and each comes with its own catch:

  • Free open-source software you host yourself, such as Strapi, Directus or Payload: you don't pay for a license. But you need a server, a database, storage for images and files, regular security updates and backups. License terms differ between projects and may attach conditions to commercial use, so read the license before you deploy.
  • The free plan of a hosted service, such as Contentful, Storyblok, Sanity or Hygraph: no servers to run, but limits on the number of users, amount of content, languages or API calls. Each vendor sets the exact limits, and whether commercial use is allowed, on its pricing page.
  • A traditional CMS run headless: WordPress itself is free software and ships with a REST API. You still have to cover hosting, updates and your own frontend.

Where it goes wrong: a project starts on a free plan, and the limit hits as soon as a second editor or a second language is added. So check up front what happens when you go over, whether you get throttled, locked out or automatically billed. In any case, the biggest cost item is usually the frontend, not the CMS. Costs are driven by the number of page templates and content types, the preview environment, integrations with your shop or CRM, migrating existing content and the ongoing operation of several components. Which costs come back every year for websites is covered in our article on website costs by approach and upkeep.

Illustration for the question "Free headless CMS: open source or free plan?"
AI-generated image

When outside help makes sense

Outside help is worth it when several channels need to use the same content, when a web app or mobile app gets an editorial section, or when it's unclear whether a traditional CMS would do the job just as well. DigifyNow builds websites, web apps and mobile apps; you'll find an overview on the page with our services for websites, apps and software. Whether a headless CMS or a traditional system is the right fit is something we decide within the project, based on your channels and your editorial team. For new web apps we often start with an MVP, for which our service description gives a range of 4 to 8 weeks; whether that applies to a specific project depends on scope, integrations and existing content, and it's not a delivery commitment. Have the following ready: which content should appear where, who maintains it, which systems need to be connected and what content already exists. In a free assessment of your project, we can then work out which setup fits and what makes it complex.

Frequently asked questions

Is WordPress a headless CMS?

Not out of the box. WordPress is a traditional CMS that renders pages itself through themes. But through its built-in REST API, it can also deliver content as data to a custom frontend, which lets you run it headless. The catch: plugins that only change the WordPress output have no effect in your custom frontend.

Is a headless CMS good for SEO?

That depends on the frontend, not the CMS. Search engines read the HTML that gets served. If pages are prebuilt or rendered on the server, the content is right there in the HTML. If the browser has to assemble the page with JavaScript first, that's less favorable. Title, meta description and structured data need to exist as fields in the content model.

Do I need a developer for a headless CMS?

For setup and the frontend, yes; for day-to-day content updates, no. A developer builds the content model and creates the page templates, the preview and the webhook integration. After that, your editors manage content themselves through forms. New layouts or page types require development work again, unlike a traditional CMS with a page builder.

Request a free assessment of your project