Idempotent seed runner that fills a Payload database with ordered, cross-referenced content
WP to
Migrates WordPress sites to Payload from a WXR export file
Installation
pnpm add wp-to-payload About
WP to Payload moves a WordPress site into a Payload project from the standard WordPress export file, without needing access to the old site. It brings over posts, pages, categories, tags, authors and media, plus custom fields, menus and Polylang translations. Internal links are rewritten to the new URLs.
An analysis step shows what a site contains and how hard the move will be before any content is written. Running the import again updates earlier content instead of creating duplicates. A redirect map for the old URLs can be generated for Next.js, Apache, nginx, Netlify or the Payload redirects plugin.
Package info
- Package name
wp-to-payload- Latest version
0.2.0- Unpacked size
- 519 kB
- License
- MIT
- Weekly downloads
- 26
- Last publish
- Nov 3, 2026
Similar tools
More in Data & migrationMigrates WordPress posts, pages, media, SEO and redirects into Payload
Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects
Runs create, update, delete and upsert on Payload collections from the terminal