Payload

45.5k GitHub starspayloadcms/payload

Build a website or app with a ready-made admin panel where your team edits content. Free, open source, and it lives inside your Next.js app.

View on GitHub

Build a stack with Payload

Pick parts from it and the projects that work well with it. We check the licences together and write a prompt for your AI.

Payload
Supabase
shadcn/ui
Tailwind CSS
Astro

Your stack

Tick the parts you want to use. Projects whose parts are not listed yet can be added whole; the prompt tells your AI to find the right pieces in their code.

Website (opens in a new tab)
More actions

Why we picked it

Payload gives developers an admin panel, user logins and a database layer in one package, and it installs right inside a Next.js app instead of running as a separate service. You describe your content in code and Payload builds the editing screens for you. Figma bought the company in June 2025 and has promised to keep it open source, and downloads have grown to around a million a week. It's free under the MIT licence, though for now you'll need to host it yourself. Opensrcs itself runs on Payload.

About Payload

Payload is a content management system, or CMS: the behind-the-scenes admin area where people write pages, upload images and manage what a website shows. Unlike WordPress, it isn't a ready-made site you fill in. A developer describes the kinds of content they need, such as blog posts, products or team members, and Payload builds the editing screens, the database and the connections for them. It installs inside a Next.js app, so the website and its admin panel live in one project. It's free and open source, and Figma bought the company behind it in June 2025.

What it can do

  • An admin panel built for you. Describe your content in a few lines of code and Payload creates the editing screens, forms and lists. Editors get a clean place to write and never touch code.
  • Lives inside your website. Payload runs as part of a Next.js app rather than as a separate service, so one project holds both the site and its admin. The next big version is adding support for TanStack Start as well.
  • Drafts, versions and previews. Save drafts, see who changed what, go back to an earlier version, schedule posts and preview changes on the real page before they go live.
  • Build pages from blocks. Editors can put pages together from reusable pieces, like banners, image galleries and sign-up sections, and move them around freely.
  • Logins and permissions included. User accounts, sign-in and detailed rules about who can see or change each piece of content come built in.
  • Many languages. Keep each page in several languages and switch between them in the admin.
  • Your choice of database. It works with PostgreSQL, MongoDB and SQLite, including hosted services like Supabase, Neon and Cloudflare D1.
  • Plugins and starter templates. Official add-ons cover SEO, forms, search, redirects, payments with Stripe and more. Starter templates give you a complete website or online shop to build on.

Where you'll meet it

Payload is popular with agencies and developers who build marketing sites, blogs and online shops for clients who want to edit their own content. Its official website template is styled with Tailwind CSS and shadcn/ui. The package is downloaded around a million times a week. It's also the engine behind Opensrcs: every project page you read here is written and published in a Payload admin panel, with the data stored in PostgreSQL.

Payload, Strapi, Directus or Ghost?

All four let you manage website content yourself, for free. The difference is who they're built for and how much setting up they need.

PayloadThis page

Best forDevelopers building their own website or app with Next.js

Your content types live in code, and the website and its admin sit in one project. Very flexible, but a developer has to set it up and make changes, and there's no official hosting for new projects right now.

How you set it up
In code, inside a Next.js app
Open source
Yes (MIT)
Cost
Free; you host it yourself

Best forA separate content service with lots of plugins

The most popular open source headless CMS. You can design content types by clicking in its admin, and it has the biggest plugin marketplace. It runs as its own service next to your website, and a few features like company single sign-on are paid.

How you set it up
By clicking in its admin, or in code
Open source
Yes (MIT), with some paid features
Cost
Free to host yourself; paid cloud hosting available

Best forPutting an easy admin panel on an existing database

Connects to an existing SQL database and gives it an admin panel and API straight away, with no code. Great for data-heavy projects. Its licence isn't fully open source, so bigger companies need a paid licence.

How you set it up
Point it at a database you already have
Open source
Source available (BSL 1.1)
Cost
Free for organisations under $5M a year; paid above that

Best forBlogs, newsletters and paid memberships

Not a toolkit but a finished publishing platform: themes, newsletters and paid subscriptions work straight away. Excellent for writers, but not built for custom apps or complicated content.

How you set it up
A ready-made publishing site
Open source
Yes (MIT)
Cost
Free to host yourself; paid hosting from Ghost(Pro)

