# Payload to KeystoneJS migration

> How to migrate from Payload to KeystoneJS, with a side-by-side comparison and FAQs.

---

## Source: Payload

- **Type:** headless
- **Official site:** https://payloadcms.com
- **Pricing:** https://payloadcms.com/enterprise
- **Last reviewed:** 2026-07-28

## Key advantages

Payload is genuinely strong tech. It’s fast, open-source, developer-first, and perfect if you want full control over your content model. The Next.js integration is smooth, the admin UI is clean, and it’s one of the more flexible modern CMS options if your team prefers to build things exactly the way you want them.

Just know that if you want actual features like visual editing, Vercel Blob storage, image handling, etc, you’ll be paying extra for the privilege. If you’re considering Payload or thinking about migrating into (or out of) it, reach out to us. We can help you figure out whether it’s the right stack or guide you toward a cleaner, saner (Sanity) setup.

### Integration with Next.js applications

Payload works natively with Next.js, giving you clean data fetching and a smooth development flow. It removes the usual CMS friction so you can build fast, modern frontends without hacks.

### Fully customizable

Everything is configured in code, which means you can tailor the CMS to your exact use case. You define the logic, workflows, and behaviour.

### Supports custom data models

You can design any content structure your project needs, from simple documents to complex relational models. This gives you full control over how content is organised and delivered.

### Intuitive admin UI

Payload’s admin panel is simple, clean, and fast. Editors can create, update, and manage content without training or digging through confusing menus.

### Custom plugins and APIs

You can extend Payload however you like. Build custom fields, integrate external services, or add your own API routes. Perfect for teams that need deeper project-specific functionality.

### Built-in authentication

Payload comes with user auth, roles, and access control baked in. No external auth service needed, and you can customise permissions to match your editorial workflow.

## Key pain points

Payload’s biggest issue is how quickly it hands you the responsibility baton. Because it leans so heavily on self-hosting, you’re suddenly running databases, managing infra, dealing with scaling, and debugging auth quirks at 11 pm. And since the platform is still maturing, updates can feel unpredictable, and the surrounding ecosystem isn’t quite deep enough yet to soften the landing when something breaks. The recent Figma acquisition didn’t help either. Support has felt a bit lighter, and some priorities clearly shifted, alongside pricing.

Payload feels flexible on day one, the moment your project grows you’re either engineering around gaps or paying more than expected. If you're debating whether Payload fits the future of your stack (or you’re already feeling the cracks), we’re always happy to help you plan a cleaner path or a migration that won’t come back to bite you.

### Steep learning curve

Payload’s code-first approach means you need solid dev experience to use it effectively. Non-technical teams will struggle, and onboarding takes longer compared to more guided CMSs.

### Smaller ecosystem of plugins

There aren’t many ready-made extensions, so you’ll end up building features yourself. This adds development time and increases long-term maintenance.

### Potential performance overhead

Because it’s a full JavaScript backend, Payload can get resource-heavy under high traffic. You’ll need to optimise your server setup and monitor performance more closely.

### Gaps in documentation

The docs are improving, but there are still missing pieces and unclear sections. New users often have to dig through GitHub issues to find answers.

### Small community

The community is growing but still small, so there’s less shared knowledge, fewer tutorials, and slower troubleshooting compared to bigger CMS ecosystems.

### Requires separate hosting

Payload doesn’t come with built-in hosting, so you’re responsible for setting up and managing your server. That adds extra cost, extra setup, and extra operational overhead.

## Target: KeystoneJS

- **Type:** headless
- **Official site:** https://keystonejs.com
- **Last reviewed:** 2026-07-28

## Key advantages

KeystoneJS is one of those tools that really clicks if your team thinks in code. It's a schema-driven, open-source headless CMS built on Node.js, and the developer experience is genuinely good. You define your content models in TypeScript, Keystone generates a GraphQL API and an admin UI for you, and you're off. There's very little magic or abstraction hiding what's happening under the hood, which we appreciate when building complex projects for clients.

The Prisma ORM integration is a real highlight. Automatic migration generation, type-safe database access, and support for PostgreSQL, MySQL, and SQLite mean you're not fighting your data layer. If you've ever had to wrangle a CMS into supporting a non-trivial relational content model, you'll understand why this matters. Keystone lets you express those relationships cleanly and query them with a proper GraphQL API.

The document field editor is also worth mentioning. It's one of the more thoughtful rich text implementations we've seen in a headless CMS. You can embed custom React components directly into the editor, which means content teams can work with your actual design system components rather than generic blocks. For teams that care about structured content, Keystone gives you real tools to enforce it.

