What is a headless CMS?
A headless CMS is a content management system that stores and serves content through an API, without its own front end, so the same content can be displayed by any website, app or channel.
Pros and cons of a headless CMS
SaaS companies often publish the same content in several places: the marketing site, docs, an in-app help panel, a changelog and email. A headless CMS keeps one structured copy and lets each channel render it its own way. Developers keep full control of the front end and its performance.
The cost is that someone has to build and maintain that front end, and editors lose the “what you see is what you get” page building of Framer or Webflow unless a visual editor or live preview is set up. Headless pays off when content is shared or structured; for a ten-page marketing site it is often overkill.
How we build with a headless CMS
We pick a headless CMS, such as Sanity, Storyblok, Contentful or Keystatic, when content needs structure or reuse, and pair it with Astro or Next.js. We model content types with your team, set up live previews so editors see changes before publishing, and connect publishing to automatic rebuilds or on-demand rendering.
See Astro development, Next.js development and how we work.
Related service: Astro development · How we work
Headless CMS in practice
A SaaS company stores its integration entries in a headless CMS. The marketing site renders them as SEO landing pages, the product’s settings screen pulls the same descriptions and logos for its integrations panel, and the docs site links to the setup steps. When a partner renames their product, one edit updates all three.
Common mistakes
- Going headless for a small brochure site. You pay for a custom front end you don’t need. A visual builder may serve you better.
- No preview for editors. Editors publishing blind make mistakes. Set up live or draft previews from day one.
- Modeling content as pages. Model reusable entities (product, integration, author) rather than page layouts.
How a headless CMS works
- 01
Model the content
Define content types, such as product, integration or author, and their fields.
- 02
Editors edit
The team writes and updates entries in the CMS, with a preview of the page.
- 03
The API serves it
The CMS delivers the content as structured data through an API.
- 04
The front end renders it
A website, app or other channel turns that data into pages and screens.
- 05
Publishing updates the site
A publish triggers a rebuild of static pages or a fresh server render.
Headless vs traditional (coupled) CMS
A traditional CMS such as WordPress stores content and renders the website; a headless CMS, also called API-first or decoupled, only stores and delivers content, and a separate front end renders it.
| Traditional CMS (e.g. WordPress) | Headless CMS | |
|---|---|---|
| Where templates live | Inside the CMS, as themes | In a separate front end, such as Astro or Next.js |
| Who renders pages | The CMS | The front end, at build time or on request |
| Editing preview | Built in | Has to be set up |
| Channels | Mainly the one website | Any website, app or channel that calls the API |
| Developer effort | Lower to start, theme and plugin upkeep later | Higher to start, full control of the front end |
Headless CMS examples
| CMS | In one line |
|---|---|
| Sanity | Structured content with a customizable editing studio. |
| Storyblok | Component-based content with a visual editor. |
| Contentful | An API-first content platform for larger teams. |
| Keystatic | Content stored as files in your Git repository. |
| Payload | An open-source CMS you host alongside your Next.js app. |
Questions about headless CMS
What is the difference between a headless CMS and a traditional CMS?
Is a headless CMS good for SEO?
When is a headless CMS overkill?
Can marketers edit a headless site without a developer?
What does a headless build cost with STRAK?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related terms
CMS (content management system)
A CMS (content management system) is software that lets people create, edit, organize and publish website content through an editing interface, without changing the site’s code.
Definition DevelopmentAstro
Astro is an open-source web framework for content-focused websites that renders pages to HTML at build time or on the server and ships no client-side JavaScript by default, adding interactivity only where a component needs it.
Definition DevelopmentStatic site generator
A static site generator is a tool that builds a website’s pages into ready-made HTML files ahead of time, from templates and content, so a server or CDN can deliver them instantly without assembling each page on request.
Definition Design and UXInformation architecture
Information architecture is the practice of organizing, structuring and labeling content so people can find what they need and understand where they are, covering a site’s hierarchy, navigation, URLs and categories.
Definition