4 open source alternatives to Contentful & Sanity

Headless CMS platforms limit seats, locales and API requests on lower tiers. These open source headless CMSs give you content modelling, REST or GraphQL APIs and editing UIs on your own terms.

4 open source alternativesOfficial website
#1

strapi/strapi

πŸš€ Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.

Why it works The most popular self-hosted Contentful alternative.

73.6KΒ·TypeScript
#2

payloadcms/payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

Why it works Best when the CMS should be code, not a separate service.

46.1KΒ·MITΒ·TypeScript
#3

directus/directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

Why it works Great when content lives alongside existing tables.

38.8KΒ·TypeScript
#4

keystonejs/keystone

The superpowered headless CMS for Node.js β€” built with GraphQL and React

Why it works Lightweight and developer-friendly.

10KΒ·MITΒ·TypeScript

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
strapi/strapi73.6K–TypeScript–1 day ago
payloadcms/payload46.1KMITTypeScript–about 23 hours ago
directus/directus38.8K–TypeScript–4 days ago
keystonejs/keystone10KMITTypeScript–4 days ago

Stats are refreshed from GitHub every hour. Always check the repository before adopting a project.

More Dev Tools alternatives

Stop overpaying for software

Browse the hand-picked open source alternatives, or see which new GitHub repos are gaining stars this week.