Where Keystone really shines is in projects where the development team wants full ownership of the stack. There's no vendor lock-in, no proprietary query language, and no surprise pricing tiers. If you want a CMS that feels like a well-designed library rather than a platform, Keystone delivers on that promise.

### Schema-as-code with full TypeScript support

Define your entire content model in TypeScript with strong type inference throughout. The schema drives everything from the database to the admin UI to the GraphQL API.

### Automatic GraphQL API generation

Every content type you define automatically gets a full CRUD GraphQL API with filtering, pagination, and relationship resolution. No manual endpoint wiring needed.

### Prisma-powered database layer

Built on Prisma ORM with automatic migration generation and type-safe queries. Supports PostgreSQL, MySQL, and SQLite out of the box.

### Flexible document field editor

The rich text editor supports custom embedded components that map to your design system, giving content editors structured authoring without sacrificing flexibility.

### Granular access control

Fine-grained, field-level access control defined in code. You can write custom logic for create, read, update, and delete operations per field or per list.

### Fully open source with no vendor lock-in

MIT licensed with no paid tiers or proprietary features gated behind a subscription. You own the entire stack and can host it wherever you want.

## Key pain points

The biggest challenge with KeystoneJS is that it hands you all the responsibility that a managed CMS would normally handle. Deployment is entirely on you, and the documentation around production hosting, Docker configuration, and scaling is thin. We've seen teams struggle to go from a smooth local development experience to a reliable production setup, especially if they don't have dedicated DevOps support. The admin UI Docker image alone can balloon to over a gigabyte, which is a headache for containerised deployments.

The community around Keystone is significantly smaller than competitors like Strapi or Payload. That means fewer tutorials, fewer plugins, and slower answers when you hit an edge case. The ecosystem of ready-made integrations is almost non-existent, so you'll be building most things from scratch. For an agency working on client projects with deadlines, that time cost adds up quickly.

Content editors also tend to have a harder time with Keystone compared to more polished alternatives. The admin UI is functional but feels utilitarian, and non-technical users often need more onboarding than you'd expect. There's no visual editing, no preview infrastructure, and no real content workflow features like drafts, publishing schedules, or approval chains without building them yourself. If your client's content team needs a CMS they can pick up and run with, Keystone usually isn't the answer.

### Deployment complexity

Self-hosting is the only option, and the docs don't hold your hand. Getting Keystone into production requires real infrastructure knowledge, and the large Docker image sizes make it worse.

### Small community and ecosystem

Compared to Strapi or even Payload, the community is much smaller. Fewer plugins, fewer tutorials, and slower support when things go wrong.

### No built-in content workflows

There are no turnkey drafts, scheduled publishing, or approval chains. Keystone provides field primitives that can be assembled into publishing workflows, but you need to wire them up yourself.

### Admin UI feels dated

The admin panel is functional but lacks the polish and UX of modern CMS interfaces. Non-technical editors often find it confusing and need more training.

### No visual editing or live preview

There's no way for editors to see content in context before publishing. You'd need to build your own preview infrastructure, which is a significant engineering effort.

### Scaling requires significant effort

Running Keystone under high traffic means managing session stores, reverse proxies, and server resources yourself. It doesn't scale as smoothly as cloud-native CMS alternatives.

## Frequently asked questions

### How hard is it to migrate away from Payload CMS?

Payload stores content in MongoDB or Postgres, so extracting your data is straightforward compared to proprietary platforms. The real work is restructuring your content model for the target CMS and rebuilding any custom access control logic you've written. We typically complete Payload migrations in 3 to 6 weeks depending on how much custom backend logic is involved. The code-first nature of Payload means most of the content model is well-documented in your own codebase, which actually makes migration planning easier.

### What are the main reasons teams leave Payload?

The most common reasons we hear are infrastructure fatigue and ecosystem gaps. Payload requires you to manage your own database, hosting, auth, and scaling. Teams that chose Payload for its developer flexibility eventually realise they're spending more time on DevOps than on content features. The Figma acquisition in 2025 also shifted priorities. Payload paused new Cloud project deployments afterward (existing projects keep running), and some teams feel the platform's direction became less predictable. Visual editing and live preview still require significant custom engineering compared to platforms that ship them natively.

### What does a Payload to Sanity migration cost?

For a typical content site with 200 to 1,000 documents, we estimate 4 to 6 weeks of work. The bulk of effort goes into rebuilding the admin experience and frontend integration, not the data transfer itself. Payload's MongoDB exports are clean, so content migration scripts run reliably. The cost depends heavily on how much custom auth logic and access control you've built, since that needs to be rebuilt in the target platform's permission system. We scope every migration individually after reviewing your Payload config.