Skip to main content

CMS

Content Management System

Pronunciation
see-em-ES
Updated 2 min read

Share this page

Send the link, quote the definition with a link back, or show it as a card on your own site.

https://softwaredictionary.org/terms/cms

In short

A CMS (content management system) is software that lets people create, edit and publish website content through an editor instead of writing code.

What is a CMS?

Without a CMS, every change to a website means editing files and deploying them. A CMS separates the content from the code: editors log in, write a post in a visual editor, attach images, schedule publication and manage who can edit what, while developers build the templates the content appears in.

Traditional CMSs, such as WordPress, launched in 2003, Drupal and Joomla, store the content and also render the website, usually with PHP templates and themes. WordPress alone runs a large share of all websites, helped by thousands of themes and plugins for shops, forms, SEO and more.

A headless CMS, such as Contentful, Sanity, Strapi or Payload, only manages content and delivers it through an API. Developers then display it with any front end, such as a Next.js site or a mobile app, which gives more freedom and performance, especially when the same content appears in several places.

A common misconception is that a CMS is only for blogs. Shops, documentation, marketing sites and news sites all use them. The trade-off is upkeep: a traditional CMS with many plugins needs regular updates, because outdated plugins are one of the most common ways websites get hacked.

Key takeaways

  • A CMS lets non-developers create and publish content through an editor.
  • It separates content from the code that displays it.
  • WordPress, Drupal and Joomla are traditional CMSs that also render pages.
  • A headless CMS delivers content through an API to any front end.
  • Plugins and updates need care, since outdated plugins are a common risk.

Example

Reading published posts from a headless CMSjavascript
// Editors write in the CMS; the site fetches what is published through its API
const res = await fetch("https://cms.example.com/api/posts?status=published&limit=5", {
  headers: { Authorization: `Bearer ${process.env.CMS_TOKEN}` },
});
const { data: posts } = await res.json();

for (const post of posts) {
  console.log(post.title, post.publishedAt);
}

Readers ask

What is a headless CMS?

A CMS without its own website front end. It stores and manages content and serves it through an API, so developers can show it in any framework, app or device.

Is WordPress a CMS?

Yes. WordPress is the most widely used CMS. It began as blogging software and is now used for all kinds of websites, from personal blogs to shops and news sites.

Do I need a CMS for my website?

If non-developers need to update content regularly, a CMS saves a lot of time. For a small site that rarely changes and is edited by developers, plain files or Markdown may be simpler.

Free · once a week

Software and AI, explained once a week

The week's software and AI news with every term explained, plus a term to learn and a quick quiz. A two-minute read.

You confirm by email first, and one click unsubscribes. Privacy

See this week's issue

About this page

Page history

  1. Added a code example: reading published posts from a headless CMS.

Changes that altered what this page says. Typo fixes are not listed.

Spotted a mistake or something missing on this page?Suggest an edit

How pages are made

More

Settings