A headless CMS is a content management system that stores and organises your content but does not decide how it is displayed. The "head", the part that turns content into web pages, is removed. Instead, the content is made available to any front end that asks for it: a website, an app, a shop or a digital screen. It is a different way of building websites from the traditional approach, and it suits some businesses very well and others not at all.
How a traditional CMS works
WordPress is the best known example of a traditional, or coupled, CMS. The same system stores the content, provides the editing screens and builds the pages visitors see, using a theme. Everything lives together, which makes it convenient: install it, choose a theme, add content and you have a website.
The downside is that content and presentation are tied together. Using the same content elsewhere, changing the front end without touching the back end, or building something the theme system was not designed for all become harder.
How a headless CMS works
A headless system keeps the editing side: a place to write pages, upload images and organise content. But instead of building pages itself, it hands the content over through an API, or in some cases as files stored in a Git repository.
A separate front end, built by developers with whatever technology suits the project, fetches that content and turns it into pages. Often that front end is built in advance and served as finished pages, an approach our article on the static website explains.
Examples include hosted services such as Contentful, Sanity and Storyblok, open source systems such as Strapi and Payload, and Git-based editors such as Decap and TinaCMS, which store content as files alongside the website's code.
The benefits
Speed. Pairing a headless system with a static or well built front end produces very fast websites, because pages are not assembled from a database on every visit.
Security. The editing system is separate from the public website, and often not on the same server at all. There is far less on the live site for anyone to attack.
Freedom in the front end. Designers and developers are not constrained by a theme system, so the website can be built exactly as designed.
Content used anywhere. The same product descriptions, articles or locations can feed the website, an app and other channels from one place, without copying and pasting.
Fewer plugin worries. A traditional CMS often relies on plugins for core features, each one a potential source of conflicts and security updates. A headless build has far fewer moving parts on the live site.
The trade-offs
Developer involvement. There is no theme to install. Someone has to build the front end, and changes to page layouts usually need a developer rather than a page builder.
Preview and editing. Traditional systems show exactly what a page will look like as you edit. Headless systems vary; many offer good previews, but they have to be set up as part of the build.
No plugin marketplace. Features that are a plugin away in WordPress, such as forms, search or ecommerce, have to be added through services or built.
Cost of hosted services. Many hosted platforms charge by users, content volume or usage at higher tiers. Git-based and self-hosted options avoid that, with trade-offs of their own.
Who a headless CMS suits
It suits businesses that care a great deal about speed and security, want a website built precisely to a design, publish content in more than one place, or have outgrown the limits of a theme. It also suits sites run by a small team that wants a clean editing screen without the clutter of a full CMS.
It suits less well a business that wants to change page layouts constantly without a developer, or relies on a particular set of plugins for its everyday operation.
What we use
This website runs on a Git-based headless system feeding a static front end. Content is edited in a simple browser interface, saved as files alongside the site's code and published by rebuilding the site. It is fast, secure and easy to edit.
Our web development team builds both traditional and headless websites, and the choice always comes down to how the site will be used and who will be editing it.