---
title: "NEW Feature – How to Export All WordPress URLs to CSV or JSON"
url: "https://wpimportexport.com/how-to-export-all-wordpress-urls-to-csv-or-json/"
description: "Create a WordPress all URL export with WP Import Export. Export public site URLs to CSV or JSON for SEO audits, migrations, and QA."
type: post
published: 2026-06-30T13:05:30+00:00
modified: 2026-11-26T08:19:25+00:00
categories: ["Export Guides", "Product Updates"]
tags: ["CSV Export", "Export WordPress URLs", "JSON export", "SEO Audit", "URLs Export", "WordPress migration", "WordPress URL Export", "WP Import Export"]
docs_topics: ["Export guides"]
---

# NEW Feature – How to Export All WordPress URLs to CSV or JSON

Before a redesign, a migration or a permalink change you want a list of every public URL on the site, to check afterwards that nothing went missing. WP Import Export by RockStarLab now has URLs Export: in `Import Export -> Export` it collects the frontend URLs of posts, terms, archives, feeds and other public WordPress sources and saves them as CSV or JSON. No crawler, no copying links from admin screens.

![WP Import Export screen showing URLs Export as a content type option](https://wpimportexport.com/wp-content/uploads/2026/09/wp-exporter-export-all-site-urls-1024x768.webp)

_The Export screen now includes URLs Export as an export content type._

## What is URLs Export?

An export type that writes the public URLs of a WordPress site into a CSV or JSON file: posts, pages, media, public custom post types, taxonomy terms, post type archives, feeds, comment feeds and other supported sources.

You can open the file in a spreadsheet, load it into an SEO crawler, hand it to a developer, use it for migration checks or keep it as a snapshot of the site before a change.

## Who uses a WordPress URL export?

An SEO manager loads the list into a crawler, compares it with indexed URLs and checks redirects. Before a migration, you export the old URLs and after launch check the new site against them for missing pages, broken archives and redirect gaps. A developer checks the list after a theme rebuild, a custom post type change or a permalink change. An agency can send the inventory to a client or an outside auditor without giving them a WordPress login.

## What URLs can be exported?

| URL source | What it includes | Example use case |
| --- | --- | --- |
| Posts, Pages, Media, and Custom Post Types | Individual frontend permalinks for public content | Prepare a crawl list for SEO tools or migration QA |
| Taxonomies and Terms | Category, tag, product category, and other public term archive URLs | Audit indexable taxonomy pages and archive structure |
| Post Type Archives | Archive URLs for registered public post types that support archives | Check custom post type archive pages before launch |
| Standard WordPress URLs | Homepage, front page, author archives, date archives, and search URL where available | Build a broader inventory of public site sections |
| Feeds | RSS feeds, Atom feeds, post type archive feeds, and comments feeds | Review feed URLs during technical SEO checks |
| REST API Endpoints | REST API root and public collection endpoints for supported post types | Give developers a technical endpoint list for testing |

## How to export all WordPress URLs

In the WordPress admin, go to:

`Import Export -> Export`

### Step 1: Choose URLs Export

Select **URLs Export** as the content type. The exporter then builds a list of frontend URLs instead of exporting posts, users, WooCommerce data, media records or table rows.

![WP Import Export Step 1 with URLs Export selected](https://wpimportexport.com/wp-content/uploads/2026/09/exporter-step1-urls-export-1024x768.webp)

_Select URLs Export on Step 1 to generate a frontend URL inventory._

### Step 2: Select URL sources

Instead of content filters, Step 2 shows a checkbox for each kind of URL: content, taxonomies, archives, feeds, comment feeds and REST API endpoints where available. The URL count updates as you tick and untick, so you see the size of the export before it starts.

For a plain list of content pages, keep posts, pages, custom post types, taxonomies and archives, and leave feeds and REST endpoints off. Add those for a technical audit.

![URLs Export source selection screen with checkboxes for posts taxonomies feeds and REST endpoints](https://wpimportexport.com/wp-content/uploads/2026/09/wp-export-all-site-urls-1024x768.webp)

_Step 2 lets you select which URL sources should be included in the export._

### Step 3: Review the URL export fields

The file has one column, `url`. Spreadsheets, crawlers, redirect map templates and scripts read it without any cleanup: an SEO manager uploads the CSV to a crawler, a developer feeds the JSON to a QA script.

### Step 4: Choose CSV or JSON

Choose **CSV** for Google Sheets, Excel, Screaming Frog, Sitebulb and other SEO tools. Choose **JSON** when a developer, a script or an automated check will read the list.

You can also set the batch size. On a large site the export runs in the background in batches instead of building every URL in one request.

![WP Import Export URL export options screen with CSV and JSON format choices](https://wpimportexport.com/wp-content/uploads/2026/09/urls-exporter-choose-format-1024x768.webp)

_Choose CSV or JSON before starting the URL export job._

### Step 5: Start the export and download the file

Click **Start Export** and download the CSV or JSON file when the job finishes.

The job also appears in the Jobs Log, where you can see its details, download the file again or rerun it with the same settings.

![Completed WP Import Export URL export job with download button](https://wpimportexport.com/wp-content/uploads/2026/09/all-site-urls-export-success-1024x768.webp)

_After the job finishes, download the generated URL export file._

## CSV vs JSON for URL exports

| Format | Best for | Why choose it |
| --- | --- | --- |
| CSV | SEO managers, content teams, agencies, spreadsheets, crawler tools | Easy to review, filter, sort, share, and upload into common SEO tools |
| JSON | Developers, automation scripts, QA workflows, technical exports | Easier to read in code and automated checks |

## Practical examples

### SEO audit before a redesign

Export all public URLs before the redesign. After launch, crawl that list on the new site and look for missing pages, 404 errors, redirect chains and changed archive URLs.

### Migration redirect planning

Export the old site’s URLs, mark the ones that stay the same and map each changed URL to its new address. That table is your redirect map.

### Technical QA for custom post types

After a permalink change, a theme change or a deployment, check that every custom post type entry and archive from the list still opens.

### Feed and endpoint review

For a technical audit, include feeds and REST endpoints and decide for each one whether it should be crawled, monitored, blocked or tested.

## With WP-CLI or an AI Agent

On a server, the whole URL list is one WP-CLI command:

```
wp rsl-ie export --type=urls --name=site-urls --user=admin
```

We ran it with Import Export by RockStarLab 2.2.64 on our test store (job 480). The file had 509 frontend URLs: posts, pages, products, courses, lessons, category and tag archives and the other public addresses of the site, one per row in the column `url`.

An AI agent connected through the WordPress MCP Adapter makes the same list from a request. Without the plugin, WordPress 7.1.5 gives the agent only three read-only abilities for site, user and environment information, and none of them lists the URLs of the site. Collecting every public URL into one file is an ability of the plugin:

```
With Import Export by RockStarLab, export all public URLs of this site to CSV, so I can check them after the redesign.
```

## Tips for cleaner URL exports

Tick only the sources you need. For SEO, content URLs, taxonomies and archives are usually enough.

Export the URLs before a permalink change, a redesign, a domain move, a theme switch or a custom post type restructure, and keep the file for a before-and-after comparison.

Send CSV to people and JSON to scripts.

## How to export all WordPress URLs

1. Log in to your WordPress admin dashboard.
2. Go to `Import Export -> Export`.
3. Select **URLs Export** as the export content type.
4. Choose the URL sources to include: posts, taxonomies, archives, feeds, comment feeds or REST endpoints.
5. Check the URL count and adjust the sources if needed.
6. Choose **CSV** or **JSON** as the export format.
7. Set the batch size for the export job.
8. Click **Start Export**.
9. Download the URL export file when the job finishes.

## Related Guides

- [Build a 301 Redirect Map from Before and After URL Exports](https://wpimportexport.com/build-301-redirect-map-wordpress-url-export/)
- [How to Export All Site URLs to CSV or Excel in WordPress](https://wpimportexport.com/how-to-export-all-site-urls-to-csv-or-excel-in-wordpress/)
- [How to Use Jobs Log and Schedule WP Import and Export Jobs](https://wpimportexport.com/how-to-use-jobs-log-and-schedule-wp-import-and-export-jobs/)

## FAQ

### Can I export all WordPress URLs?

Yes. URLs Export in WP Import Export collects the public frontend URLs of posts, taxonomies, archives, feeds, comment feeds and supported endpoints.

### Can I export WordPress URLs to CSV?

Yes. Save the list as CSV for spreadsheets, SEO crawlers, redirect maps and client reports.

### Can I export WordPress URLs to JSON?

Yes. Save the list as JSON for developers, QA scripts and automation.

### What column does the URL export file contain?

One column, `url`, so SEO tools, spreadsheets and scripts read it as it is.

### Is URLs Export useful for SEO?

Yes: for SEO audits, migration checks, crawl lists, redirect planning, sitemap comparison and pre-launch QA.

### Are feed and REST API URLs included automatically?

No, you select them when you need them. They are useful for technical audits; a content URL export usually leaves them out.
