WordPress to Markdown
A lightweight WordPress plugin that exports your website content (posts, pages, and custom post types) into Markdown files, neatly organized into a handy ZIP archive.
by Andrew Viney, Antigravity · github.com/itsviney/wordpress-to-markdown
★ 0stars
9release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/itsviney/wordpress-to-markdown/releases/download/v1.4.0/wordpress-to-markdown-v1.4.0.zipReadme
WordPress to Markdown
A lightweight WordPress plugin that exports your website content (posts, pages, and custom post types) into Markdown files, neatly organized into a handy ZIP archive.
Inspired by the WordPress Export to Markdown command line tool.
Features
- Block-to-Markdown Parsing: Converts standard WordPress blocks into clean Markdown with frontmatter.
- Post Type Organization: Automatically organizes exported files into subdirectories based on their post type (e.g.,
posts/,pages/). - Incremental Exports: Tracks export history for each user so you can choose to only export new and updated posts.
- ZIP Packaging: All exported Markdown files are bundled into a single ZIP archive for easy download and portability.
- Clean Output: Automatically strips unnecessary HTML and UI elements during conversion.
- Frontmatter: Adds frontmatter to each Markdown file with post metadata, including title, date, author, terms and Yoast SEO data (if available).
- Limit Exports: Choose to only export the X most recent posts of each post type.
- Generate llms.md: Combine all of your site's content into a single
llms.mdfile for easy reference by large language models.
Installation
- Download the latest version from the releases page.
- Upload the zip to the Plugins area in WordPress.
- Activate the plugin.
Usage
- Navigate to Tools > Export to Markdown in WordPress.
- Select the post types you wish to include in the export.
- If you have exported previously, you can check the "Only export new and updated posts" option to perform an incremental export.
- Click the Export to Markdown button.
- The plugin will process your content and automatically trigger a download of the ZIP archive.
Heads up!
- Users require the
exportcapability to access the tool. - I've only tested this on relatively small WordPress sites (under 1,000 posts). If you're exporting from a much larger site, you may need to increase the
WP_MAX_MEMORY_LIMITandWP_MEMORY_LIMITconstants in yourwp-config.phpfile. - SEO data won't be included in local/dev environments because Yoast SEO doesn't clean up its indexables properly in those environments.
- Should run fine in multisite environments, though not extensively tested. Each site is treated independently.
- Vibe-coded using Gemini 3 Flash in Antigravity.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.4.0 | Jun 16, 2026 | wordpress-to-markdown-v1.4.0.zip | 2 |
| v1.3.0 | Apr 27, 2026 | wordpress-to-markdown-v1.3.0.zip | 1 |
| v1.2.0 | Apr 16, 2026 | wordpress-to-markdown-v1.2.0.zip | 1 |
| v1.1.0 | Apr 11, 2026 | wordpress-to-markdown-v1.1.0.zip | 3 |
| v1.0.0 | Apr 8, 2026 | wordpress-to-markdown-v1.0.0.zip | 2 |