WordPress GuidePost → Export

How to export WordPress posts

Image

Exporting WordPress posts is a task you’ll run into when you’re moving content, creating backups, or planning to repurpose your blog posts elsewhere. Fortunately, there are several ways to do it—from built-in tools to powerful export plugins.

Let’s walk through each method, what data gets included, and how to avoid common issues.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

Why you might need to export WordPress posts

There are a variety of reasons to export posts:

Depending on your goals, some methods are better suited than others. A basic XML export works well for migrations, but a plugin is better for detailed or formatted exports.

3 methods for exporting WordPress posts

WordPress gives you a few solid options to get your post content out. These include using built-in features, plugins, or direct database access if you’re comfortable with that level of control.

1. Export posts using the built-in WordPress export tool

This is the easiest way to export your blog posts without adding any plugins.

This generates a .xml file (also called a WXR file) containing your selected posts and metadata. It’s ideal for importing into another WordPress site, but not great if you want to edit in a spreadsheet or access specific custom fields.

If you want to export other types of content like Media, Pages, or Custom Post Types, you can select those from the same screen.

To export just your media library, choose the Media option and click download—though note that it doesn’t include the actual image files, only their metadata.

2. Use a plugin to export WordPress posts to CSV, Excel, or JSON

If you want more control over what gets exported or need a file format like CSV, Excel, or JSON, a plugin is the way to go.

Two of the best options:

WP All Export gives you a drag-and-drop interface, supports custom fields, and lets you schedule recurring exports. Here’s how to use it:

WP Ultimate CSV Importer is another good choice, especially if you plan to re-import the data after editing. It supports many post types and can handle SEO fields, WooCommerce products, and more.

3. Export posts manually via phpMyAdmin (for advanced users)

If you’re comfortable working directly with your WordPress database, you can export post data using phpMyAdmin. This method gives you access to all content but requires some understanding of how WordPress stores data.

The wp_posts table includes all post types, so you’ll need to filter by post_type = ‘post’ to get only blog posts. You may also want to export related tables like wp_postmeta, wp_term_relationships, and wp_terms to get full taxonomy and custom field data.

This is the most powerful method, but also the easiest to mess up. Avoid unless you’re doing complex migrations or working with developers.

Don’t let AI break your WordPress site

We like Google’s AI Overviews and other LLM summaries as much as the next person who has to search ‘how to’ do something new. But when they cite inaccurate or outdated content, your site suffers.

Solution: Take control of your search results by adding Liquid Web as a preferred source. You’ll see our guides more readily when you search for help with your site.

What data is included when you export posts?

Here’s what you can expect to get:

Using WordPress Export Tool (XML):

Using a plugin like WP All Export:

Everything above, plus:

Using phpMyAdmin:

How to include images and media files

Here’s the key thing: most export tools do not include the actual image files.

You have a few options:

Exporting to CSV, Excel, or other formats

WordPress core doesn’t support this, but plugins do:

This is great for bulk editing, auditing, or re-importing later.

Exporting custom fields and post metadata

If you use plugins like Advanced Custom Fields (ACF), Yoast, or Rank Math, those custom fields won’t be included in the default XML export.

Plugins like WP All Export let you:

This is essential for ecommerce, membership, or content-heavy sites using lots of post meta.

Troubleshooting common export issues

It’s not always perfect. Here are some common problems:

Exporting other content types

You can also export:

Plugins like WP All Export Pro or WP Ultimate CSV Importer support these post types. Just choose the content type you need from the export screen.

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Trust us to help you choose the ideal hosting solution

Loading form…