
What is
headless CMS?
How a headless CMS works, and when it pays to separate content and frontend.
A headless CMS is a publishing system without a fixed frontend, in other words without a “head”. Content is stored and edited in the CMS and delivered via an API to a separate frontend built by developers, such as a website, an app or a screen in a store. Examples are Storyblok, Sanity and Contentful.
In a traditional CMS , content and presentation are tied together in the same system. Headless separates them, so the same content can be used in many channels.
The editor creates content in structured fields and components in the CMS.
The frontend, often built with frameworks such as Nuxt or Next.js, fetches the content via API.
Pages are generated on the server or in advance and delivered quickly via a CDN.
The same content can be passed on to apps, newsletters or other surfaces.
The benefits are primarily speed, flexibility and security. A well-built headless solution loads fast and scores well on Core Web Vitals, which contributes to both SEO and a better UX. The design can be developed freely, and the attack surface is smaller because the frontend and CMS are separate.
The downsides are that you depend on developers for new templates and features, and that much of what a traditional CMS gives you out of the box, such as sitemaps, redirects and SEO fields, has to be built deliberately. If the frontend is only rendered in the browser with JavaScript, search engines and AI crawlers may struggle to read the content. Projects also require more planning and can be more expensive to start than an off-the-shelf solution.
Use server-side rendering or static generation, so the content is in the HTML.
Build in fields for page title, meta description, canonical and noindex from the start.
Make sure you have an automatic XML sitemap, support for redirects and structured data.
Test how the pages look to Googlebot before launch.
Give editors ready-made components, so they can build new pages without waiting for developers.
A headless project should also have a plan for the editors. Structured fields give tidy content, but only if the content model is well thought through. Spend time defining which page types and blocks you need before development starts.
Headless suits organisations with a lot of content, several channels or high performance requirements best. Read more about how we build such solutions under X Machina.
CMS: publishing systems in general, where headless is one architecture.
Core Web Vitals: performance metrics where headless solutions often do well.
SEO: requires the headless solution to be built with the right rendering and SEO fields.
UX: a fast, flexible frontend gives a better user experience.
See all the terms in the glossary.