How to use it
- 1In WordPress, go to Tools → Export → All content and download the .xml file.
- 2Drop it here and choose the front matter format your generator uses.
- 3Download the ZIP: posts/, pages/, url-map.csv and media-urls.txt.
What's in the ZIP
Each post becomes posts/slug.md and each page pages/slug.md. Front matter carries the title, publish date (UTC), slug, author, categories, tags, excerpt as description, featured image and — as aliases — the post's original permalink, which Hugo turns into redirects automatically.
Block-editor markup and classic-editor HTML are both converted to clean Markdown: headings, lists, links, images, code blocks, tables and blockquotes. Classic posts that rely on WordPress adding paragraph tags at render time are handled too.
url-map.csv lists every old permalink next to its new path, ready for the redirect generator. media-urls.txt lists every image referenced, so you can download them in one go with wget -i media-urls.txt.
What doesn't come across
Shortcodes such as [gallery] or [contact-form-7] are plugin features with no Markdown meaning. They are left in place as text and counted in the notes, so you can search for them and swap in your new platform's components.
Comments, users, menus and plugin settings aren't part of a content migration and are skipped. Images keep pointing at the old site until you re-host them and update the URLs.
Questions
Which static site generators does the output work with?
Any that read Markdown with front matter: Hugo, Astro, Jekyll, Eleventy, Next.js with MDX or Contentlayer, Gatsby, Docusaurus, VitePress. Pick TOML for Hugo if you prefer it; YAML works everywhere.
Can I convert only some post types?
Yes. Choose posts, pages or everything. “Everything” includes custom post types such as products or portfolio items, each in its own folder.
My export is split into several files. What do I do?
Drop them all at once. Each is converted in turn and the results are combined into one ZIP.
Guides that use this tool
· 5 min read
Moving from WordPress to a static site: a practical migration plan
How to move a WordPress site to Hugo, Astro, Eleventy or Jekyll: exporting content, converting to Markdown, handling shortcodes and media, and keeping every URL working.