
Strapi
Open-source JavaScript headless CMS with auto-generated APIs
Strapi is an open-source headless CMS for defining content models, editing content in an admin UI, and exposing REST and GraphQL APIs to any frontend.
Contentful by Contentful is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Contentful is Strapi, with 73.6k GitHub stars. Other open-source alternatives to Contentful are Directus, EmDash CMS and Webiny. Most Contentful alternatives here are Content Management Systems (CMS) tools. The first 1 say in their own README or website that they can replace Contentful (the quote is shown under each one); the other 3 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

Open-source JavaScript headless CMS with auto-generated APIs
Strapi is an open-source headless CMS for defining content models, editing content in an admin UI, and exposing REST and GraphQL APIs to any frontend.
“You might be wondering if Strapi would be the right open-source alternative to Contentful.”
These projects don't call themselves a Contentful alternative, but two independent checks of their own description found they do the same main job.

SQL-backed headless CMS with APIs and Studio
Directus wraps a SQL database with auto-generated REST and GraphQL APIs, a visual Studio for teammates, and MCP connectivity for AI tools on your data.
“Directus wraps any SQL database with a REST and GraphQL API layer and a visual Studio.”

Agent-ready full-stack TypeScript CMS for Astro
EmDash is a TypeScript CMS built as an Astro integration with an admin panel, REST API, auth, media, and sandboxed plugins. It targets Cloudflare or Node.js with SQLite and structured Portable Text content.
“A full-stack TypeScript CMS built on Astro.”

Self-hosted AI-programmable headless CMS on AWS serverless
Webiny is an open-source content platform you deploy into your own AWS account. It combines a headless CMS, visual website builder, and file manager with a TypeScript extension framework.
“Webiny is an open-source, self-hosted headless CMS platform built for enterprise scale. Multi-tenant, customizable, and fully under your control.”
Yes. 4 open-source projects can replace Contentful, for example Strapi, Directus and EmDash CMS. 1 of them says so in its own documentation; the other 3 do the same job.
Strapi (73.6k GitHub stars) is the most popular open-source alternative to Contentful on GitHub. EmDash CMS has the most recent code changes. The best choice depends on your needs: compare them side by side, for example Strapi vs Directus.
3 of the 4 projects listed here are free to use under an open-source license, with no license fee: all permissive (such as MIT). Directus is source-available: the code is public, but the license limits some uses. Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.