Free tool, no signup required

Sitemap URL Extractor

Pull every URL out of a sitemap, including nested index files and gzipped ones, then download the whole list as CSV, TXT, or JSON.

3 checks remaining today (free)

What the extractor handles

Most sitemaps on real sites are not a single flat file. They are an index pointing at several children, split by content type, and often compressed. The extractor deals with all of that and hands back one plain list.

  • Sitemap index files. Followed recursively to three levels, across up to 50 child sitemaps.
  • Gzipped sitemaps. Both a gzip Content-Encoding header and a raw .xml.gz file are decompressed before parsing.
  • Namespace prefixes. Files using a prefix such as sm:urlset parse the same as unprefixed ones.
  • CDATA and entities. URLs wrapped in CDATA or carrying escaped ampersands are decoded properly.
  • Optional fields. lastmod, changefreq, and priority come through into the CSV alongside each URL.
  • Source tracking. Each row records which child sitemap the URL came from, which matters when you are debugging an index.

What you get back

  • A searchable, paginated table of every extracted URL.
  • CSV with url, lastmod, changefreq, priority, and source sitemap columns.
  • Plain text, one URL per line, for pasting into another tool.
  • JSON, if you want to script against the output.
  • A per-file breakdown showing how many URLs each child sitemap contributed.

What people use a sitemap URL list for

  1. 01

    Pre-migration inventory

    Extract every URL before a replatform, so you have a definitive list to build redirects from and to check against afterwards.

  2. 02

    Bulk status checking

    Feed the list into a link checker to find which declared URLs are already dead. Our sitemap crawler does this for the first 100 automatically.

  3. 03

    Competitor research

    A competitor sitemap tells you their full content inventory, their URL patterns, and, through lastmod, how often they actually publish.

  4. 04

    Content auditing

    Group the URL list by path prefix to see where your pages actually live and which sections have grown without anyone deciding they should.

  5. 05

    Rank tracker setup

    Import the list rather than adding URLs by hand, so tracking matches what the site actually publishes.

A useful trick

Extract the same sitemap a month apart and compare the two CSV files. The difference is your real publishing rate, plus every URL that quietly disappeared.

Reading a sitemap URL list

A flat list of URLs answers a few questions quickly once you sort it.

  • Count by path prefix. If one section holds most of your URLs, that is where your crawl budget goes, whether you meant it to or not.
  • Look at lastmod spread. Every URL sharing one date means the field is generated, not real, and Google will ignore it.
  • Check for parameter URLs. Filter and sort parameters in a sitemap usually mean the generator is indexing faceted navigation.
  • Scan for staging hostnames. Migrations regularly leave a handful of staging URLs behind in the generated file.

To see this as a structure rather than a list, the visual sitemap generator groups the same URLs into a navigable tree.

Frequently Asked Questions

What does the sitemap extractor do?

It fetches a sitemap, follows any sitemap index down through its child files, and returns one flat, de-duplicated list of every URL with its lastmod, changefreq, and priority. You can copy the list or download it as CSV, TXT, or JSON.

Does it follow sitemap index files?

Yes, up to three levels deep and up to 50 sitemap files. Nested indexes are walked recursively with a cycle guard, so a sitemap that points back at itself will not loop.

How many URLs can it extract?

Up to 5,000 per run, within a 40 second budget. If the sitemap holds more, the result tells you the total found alongside the number returned, so you always know whether the list is complete.

Does it work with gzipped sitemaps?

Yes. A sitemap.xml.gz is decompressed before parsing, whether the server sends it with a gzip Content-Encoding header or serves the raw compressed file.

Can I give it a domain instead of a sitemap URL?

Yes. Paste example.com and it looks for the sitemap first, checking robots.txt and nine common paths, then extracts from whatever it finds.

What can I use the URL list for?

Common uses are bulk-checking status codes, feeding a list into a rank tracker or a crawler, building a redirect map before a migration, comparing two sites during a merge, and auditing which URL patterns dominate a site.

Are the URLs de-duplicated?

Yes. Duplicate loc values across child sitemaps appear once in the extracted list. If you want to know how many duplicates the sitemap itself contains, run the sitemap validator, which reports them as a warning.

A URL list is the start, not the answer

CrawlRaven takes the same URLs and joins them to your Search Console impressions and GA4 sessions, so every row tells you whether the page is indexed, ranking, and earning anything.