Data migration tools for Payload CMS 5

Move a WordPress site to Payload CMS with WP2Payload or another importer. Seed repeatable test data with Dummy, or import content over REST.

Idempotent seed runner that fills a Payload database with ordered, cross-referenced content

Migrates WordPress posts, pages, media, SEO and redirects into Payload

Migrates WordPress sites to Payload from a WXR export file

Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects

Runs create, update, delete and upsert on Payload collections from the terminal

About these packages

Data migration tools move content into Payload from another system or fill a database with known data. They run as scripts and CLIs outside the admin panel. Payload's own migrations are a different thing and handle schema changes.

What these tools cover

  • WP2Payload for WordPress posts, pages, media and SEO data
  • WordPress export importers, including WP to and WP Migrate Core
  • Dummy, idempotent seed data with natural-key references
  • Collection CLI and PCMS CLI for imports and upserts from the terminal
  • Utilities that resolve relationships, uploads and rich text in documents

Choosing data migration tools

For a WordPress move, WP2Payload also carries media and SEO data. WP to and WP Migrate Core work from a WordPress export file. Run imports against a staging database first, and keep the export so you can repeat the run after you fix field mappings. Dummy suits tests and demos, because running it twice leaves the same data. It targets the Payload 4 beta, so check your version first. CSV or JSON imports inside the admin panel, and backups, are among the migration plugins.

Frequently asked questions

How do I move a WordPress site to Payload CMS?

Start with a WordPress export and check which input format your importer accepts. WP Migrate Core accepts XML exports. WP2Payload also moves media and SEO data. After the import, check images, shortcodes and internal links.

What is the difference between seeding and Payload migrations?

Payload migrations apply changes to a database, including SQL schema updates and transformations of existing documents. Seed tools insert known documents such as demo content or test fixtures. Dummy supports repeatable runs without creating duplicates.

How do I import content into Payload with a script?

Write a Node script that calls payload.create or payload.update through the Local API. If you prefer not to write code, Collection CLI upserts records from the terminal. PCMS CLI imports content over REST.