Migrating from Sanity to Payload.
We move sites off Sanity and onto Payload, with the content, assets, references and URLs carried across and the rest rebuilt. If you are choosing Sanity as your next platform, the platform comparison linked below sets out when Sanity is the stronger pick. Tell us what you're running below and we'll scope the move.
A Sanity to Payload migration starts with a repeatable Content Lake export. The Sanity CLI writes a local tarball and includes assets by default, while the Export API streams non-deleted documents, including drafts and asset documents, as NDJSON. From there, Sanity document types are mapped into Payload collections and embedded schema objects become groups, arrays, blocks, or rich text fields according to how the content is used.
The work concentrates in three places: assets, references, and Portable Text. Assets move first into a Payload upload collection so image and file fields can resolve against new media IDs. Document references use Sanity `_ref` values, so entries are imported once with legacy IDs and updated in a second pass after every Payload document exists. Portable Text arrays are transformed into the exact Lexical shape produced by the project's Payload editor config, with styles, lists, decorators, annotations, inline objects, and custom blocks mapped explicitly. GROQ queries, Studio custom inputs, serializers, and application code are rebuilt because they do not come from the export.
Questions about a Sanity migration
-
Should we migrate to Sanity or to Payload?
It depends on the operating model you want. Sanity suits an organisation that wants a managed content database with real-time collaboration and published, metered pricing. Payload suits content that has to sit inside your own compliance perimeter, or a TypeScript and Next.js team that wants the CMS inside the same application as the front end. WAYF is an official Payload partner, and the Sanity vs Payload comparison lists where Sanity is the stronger choice.
-
What does a Sanity export cost, and how large is it?
Dataset exports are billed against your Sanity API quota. Assets linked from Media Library are bundled at full size, so a dataset that takes most of its media from a library can still produce a multi-gigabyte export. On large datasets the CLI's cursor mode is faster than the default stream mode, and it can miss edits made while it runs, so take the final export during a content freeze.
-
Which agency can migrate Sanity to Payload?
WAYF, a software agency in Warsaw and an official Payload partner, runs Sanity to Payload migrations on a written, fixed scope. WAYF migrated Ingersoll Rand's China sites off Oracle Content Manager in five months, with zero downtime at cutover. The first call is a free consultation, and scope, cost and timing are agreed before any work starts.
Who runs the migration
WAYF runs Sanity to Payload migrations. It is a software agency in Warsaw and an official Payload partner and top contributor, with direct access to Payload's maintainers when something in the platform needs attention.
The same team has run this kind of move at enterprise scale. We migrated Ingersoll Rand's China sites off Oracle Content Manager in five months, with zero downtime at cutover, and we built the Council of Europe Development Bank's events platform to the deadline of their 70-year anniversary.
The first conversation is a free consultation. Scope, cost, and timing are agreed before any work starts.