{"id":5226027,"date":"2022-05-25T09:11:27","date_gmt":"2022-05-25T09:11:27","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5226027"},"modified":"2025-12-08T19:12:22","modified_gmt":"2025-12-08T19:12:22","slug":"how-to-export-wordpress-csv-excel-xml","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/","title":{"rendered":"How to Export WordPress to CSV, Excel, XML and Google Sheets"},"content":{"rendered":"\n<p>To export WordPress data to CSV, Excel, XML, or Google Sheets, go to <strong>All Export \u203a New Export<\/strong> and select the type of data you want to export. Use the <strong>Drag &amp; Drop<\/strong> interface to select your export columns, then run the export and download your file.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Export a WordPress Custom XML Feed\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/FKtpSls34xw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-topics\">Table of Contents<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#select-post-type\">Step 1: Select an Export Post Type<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#customize-export\">Step 2: Choose Your Export Columns<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#confirm-run-export\">Step 3: Confirm and Run Your Export<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#download-export-file\">Step 4: Download Your Exported Data<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>Advanced Topics<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#different-export-type\">Select a Different Export Type<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#scheduling\">Schedule Your Export<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#php-code\">Use PHP Code in Export<\/a><\/li>\n\n\n\n<li><a href=\"#saved-export-template\">Reuse Export Template on Multiple Exports<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"select-post-type\">Step 1: Select a Post Type for Your WordPress Export<\/h2>\n\n\n\n<p>First, navigate to <strong>All Export \u203a New Export<\/strong> and choose the type of data that you want to export. <\/p>\n\n\n\n<p>WordPress separates data into different post types like posts, pages, WooCommerce products, real estate properties, etc. You can export any custom post type or taxonomy by selecting it here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"674\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-1024x674.jpg\" alt=\"Export WordPress Create New Export\" class=\"wp-image-5228944\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-1024x674.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-300x197.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-768x505.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-1536x1011.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export-2048x1348.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Create-New-Export.jpg 2282w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Once you've chosen a post type, click <strong>Customize Export File<\/strong> at the end to continue (not shown). <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"customize-export\">Step 2: Choose Your Export Columns<\/h2>\n\n\n\n<p>The fields available to export are listed on the right. Drag and drop individual fields from there to the column selection area, or click <strong>Add All<\/strong> to export everything.<\/p>\n\n\n\n<p>All data is available for export, including media, images, categories and tags, custom fields, etc. Add-ons like WooCommerce, real estate plugins, Yoast, and ACF have custom data that can be exported, too.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"817\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-1024x817.jpg\" alt=\"Export WordPress Drag and Drop Export Fields\" class=\"wp-image-5228964\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-1024x817.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-300x239.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-768x613.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-1536x1225.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields-2048x1634.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Drag-and-Drop-Export-Fields.jpg 2156w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Once you've selected your export fields, you can move them around to reorder them. Click to rename individual elements, combine multiple fields, and more.<\/p>\n\n\n\n<p>When your export columns are the way you want them, click <strong>Continue<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"confirm-run-export\">Step 3: Confirm and Run Your Export<\/h2>\n\n\n\n<p>You can now configure your WordPress export settings. This includes the ability to schedule your export and set advanced options. We'll leave these settings alone for now. Instead, click <strong>Confirm &amp; Run Export<\/strong> to run your export.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"854\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-1024x854.png\" alt=\"WordPress Export Confirm Settings and Run Export\" class=\"wp-image-13114285\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-1024x854.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-300x250.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-768x641.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-1536x1281.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export-2048x1708.png 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/10\/WordPress-Export-Confirm-Settings-and-Run-Export.png 2292w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download-export-file\">Step 4: Download Your Exported WordPress Data<\/h2>\n\n\n\n<p>After the export finishes, download the generated export file. At this point, you can choose to migrate this data to another WordPress website, edit it in Excel and import it back into WordPress, or send it to Dropbox, Google Sheets, Google Drive, email, and over 1000+ other external apps via Zapier.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"604\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-1024x604.jpg\" alt=\"Export WordPress Download and Export Complete\" class=\"wp-image-5229000\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-1024x604.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-300x177.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-768x453.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-1536x907.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete-2048x1209.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Download-and-Export-Complete.jpg 2104w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You can review previous exports via <strong>All Export \u203a Manage Exports<\/strong>.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Export WordPress Data to any CSV, XML, or Excel<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Zapier integration<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/export-wordpress\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-topics\">Export WordPress \u2013 Advanced Topics<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"different-export-type\">Select a Different WordPress Export Type <\/h3>\n\n\n\n<p>To export WordPress data in a different format, expand the <strong>Export Type<\/strong> section in the <strong>Drag &amp; Drop<\/strong> interface. Here are the available options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Spreadsheet\n<ul class=\"wp-block-list\">\n<li><strong>CSV File<\/strong>: creates a .CSV file.<\/li>\n\n\n\n<li><strong>Excel File (XLS)<\/strong>: creates a .XLS file.<\/li>\n\n\n\n<li><strong>Excel File (XLSX)<\/strong>: creates a .XLSX file.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Feed\n<ul class=\"wp-block-list\">\n<li><strong>Simple XML Feed<\/strong>: creates a .XML file.<\/li>\n\n\n\n<li><strong>Custom XML Feed<\/strong> creates a .XML file.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type-1024x497.jpg\" alt=\"Export WordPress Select Export Type\" class=\"wp-image-5229010\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type-1024x497.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type-300x146.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type-768x373.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type-1536x745.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/05\/Export-WordPress-Select-Export-Type.jpg 1604w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>When you export WooCommerce products, there will be another Feed option: <strong>Google Merchant Center Product Feed<\/strong>. That export type is specific to products and generates a .TXT file.<\/p>\n\n\n\n<p>To export your data from WordPress to Google Sheets, you would use our Zapier integration. First, you would create the export as explained in this guide, and then you can proceed to connect Zapier with WP All Export to send your data from WordPress to Google Sheets. Learn more over at <a href=\"https:\/\/www.wpallimport.com\/documentation\/add-exported-wordpress-data-to-google-sheets-using-zapier\/\" target=\"_blank\" rel=\"noreferrer noopener\">Export from WordPress to Google Sheets using Zapier<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"scheduling\">Export WordPress Automatically with Scheduling<\/h3>\n\n\n\n<p>You can schedule your WordPress export using the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cron jobs: this allows you to manually create cron jobs in your server (via cPanel, Plesk, or similar) and then run the export on a schedule. To learn more, see&nbsp;<a href=\"https:\/\/www.wpallimport.com\/documentation\/scheduling-exports-using-cron-jobs\/\" target=\"_blank\" rel=\"noreferrer noopener\">Manual Scheduling<\/a>.<\/li>\n\n\n\n<li>Our Automatic Scheduling Service: this is an optional and monthly paid service that allows you to schedule exports directly from within our plugin's interface. See&nbsp;<a href=\"https:\/\/www.wpallimport.com\/documentation\/run-wordpress-export-on-a-schedule\" target=\"_blank\" rel=\"noreferrer noopener\">Automatic Scheduling Service<\/a>.<\/li>\n<\/ul>\n\n\n\n<p>The scheduling options can be defined by expanding the <strong>Scheduling Options<\/strong> section of the <strong>Export Settings<\/strong> screen (Step 3 above), or after the export has been created in <strong>All Export \u203a Manage Exports <strong>\u203a Scheduling Options<\/strong><\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php-code\">Use PHP Code or Custom PHP Code when Exporting WordPress Data<\/h3>\n\n\n\n<p>In addition to exporting WordPress data easily, our software allows you to use PHP code or custom PHP code on the exported data. <\/p>\n\n\n\n<p>This is useful for modifying your WordPress data on-the-fly while exporting. You can learn more about this in our documentation, <a href=\"https:\/\/www.wpallimport.com\/documentation\/custom-wordpress-export-php\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Pass Exported WordPress Data Through PHP Functions<\/a>. This technique allows you to apply a function to a single export element. <\/p>\n\n\n\n<p>If you need to pass more than one export element through a function, you can use custom export fields instead. See <a href=\"https:\/\/www.wpallimport.com\/documentation\/custom-export-fields\/\" target=\"_blank\" rel=\"noreferrer noopener\">Combine and Process Multiple Data Elements into a Custom Export Field<\/a> for more information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"saved-export-template\">Saving or Using a Saved Export Template<\/h3>\n\n\n\n<p>WP All Export provides full control over how you export your data. This means that there's also a way to save the existing export template and settings to apply to a different\/new\/future export process. To save an export template, do this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>While in Step 2 (as shown in this guide above), scroll all the way down and click to enable the&nbsp;<strong>Save settings as a template<\/strong>&nbsp;option.<\/li>\n\n\n\n<li>Input a name as the&nbsp;<strong>Template name<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"450\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template-1024x450.jpg\" alt=\"WordPress Export Save Export Template\" class=\"wp-image-5819725\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template-1024x450.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template-300x132.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template-768x338.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template-1536x676.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/WordPress-Export-Save-Export-Template.jpg 1664w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>That's it! The template will be saved once you continue to the next step or save\/update the template.<\/p>\n\n\n\n<p>To load a saved template, do the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>When in Step 2, scroll all the way down and locate the template section.<\/li>\n\n\n\n<li>Select the desired export template from the&nbsp;<strong>Load Template<\/strong>&nbsp;drop-down list.<\/li>\n\n\n\n<li>Once selected, the page will reload and apply all import mappings and settings.<\/li>\n<\/ol>\n\n\n\n<p>Keep in mind that templates only work for the same post type in which they were originally created. You can manage saved export templates via&nbsp;<strong>All Export \u203a Settings \u203a Import\/Export Templates<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">Export WordPress \u2013 Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq1\">What is a CSV File in WordPress?<\/h3>\n\n\n\n<p>\"CSV\" means \"comma-separated value.\" A CSV file is a text file that contains multiple rows of data, with each row consisting of one or more columns. The columns are typically separated by a comma or some other character, while the rows are separated by one or more special characters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq2\">How Do I Export WordPress Data to a CSV File?<\/h3>\n\n\n\n<p>Just follow the steps in this guide, as CSV is the default file format. If you want to change the file format, this is done in the <strong>Export Type<\/strong> section of the <strong>Drag &amp; Drop<\/strong> screen. Other options include XML, Excel and Google Sheets.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq3\">How Do I Export a Post From WordPress?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>All Import &gt; New Export<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Posts <\/strong>as the export type.<\/li>\n\n\n\n<li>Filter the posts in the <strong>Add Filtering Options<\/strong> section.<\/li>\n\n\n\n<li>Choose your export columns.<\/li>\n\n\n\n<li>Run the export and download the exported data.<\/li>\n<\/ol>\n\n\n\n<p>For more information, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/export-wordpress-posts\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Export WordPress Posts<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq4\">How Do I Export a Page From WordPress?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>All Import &gt; New Export<\/strong>.<\/li>\n\n\n\n<li>Choose <strong>Pages<\/strong> as the export type.<\/li>\n\n\n\n<li>Filter the pages in the <strong>Add Filtering Options<\/strong> section.<\/li>\n\n\n\n<li>Select your export columns.<\/li>\n\n\n\n<li>Complete the export and download the export file.<\/li>\n<\/ol>\n\n\n\n<p>To learn more, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-pages\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Export WordPress Pages<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq5\">Can I Export WordPress Users?<\/h3>\n\n\n\n<p>Yes. All you have to do in our plugin is change the export type to <strong>Users<\/strong>. Otherwise, the basic export process is the same. The only unusual factor with exporting WordPress users is that user password values are hashed, so they're not readable by humans.<\/p>\n\n\n\n<p>See <a href=\"https:\/\/www.wpallimport.com\/documentation\/export-wordpress-users-to-csv-or-xml\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Export WordPress Users to CSV, Excel, or XML<\/a> for additional details.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq6\">How Do I Export All Content From WordPress?<\/h3>\n\n\n\n<p>WordPress has a built-in export tool that lets you export all your posts, pages, comments, custom fields, terms, navigation menus, and custom posts. The problem with this tool is that it uses a brute-force method with no control over any aspect of the process.<\/p>\n\n\n\n<p>WP All Export takes the opposite approach, allowing you to control every aspect of your WordPress records, including the use of advanced filters, column selection, and even programmatic manipulation of export data on the fly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq7\">How Do I Export WordPress Media?<\/h3>\n\n\n\n<p>You cannot export the media library out of the box. To export media from your WordPress site, you need to export the post type or custom post type associated with the media that you wish to export. <\/p>\n\n\n\n<p>For example, if you have multiple images attached to posts, you need to export the WordPress posts to obtain those images.<\/p>\n\n\n\n<p>However, there's a workaround that allows using a WP_Query export (<a href=\"https:\/\/www.wpallimport.com\/documentation\/wp-query-export-to-csv\/\" target=\"_blank\" rel=\"noreferrer noopener\">see documentation<\/a>) to generate an export file with all of the media that exists on your site. Here's the query that you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'post_type' =&gt; 'attachment',\n'post_status' =&gt; 'inherit'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq8\">How Do I Import Data into WordPress? <\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>All Import &gt; New Import<\/strong>.<\/li>\n\n\n\n<li>Choose how you want to load your data (i.e., upload a file, use a URL, etc.).<\/li>\n\n\n\n<li>Select your import file and your import target (i.e.,&nbsp;<strong>Posts, Pages, etc.<\/strong>).<\/li>\n\n\n\n<li>Map incoming data elements to your WordPress fields.<\/li>\n\n\n\n<li>Run the import.<\/li>\n<\/ol>\n\n\n\n<p>For more information, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/importing-an-xml-or-csv-file\/\" target=\"_blank\" rel=\"noreferrer noopener\">Importing CSV, XML, Excel, and Google Sheets into WordPress<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq9\">How Do I Export and Import a WordPress Site? <\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Export all of your desired data.<\/li>\n\n\n\n<li>Download the generated bundle files for each post type that you exported.<\/li>\n\n\n\n<li>Import each bundle file on the destination site.<\/li>\n\n\n\n<li>Verify that your data was successfully migrated.<\/li>\n<\/ol>\n\n\n\n<p>This process is explained in more detail in our <a href=\"https:\/\/www.wpallimport.com\/documentation\/migrate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Migration overview<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Export WordPress \u2013 Related Docs<\/h2>\n\n\n\n\n\n<p>Learn how to import any CSV or XML file to WordPress.<\/p>\n\n\n\n\n\n<p>Describes how to migrate data between sites.<\/p>\n\n\n\n\n\n<p>Shows you how to bulk edit your WordPress data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, XML or Google Sheets using WP All Export.<\/p>\n","protected":false},"author":96198,"featured_media":5287888,"parent":2991539,"menu_order":1,"template":"","tags":[138,140,139,141],"content_author":[213],"search_tags":[144,145,146,104,116],"class_list":["post-5226027","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","tag-w-article","tag-w-faq","tag-w-howto","tag-w-video","content_author-editorial-staff","search_tags-w-article","search_tags-w-faq","search_tags-w-howto","search_tags-wordpress","search_tags-wordpress-export"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Export WordPress to CSV, Excel, XML and Google Sheets - WP All Import<\/title>\n<meta name=\"description\" content=\"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, XML or Google Sheets using WP All Export.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Export WordPress to CSV, Excel, and XML\" \/>\n<meta property=\"og:description\" content=\"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, or XML using WP All Export.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T19:12:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Export WordPress to CSV, Excel, and XML\" \/>\n<meta name=\"twitter:description\" content=\"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, or XML using WP All Export.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/\",\"name\":\"How to Export WordPress to CSV, Excel, XML and Google Sheets - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg\",\"datePublished\":\"2022-05-25T09:11:27+00:00\",\"dateModified\":\"2025-12-08T19:12:22+00:00\",\"description\":\"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, XML or Google Sheets using WP All Export.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg\",\"width\":1200,\"height\":630,\"caption\":\"How to Export WordPress to CSV, Excel, or XML\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Export WordPress to CSV, Excel, XML and Google Sheets - WP All Import","description":"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, XML or Google Sheets using WP All Export.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/","og_locale":"en_US","og_type":"article","og_title":"How to Export WordPress to CSV, Excel, and XML","og_description":"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, or XML using WP All Export.","og_url":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T19:12:22+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"How to Export WordPress to CSV, Excel, and XML","twitter_description":"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, or XML using WP All Export.","twitter_image":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg","twitter_misc":{"Est. reading time":"6 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/","url":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/","name":"How to Export WordPress to CSV, Excel, XML and Google Sheets - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg","datePublished":"2022-05-25T09:11:27+00:00","dateModified":"2025-12-08T19:12:22+00:00","description":"A Quickstart guide that explains how to easily export WordPress data to CSV, Excel, XML or Google Sheets using WP All Export.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-export-wordpress-csv-excel-xml\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2021\/08\/How-to-Export-WordPress-to-CSV-Excel-or-XML.jpg","width":1200,"height":630,"caption":"How to Export WordPress to CSV, Excel, or XML"},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5226027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5226027\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/5287888"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5226027"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5226027"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5226027"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5226027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}