Fast migrations
Convert posts, pages, categories, tags, and authors with resume support for large sites.
Start migrating
Convert your whole WordPress site to Eleventy with one command.
Unpress is a CLI utility that helps you migrate your WordPress content (posts, pages, taxonomies, and media) to a static Eleventy site. Whether you're looking to save hosting costs or archive a stale blog, Unpress makes the migration simple and reliable.
Why Migrate?
Get started in 2 steps:
# 1. Add credentials to .env in the directory where you will run Unpress
WP_URL=https://your-site.com
WP_USER=your-username
WP_APP_PASSWORD=your-app-password
# 2. Run migration without installing Unpress globally
pnpx @selfagency/unpress --generate-site
# or
npx -y @selfagency/unpress --generate-siteThen deploy the generated site/ folder to Netlify, Vercel, or Cloudflare Pages.
That's it! Unpress will:
Need help? See the Installation Guide or Troubleshooting.
| Content | Migrated | Notes |
|---|---|---|
| Posts | β | All post types, statuses, and custom fields |
| Pages | β | All pages including parent-child relationships |
| Categories | β | Preserves category hierarchy |
| Tags | β | All tags with post associations |
| Authors | β | Creates author files and per-author pages (multi-author blogs) |
| Media | β | Download locally, reupload to S3/SFTP, or leave URLs unchanged |
| Custom Fields | β | Configurable via types.yml |
Choose how to connect to WordPress:
Three modes to handle your images and files:
site/ folderLarge WordPress site? Unpress saves checkpoints every 100 items. If migration is interrupted, run --resume to continue exactly where you left offβno duplicate work.
Static sites don't have built-in search. Unpress integrates with Meilisearch to add fast, typo-tolerant search to your new site.
Generated 11ty templates include:
See our example projects for complete, working configurations:
pnpx or npxMIT Β© 2024-present Self Agency