WP2Astro
Migrate your WordPress site to Astro in minutes
Open source CLI that converts your entire WordPress site into a blazing-fast Astro project. Posts, pages, images, SEO — everything migrated automatically.
npx wp2astro migrate How It Works
Export from WordPress
Install our WP plugin or use WP-CLI to export your content as JSON.
Run the Migration
Execute npx wp2astro migrate and watch your Astro project come to life.
Preview Your Site
Review your new Astro site locally. All content, images, and SEO settings preserved.
Deploy Anywhere
Ship to Vercel, Netlify, Cloudflare Pages, or any static host. Zero server costs.
What Gets Migrated
Posts & Pages
All posts and pages converted to Markdown files with frontmatter. Content structure preserved.
Categories & Tags
Taxonomies become Astro content collections. Organized and type-safe.
Images & Media
All media downloaded and optimized. References updated automatically.
SEO Settings
Meta titles, descriptions, OG tags, and canonical URLs preserved from Yoast/RankMath.
301 Redirects
Automatic redirect map generated. Keep your Google rankings intact.
Authors
Author profiles converted to data files. Multi-author blogs fully supported.
Why Leave WordPress?
| WordPress | Astro | |
|---|---|---|
| Page Speed | 2-5s load time | <1s load time |
| Security | Constant plugin patches | Static = no attack surface |
| Hosting Cost | $20-100/month | $0-5/month (static) |
| Maintenance | Plugin updates, PHP patches | Zero maintenance |
| Performance Score | 50-75 Lighthouse | 95-100 Lighthouse |
Plans and Pricing
Community
- ✓ Open source CLI
- ✓ Posts & pages migration
- ✓ Image download & optimization
- ✓ Basic Markdown conversion
- ✓ Community support
Pro
- ✓ Everything in Community
- ✓ Full SEO migration (Yoast/RankMath)
- ✓ 301 redirect map generation
- ✓ Custom post types support
- ✓ Preview dashboard
- ✓ Astro theme templates
- ✓ Priority email support
Enterprise
- ✓ Everything in Pro
- ✓ WooCommerce migration
- ✓ Multisite support
- ✓ White-glove migration service
- ✓ Custom theme conversion
- ✓ Priority support (24h SLA)
Frequently Asked Questions
What WordPress versions are supported?
WP2Astro supports WordPress 4.7 and above, which covers the REST API. This includes all modern WordPress versions. Older versions can export via the WP plugin.
Does it migrate my theme and design?
The Community version migrates content only. Pro includes Astro theme templates you can customize. Enterprise includes full custom theme conversion to match your current WordPress design.
What about WooCommerce?
WooCommerce migration is available in the Enterprise plan. Products, categories, and basic store structure are converted to Astro-compatible formats with integration options for headless commerce platforms.
Will I keep my Google rankings (SEO)?
Yes. Pro and Enterprise plans generate a complete 301 redirect map and preserve all SEO metadata (titles, descriptions, OG tags, canonical URLs). Your rankings should improve thanks to faster page speeds.
Is the CLI really free?
Yes, the core CLI is open source and free forever. It handles basic post/page migration with images. Pro and Enterprise add advanced features like SEO preservation, custom post types, and dedicated support.
Ready to Leave WordPress?
Join the growing movement of sites migrating from WordPress to Astro. Faster, cheaper, more secure.