How to Export WordPress Data to a Custom CSV/XML
WP All Export turns your WordPress data into custom spreadsheets and XML feeds. First, you select what you want to export. You can export posts, pages, WooCommerce products, orders, and custom post types from any theme or plugin.
Then you set up your export file, deciding exactly what gets exported and how it is formatted in your export file. You can create Excel files and CSVs with any custom delimiter. If you're exporting to XML, you can choose between a visual XML builder or you can hand-code your XML template.