Cope Business
Back to All Tools

Free XML Sitemap
URL Extractor

Enter any domain or paste a direct XML sitemap URL to extract URLs from sitemap files in seconds. Handles sitemap index files with automatic child sitemap discovery. Easily download sitemap URLs to CSV or TXT. Our free XML sitemap extractor works seamlessly with no signup or limits.

Overview

What This Tool Does

Our sitemap XML extractor pulls a clean, downloadable list of every URL declared in any public XML sitemap. If you need to download sitemap XML data quickly without parsing the code yourself, this tool does the heavy lifting for you. We built it because manually inspecting sitemaps — especially on large WordPress or Shopify sites with nested sitemap indexes — costs hours that should take seconds.

  • Parses standard XML sitemaps and nested sitemap index files (sitemap_index.xml, sitemap.xml.gz)
  • Extracts only page URLs (filters out image, video, and news sitemap entries by default)
  • Exports to CSV or TXT — drop the list straight into Screaming Frog list mode, Ahrefs Batch Analysis, or a Google Sheet
  • Runs entirely on our server — fast, reliable, no CORS issues regardless of the target site
Features

Why Our Sitemap Extractor Stands Out

Many sitemap extraction tools (like SEOwl and others) fail on large sitemap indexes, return errors, or lack advanced filtering. We built this tool to overcome those limitations and provide a flawless experience for SEO professionals looking to download sitemap URLs reliably.

Lightning Fast Results

Extracts and parses even massive sitemaps in seconds without timing out or throwing errors.

Auto-Fetch from Root Domain

Just enter a root domain, and the tool will automatically check your robots.txt to find the sitemap.

Advanced Viewing Modes

Toggle between a clean List View and a hierarchical Tree/Grouping View to understand site structure at a glance.

Search & Filter

Instantly search for any URL to see which child sitemap it belongs to. Use our dropdown to filter by specific child sitemaps.

Total URL Count

Always know exactly how many URLs have been extracted with our real-time URL counter display.

Export & Download

Easily download sitemap URLs to CSV or TXT format to use in your favorite SEO auditing software.

Steps

How To Use The Sitemap URL Extractor

1

Find your sitemap URL.

Most sites publish it at https://yourdomain.com/sitemap.xml or https://yourdomain.com/sitemap_index.xml. If you're not sure, see the next section.

2

Paste the full URL into the input field above

