WordPress Export Posts with Images
To export WordPress posts with images, go to All Export › New Export and select Posts from the dropdown list. Configure your export columns with the Drag & Drop interface, then run the export and download the exported posts and their images.
Step 1: Create New Export for WordPress Posts with Images
Navigate to All Export › New Export and select Posts from the dropdown list.

When needed, Add Filtering Options to control which WordPress posts will be exported.
Click on Customize Export File to continue.
Step 2: Customize the WordPress Posts Export
The Drag & Drop interface appears, where you build the export template.
To include data in an export, drag fields from the Available Data section on the right and drop them into the column selection area on the left:

To remove an export column, drag it out of the column selection area and drop it anywhere else on the interface.
To learn about the different sections available when exporting posts, you can review Customize the WordPress Post Export File.
In this document, we will focus on the Media section, which contains the image and attachment fields associated with WordPress posts. To include images in your export, you must drag fields from this section into the column selection area.
The remainder of this section provides detailed descriptions of the relevant fields.
Media › Images
The data associated with images on your WordPress posts will appear here. The following fields are available:
- Image URL: URL to the image.
- Image Filename: Filename of the full-size image.
- Image Path: Path or location (on the server) to the image.
- Image ID: The attachment ID of the image.
- Image Title: The image title.
- Image Caption: The image caption.
- Image Description: The image description.
- Image Alt Text: The image alternative text.
- Image Featured: The URL of the featured image.
Multiple values are separated by a pipe "|" character.

Media › Attachments
The attachments uploaded to your WordPress site generate the same types of fields, as shown below:
- Attachment URL: URL to the attachment.
- Attachment Filename: Filename of the attachment.
- Attachment Path: Path or location (on the server) to the attachment.
- Attachment ID: The attachment ID of the attachment.
- Attachment Title: Attachment's title.
- Attachment Caption: Attachment's caption.
- Attachment Description: Attachment's description.
- Attachment Alt Text: Attachment's alternative text.
If there are multiple attachments per post, the different values are again separated by a pipe "|" character.

Media from Custom Fields
If your media is stored in a different way, i.e., embedded in a serialized array inside a custom field, you can still export it. You just have to write custom PHP code as explained in the guide: How to Pass Exported WordPress Data Through PHP Functions.
Basically, you must apply custom code to that custom field. Your code should process the data entirely, locate the specific data that you wish to extract, and then return it.
While we may be able to provide examples in some scenarios, we don't help with custom coding. For that type of assistance, you can reach out to one of our recommended developers.
Step 3: Configure the Export Settings
After setting up the export template, click on the Continue button at the bottom of the page (not shown). Next, you'll see the Export Settings screen:

This interface lets you modify the default export settings. You can add Scheduling Options or change Advanced Options. Once you're ready to run the WordPress posts export, click on Confirm & Run Export.
Step 4: Download the WordPress Posts with Images
You will see the following screen once the export completes:

On this screen, you can download the exported file in the selected format (i.e., CSV, XML, Excel) or as a Bundle file that you can use for migrations.
Export WordPress Posts with Images — Advanced Topics
Schedule your WordPress Posts Export
You can schedule a WordPress posts export using either of our integrated Scheduling Options:
- Manual Scheduling: manually set up schedules with cron jobs created in cPanel or Plesk. See Schedule WordPress Exports Using Cron Jobs.
- Automatic Scheduling: set up automatic schedules within our interface for an extra monthly fee. See Run WordPress Export on a Schedule.

Export WordPress Posts with Images to an External App Using Zapier
Our plugin lets you send your exported data to any third-party app available in Zapier. This will let you integrate your post exports with whatever tool you need, such as Gmail or Google Drive.
To learn more, visit: How to Send Exported WordPress Data to Zapier.

Modify Post Export Data Programmatically
If you need to modify the post data that's being exported, you can use custom code. For example, here is how to change a URL from https://example-debug.com/ to https://example.com/.

This is the function used:
function my_replace($value){
return str_replace("https://example-debug.com/","https://example.com/",$value);
}
Learn more about this in the guide: How to Pass Exported WordPress Data Through PHP Functions.
Export WordPress Posts with Images — Frequently Asked Questions
How Do I Export Posts from WordPress?
- Create a new export and choose Posts.
- Select the export fields that you want to include in the export.
- Run the export.
- Download the exported WordPress Posts and review the contents of the export file.
To learn more, see How to Export WordPress Posts.
Does a WordPress Post Export Include Images?
Not by default, but you can use the procedures described in this document to include images with your post export or any other post type that has images or attachments.
For a broader description of our export capabilities, see Export WordPress to CSV, XML, or Excel.
How Do I Export All Images from WordPress?
You cannot export the entire the Media Library out of the box. You have to export the post type or custom post type and then include its associated images in the export, exactly as we've demonstrated in this document.
However, there is a workaround using a WP_Query export (see documentation) to generate an export file with all the media or attachments that exist on your site. This is the query:
'post_type' => 'attachment', 'post_status' => 'inherit'
How Do I Export All My Posts With Images?
To export all your posts with images, just export posts exactly as describe in this guide, including image fields, but without applying filters.
How Do I Export a Post With a Featured Image?
To export a post with a featured image, just include the Image Featured field from Available Data > Media > Images section in your export. There are no other required actions.
Related Docs
Create or modify filters added to the export.
Learn more about exporting WordPress Images and attachments.
Explains in simple steps how to import WordPress posts.