00
:
00
:
00
LIMITED TIME OFFER: Act now to lock in a 50% discount!
Risk free, backed by our 90-Day Money Back Guarantee.
Pricing

You may have seen some references on our site to annual licensing or renewals.

All plugins currently come with a lifetime license, no matter what the site says.

We’re currently running tests before we make the switch to annual pricing. Check the Discounts tab to purchase our other plugins and get a lifetime license before they’re gone.

I Understand I Have a Lifetime License

Lifetime licenses are only available for a short time!

SPECIAL OFFER 
Save 50% OFF For a Limited Time!
Now is your last chance to buy a lifetime license before we switch to annual pricing. Existing lifetime licenses will be unaffected so get in while you can!
  • 90-Day Money-Back Guarantee
  • Fast World Class Support
  • Unlimited Sites
  • Free Lifetime Updates
  • Easy to Use
  • Developer Friendly
Risk free! Cancel at any time with our 90-day guarantee.
"All Import/Export is an awesome suite of tools. It gets me out of some tough challenges."
Eric Karkovack, Freelance Writer
"WP All Import - Versatile, and I have saved so much time with it over the years."
Matt Andrews, Full Stack Web Developer
"@WPAllImport just let me import 3000 products from some arbitrary Excel to WooCommerce w/ a few clicks, including images and categories."
Joris Witteman, Developer / Designer

Wait, Don’t Miss Your Chance for a Lifetime License!

@glitzformals
"This plugin is a game changer for my situation. I’m stunned at how fast and effortless the import process is."
@adatfalo
"I have never experienced such a quick and helpful support experience with any plugin, and by the way, the knowledge of the support colleagues is professional!"
@jessedw44
"Even if you just use this plugin once, it will save you time. If you work on several sites its invaluable. Constantly developed, and continuously supported. Great job."

90-Day Guarantee

Not 100% happy? Let us know and we’ll promptly send you a refund.

Free Updates For Life

Pay once for unlimited installs, even client sites. No renewal fees.

World Class Support

Over 9 years experience with WordPress imports and exports.

Your Last Chance for a Lifetime License!

We are soon moving to yearly licenses only. Once lifetime licenses are gone, they're gone forever.
@adatfalo
"I have never experienced such a quick and helpful support experience with any plugin, and by the way, the knowledge of the support colleagues is professional!"
@jessedw44
"Even if you just use this plugin once, it will save you time. If you work on several sites its invaluable. Constantly developed, and continuously supported. Great job."

90-Day Guarantee

Not 100% happy? Let us know and we’ll promptly send you a refund.

Free Updates For Life

Pay once for unlimited installs, even client sites. No renewal fees.

World Class Support

Over 9 years experience with WordPress imports and exports.
Now is your last chance to buy a lifetime license before we switch to annual pricing. Existing licenses will be unaffected.
Read More

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.

This documentation covers how to export WordPress posts using WP All Export. For a broader look at exporting WordPress posts, check out:

Step 1: Create New Export for WordPress Posts with Images

Navigate to All Export › New Export and select Posts from the dropdown list.

Export WordPress Posts with Images New Export

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:

Export WordPress Posts with Images Drag and Drop Interface

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.

Export WordPress Posts with Images Media Image Data

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.

Export WordPress Posts with Images Media Attachments Data

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:

Export WordPress Posts with Images Export Settings

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:

Export WordPress Posts with Images Export Complete

On this screen, you can download the exported file in the selected format (i.e., CSVXMLExcel) 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:

Export WordPress Posts with Images Manual Cron Jobs

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.

Export WordPress Posts with Images 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/.

WordPress PHP Export Field

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?

  1. Create a new export and choose Posts.
  2. Select the export fields that you want to include in the export.
  3. Run the export.
  4. 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.

Lifetime support. Lifetime updates. Pay once.

Packages
Standalone
Import
Pro Package
$249
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Pro Package
$299
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
WooCommerce Import Package
$149
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Standalone
$169
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Export Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee

Unlimited Installs. World-class Support.
Money Back Guarantee.

Packages
Standalone
Import
Pro Package
  normally $499.00  
$249.00
/year
Save $250, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Pro Package
  normally $599.00  
$299.00
/year
Save $300, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
WooCommerce Import Package
  normally $299.00  
$149.00
/year
Save $150, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import Standalone
  normally $199.00  
$99.00
/year
Save $100, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Standalone
  normally $339.00  
$169.00
/year
Save $170, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Export Standalone
  normally $199.00  
$99.00
/year
Save $100, 50% Discount
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
cross