(include https://).

3

Click Extract URLs.

For sitemaps with under 10,000 URLs, results appear within a few seconds. For larger indexes, the tool fetches each child sitemap and reports progress.

4

Download sitemap URLs as CSV or TXT, or copy the list directly.

Paste into your audit tool of choice. Whether you need to download XML sitemap data for an audit or just want to extract URL from sitemap files individually, this makes it easy.

Discovery

How To Find Your Sitemap URL

If you're searching "what is my sitemap URL," there are four reliable methods — in order of speed:

1 Check The Most Common Paths

https://yourdomain.com/sitemap.xml https://yourdomain.com/sitemap_index.xml https://yourdomain.com/sitemap.xml.gz https://yourdomain.com/wp-sitemap.xml (WordPress 5.5+ default) https://yourdomain.com/sitemap-index.xml (Yoast SEO)

2 Check Robots.txt — Usually Fastest

Open https://yourdomain.com/robots.txt and look for a line beginning with Sitemap:. Every well-configured site declares its sitemap location here.

3 Check Google Search Console

Sitemaps → submitted sitemaps. This is the authoritative source if you have access — it shows you exactly what Google is fetching.

4 Platform-Specific Defaults

WordPress (default since 5.5): /wp-sitemap.xml
WordPress (Yoast SEO): /sitemap_index.xml
WordPress (Rank Math): /sitemap_index.xml
Shopify: /sitemap.xml
WooCommerce: typically /sitemap_index.xml via Yoast or Rank Math
Next.js (with next-sitemap): /sitemap.xml or /sitemap-0.xml
Laravel (with spatie/laravel-sitemap): wherever you publish it — check routes/web.php
Comparison

Sitemap Vs. Sitemap Index — What's The Difference?

XML Protocol Definition

A standard XML sitemap is a single file listing your URLs inside tags. Up to 50,000 URLs per file is the protocol limit, and the file itself must be under 50 MB uncompressed.

Nested Architectures

A sitemap index is a parent file listing other sitemap files inside tags. Large sites use this pattern because a single file can't hold their full URL inventory.

Extractor Intelligence

Our extractor handles both automatically. Paste either a standard sitemap or a sitemap index URL — if it's an index, we fetch every child sitemap in parallel and merge the results.

Use Cases

When To Use A Sitemap Extractor

1

Site Migrations And Redirect Maps

Before changing your URL structure, extract the current sitemap as your source URL list. Pair it with the new URL structure and build a 1:1 redirect map. This is the single most common cause of post-migration traffic loss — sites launch without complete redirects because no one inventoried the existing URLs first.

2

Indexing Diagnostics In Google Search Console

Compare URLs in your sitemap against the "Indexed" count in GSC's Pages report. Gaps indicate either crawl budget issues, indexing rules (noindex, canonical conflicts), or duplicate content problems.

3

Content Audits At Scale

Extract every URL, then enrich the list with traffic data from GA4, click data from GSC, and last-modified dates from your CMS. The result is a single sheet that tells you which pages to update, consolidate, or remove.

4

Competitor Research

Public sitemaps reveal site structure, content categories, and pace of publishing. Extract a competitor's sitemap weekly and diff the lists to see what they're shipping.

5

Platform Migrations (WordPress → Shopify, Shopify → Next.js, Etc.)

Same logic as site migrations, but with extra care for parameter handling, trailing slashes, and case sensitivity differences between platforms.

Troubleshooting

Common Problems And Quick Fixes

1

"Nothing Extracted" Or The Sitemap Won't Load

Confirm the URL opens in your browser. Make sure it's an XML sitemap, not an HTML sitemap page (HTML sitemaps use <a> tags, not <loc> tags). If your sitemap is behind authentication, the extractor can't access it — sitemaps should always be public.

2

The Sitemap Is Huge

For sitemaps over 50,000 URLs, fetch child sitemaps individually from the sitemap index. This is faster and gives you cleaner segmented lists (e.g. only product URLs, only blog URLs) for downstream audits.

3

Unexpected URLs In The Output

This is almost always a sitemap generator misconfiguration. Common culprits: WordPress including tag pages or author archives, Shopify including expired product URLs, Next.js including draft pages, or staging URLs leaking into production sitemap.

4

CORS Errors Or "Blocked" Messages

Some sites block cross-origin sitemap requests at the WAF level. This tool uses a server-side fetch, which bypasses most WAF rules. If you still see a block, the site is using strict enterprise-level bot management.

Requirements

What Should Your Sitemap Actually Contain?

After you extract your URLs, sanity-check them against these rules:

Only canonical URLs. If a URL has a rel="canonical" pointing elsewhere, don't list it.
Only 200 OK status codes. No redirects (3xx), no errors (4xx, 5xx).
No noindex pages. If you don't want it indexed, don't sitemap it.
No duplicate URLs. Including trailing-slash and non-trailing-slash versions of the same page is a common mistake.
Consistent protocol and hostname. Pick one of https://www.example.com or https://example.com and stick with it.

If your extracted list violates any of these, fix the rule at the sitemap generator level — not by manually editing the sitemap file.

FAQ

Frequently Asked Questions

What is an XML Sitemap?
An XML sitemap is a file that lists a website's essential pages, making sure search engines can find and crawl them all. It acts as a roadmap of your website and tells search engines what content exists and when it was last updated.
How do I extract URLs from a sitemap?
Simply paste your direct XML sitemap URL into the input field above, click "Extract URLs", and the tool will instantly pull all the links via a server-side fetch. You can then download them as a CSV or TXT file.
Why should I extract my sitemap URLs?
Extracting URLs is crucial for SEO audits. You can use the list to check for indexing gaps in Google Search Console, prepare URL redirect maps during a website migration, or run bulk analyses in tools like Screaming Frog and Ahrefs.
Does this work with WordPress, Shopify, and custom sites?
Yes. As long as you provide a direct link to a valid XML sitemap, the tool will extract the URLs regardless of the platform. It works with WordPress, Shopify, WooCommerce, Next.js, Laravel, and any other platform using the standard sitemaps.org XML format.
How do I find my sitemap URL?
Most websites place their sitemap at /sitemap.xml or /sitemap_index.xml. You can also check your website's robots.txt file, which usually contains a direct link to your sitemap. See the "How To Find Sitemap URL" section above for all four methods.
Can I download the results?
Yes. You can export the extracted URLs into a clean CSV file (with Last Modified dates and source sitemap) or a plain text (TXT) file, making it easy to drop the list straight into Screaming Frog, Ahrefs, or a Google Sheet.
About

About This Tool

Cope Business is a technical SEO agency specialising in platform-specific optimization for WordPress, Shopify, WooCommerce, Next.js, and Laravel. We built this sitemap extractor because we use it ourselves — on every site audit, every migration, every indexing diagnostic we run. It's free because the SEO community needs more tools that don't gate basic functionality behind email captures.

If you need help going beyond the URL list — diagnosing why indexed-vs-submitted gaps exist, fixing crawl budget issues, or executing a platform migration — get in touch.