A quick way to choose: running a blog or newsletter? Pick Ghost. Already have a database and want an admin for it fast? Try Directus. Want a separate content service with lots of plugins, where content types can be set up by clicking? Go with Strapi. Building your own website or app in Next.js and want full control in code? Payload is the best fit.

Good to know

  • You need a developer to set it up. Content types, page layouts and settings are written in code. Anyone can edit content once it's running, but changing its structure takes a developer.
  • Hosting is up to you. Payload's own cloud hosting stopped taking new projects after the Figma deal. You can run it on Vercel or Cloudflare with one click, often for free on small sites, or on your own server.
  • A big update is on the way. Version 4 is in development with a redesigned admin and support beyond Next.js. Version 3 is the one to use today, and it gets new releases every week or so.
  • Figma owns it now. Figma has promised that Payload stays open source and plans to use it to add content tools to Figma Sites.
  • Licence: MIT. You can use it for free, including in paid products.

What you can build with it

  • Building a company website your team can update without a developer
  • Running a blog or news site with drafts, previews and scheduled posts
  • Starting an online shop from the official ecommerce template
  • Adding an admin panel and user logins to a Next.js app
  • Managing the same content in several languages

Building blocks

Payload is made of parts you can use on their own in your project. Copy a prompt to have your AI assistant add one for you, and see the licence card for what you may do with them.

  • The content system itself

    Free to use, even in closed products

    The core of Payload. You describe your content in code, and it handles saving, logins, permissions, drafts and the APIs your website reads from.

    Use it to build

    • Company and marketing websites
    • Blogs and news sites
    • App back ends with user accounts
    View code
    Technical details
    Name
    payload
    What it is
    Code library
    How to use it
    Install it, then configure it
    Install
    npm i payload
    Licence
    MIT License (read from LICENSE.md)
  • Start a new Payload project

    Free to use, even in closed products

    Sets up a ready-to-run Payload project in one command. Pick a starter, such as a blank project, a full website or an online shop, and choose your database.

    Use it to build

    • Starting a new website with an admin
    • Trying Payload out quickly
    View code
    Technical details
    Name
    create-payload-app
    What it is
    Command-line tool
    How to use it
    Install it and use it
    Install
    npx create-payload-app
    Licence
    MIT License (read from LICENSE.md)
  • Run Payload inside a Next.js app

    Free to use, even in closed products

    Puts the Payload admin panel and its APIs into your Next.js app, so the website and the place you edit it live in one project.

    Use it to build

    • Next.js websites that need an admin
    • Sites hosted on Vercel
    View code
    Technical details
    Name
    @payloadcms/next
    What it is
    Code library
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/next
    Licence
    MIT License (read from LICENSE.md)
  • Rich text editor for writers

    Free to use, even in closed products

    The writing area editors use for articles and pages: headings, lists, links, images and custom blocks, built on Meta's Lexical editor.

    Use it to build

    • Blogs and articles
    • Pages with images and embedded blocks
    View code
    Technical details
    Name
    @payloadcms/richtext-lexical
    What it is
    Ready-made UI component
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/richtext-lexical
    Licence
    MIT License (read from LICENSE.md)
  • Store content in PostgreSQL

    Free to use, even in closed products

    Connects Payload to a PostgreSQL database, including hosted ones like Supabase and Neon. It can create the tables and keep them up to date for you.

    Use it to build

    • Production websites
    • Projects already on Supabase or Neon
    View code
    Technical details
    Name
    @payloadcms/db-postgres
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/db-postgres
    Licence
    MIT License (read from LICENSE.md)
  • Store content in MongoDB

    Free to use, even in closed products

    Connects Payload to a MongoDB database, such as MongoDB Atlas. There are no tables to plan, so changing your content types is quick.

    Use it to build

    • Teams already using MongoDB
    • Content that changes shape often
    View code
    Technical details
    Name
    @payloadcms/db-mongodb
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/db-mongodb
    Licence
    MIT License (read from LICENSE.md)
  • Store content in a single SQLite file

    Free to use, even in closed products

    Keeps all your content in one small database file, with no database server to run. Handy for small sites and for trying things out, and it also works with Turso.

    Use it to build

    • Small websites
    • Prototypes and local testing
    View code
    Technical details
    Name
    @payloadcms/db-sqlite
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/db-sqlite
    Licence
    MIT License (read from LICENSE.md)
  • Store content on Cloudflare D1

    Free to use, even in closed products

    The official way to run Payload's database on Cloudflare D1, so the whole site can be hosted on Cloudflare.

    Use it to build

    • Sites hosted on Cloudflare
    • Low-cost small websites
    View code
    Technical details
    Name
    @payloadcms/db-d1-sqlite
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/db-d1-sqlite
    Licence
    MIT License (read from LICENSE.md)
  • Search engine settings for each page

    Free to use, even in closed products

    Adds a title, description and sharing image to each page, with a preview of how it will look in Google results.

    Use it to build

    • Marketing websites
    • Blogs that want search traffic
    View code
    Technical details
    Name
    @payloadcms/plugin-seo
    What it is
    Plugin
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/plugin-seo
    Licence
    MIT License (read from LICENSE.md)
  • Forms your editors build themselves

    Free to use, even in closed products

    Lets editors create contact, sign-up and survey forms in the admin, collect the answers and send email notifications, without a developer.

    Use it to build

    • Contact and lead forms
    • Event sign-ups and surveys
    View code
    Technical details
    Name
    @payloadcms/plugin-form-builder
    What it is
    Plugin
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/plugin-form-builder
    Licence
    MIT License (read from LICENSE.md)
  • Online shop features

    Free to use, even in closed products

    Adds products, carts, orders and payments with Stripe to Payload. The official ecommerce starter is built on it.

    Use it to build

    • Small online shops
    • Selling products alongside a content site
    View code
    Technical details
    Name
    @payloadcms/plugin-ecommerce
    What it is
    Plugin
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/plugin-ecommerce
    Licence
    MIT License (read from LICENSE.md)
  • Keep uploads in cloud storage

    Free to use, even in closed products

    Saves uploaded images and files to Amazon S3 or any S3-compatible storage instead of your server's disk. Official versions for Vercel Blob, Cloudflare R2, Azure and Google Cloud sit alongside it.

    Use it to build

    • Sites hosted on Vercel or other serverless hosts
    • Sites with lots of images or downloads
    View code
    Technical details
    Name
    @payloadcms/storage-s3
    What it is
    Plugin
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/storage-s3
    Licence
    MIT License (read from LICENSE.md)
  • Send emails through Resend

    Free to use, even in closed products

    Sends Payload's emails, like password resets and form notifications, through the Resend email service.

    Use it to build

    • Password resets and account emails
    • Form notifications
    View code
    Technical details
    Name
    @payloadcms/email-resend
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    npm i @payloadcms/email-resend
    Licence
    MIT License (read from LICENSE.md)
  • Let AI assistants manage your content

    Free to use, even in closed products

    Opens your Payload content to AI assistants like Claude through MCP, so they can look up, draft and update content with the permissions you choose.

    Use it to build

    • Writing and editing content with AI
    • Content teams using Claude or other assistants
    View code
    Technical details
    Name
    @payloadcms/plugin-mcp
    What it is
    Plugin
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/plugin-mcp
    Licence
    MIT License (read from LICENSE.md)
  • Run many sites from one admin

    Free to use, even in closed products

    Lets one Payload install serve several websites or clients, each seeing only their own content in the admin.

    Use it to build

    • Agencies running sites for several clients
    • SaaS products with separate customer spaces
    View code
    Technical details
    Name
    @payloadcms/plugin-multi-tenant
    What it is
    Plugin
    How to use it
    Install it, then configure it
    Install
    npm i @payloadcms/plugin-multi-tenant
    Licence
    MIT License (read from LICENSE.md)

Works well with

  • Supabase

    114k GitHub stars

    Everything behind an app in one place: a database for your data, sign-in for your users, file storage and live updates. Open source and free to start.

    • Backend as a service
    • Relational databases
    • Apache 2.0
  • shadcn/ui

    127k GitHub stars

    Beautiful, ready-made buttons, forms, menus and dashboards you copy into your app and change freely. The favourite starting point for AI-built websites.

    • UI components
    • MIT License
  • Tailwind CSS

    98.1k GitHub stars

    Style a website by adding short, readable words like "rounded" or "text-lg" to each element. The styling tool AI coding assistants use most. Free, open source.

    • Styling
    • MIT License
  • Astro

    63.5k GitHub stars

    The web framework for content-driven websites. ⭐️ Star to support our work!

    • Frameworks
    • Other license

Comments

No comments yet. Be the first to share your thoughts.