Sitemap toolsFree · no sign-up

Sitemap URL Extractor: get every URL from a sitemap

Turn any XML sitemap into a clean list of page URLs. Sitemap indexes and gzipped sitemaps are opened for you, duplicates are removed, and you can filter, copy or download the result in one click.

Try:

Free every day: 3 sitemap reads without an account · 10 with a free account · 100 with Pro.How limits work

How to use the Sitemap URL Extractor

  1. 1

    Enter the sitemap address

    For example https://example.com/sitemap.xml or a sitemap index such as /sitemap_index.xml.

  2. 2

    We open every file

    Child sitemaps are read in parallel, gzip files unpacked, and every page URL collected with its last-modified date.

  3. 3

    Filter and export

    Narrow the list by path or word, then copy it, download CSV or TXT, or check which URLs Google has indexed.

By the PreIndex teamUpdated Based on Google Search Central documentation

In short

  • Enter a sitemap or a sitemap index. Child sitemaps and .xml.gz files are opened automatically.
  • You get one list without duplicates, with each URL’s lastmod date, ready to copy or export as CSV or TXT.
  • Up to 25,000 URLs and 50 child sitemaps per extraction with Pro; 5,000 URLs and 10 sitemaps without an account.
  • Send the list straight to the Google Index Checker to see which sitemap pages aren’t indexed.

Sitemaps and sitemap indexes

A sitemap is an XML file that lists the pages of a site, one <url> entry per page. Because one file can hold at most 50,000 URLs, most CMSs split them up and publish a sitemap index: a file that only lists other sitemaps.

<!-- A sitemap: page URLs -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/blog/first-post</loc>
    <lastmod>2026-11-02</lastmod>
  </url>
</urlset>

<!-- A sitemap index: other sitemaps -->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap><loc>https://example.com/post-sitemap.xml</loc></sitemap>
  <sitemap><loc>https://example.com/page-sitemap.xml</loc></sitemap>
</sitemapindex>

Reading an index by hand means opening each child file in turn. The extractor does it for you and returns only the page URLs, which is the list you actually need.

What the extractor reads

  • XML sitemaps and sitemap indexes, with or without the sitemaps.org namespace;
  • gzipped files (.xml.gz), unpacked on our side;
  • sitemaps with image, video or news extensions: you get the page URL, and the extra image or video addresses are skipped;
  • XML escapes and CDATA, so &amp; becomes a normal & in the list.

On the way it flags problems it notices, such as unescaped characters, relative URLs or URLs on another domain. For a full check against Google’s rules, use the Sitemap Validator. Google also accepts RSS feeds and plain text files as sitemaps; this tool reads XML.

Where to find a site’s sitemap

Start with robots.txt: most sites declare their sitemap there with a line like Sitemap: https://example.com/sitemap.xml. If it isn’t listed, the address usually depends on the platform:

PlatformUsual sitemap address
WordPress (no plugin)/wp-sitemap.xml
WordPress with Yoast or Rank Math/sitemap_index.xml
Shopify, Wix, Squarespace, Webflow/sitemap.xml
Custom sitesOften /sitemap.xml; check robots.txt

Not sure? The Sitemap Validator looks in robots.txt and the common addresses for you.

Six things to do with the URL list

  1. Check indexing in bulk. Send the list to the Google Index Checker to find the sitemap pages Google hasn’t indexed.
  2. Find pages that shouldn’t be listed. Run a sample through the Noindex Checker: redirects, 404s and noindex pages don’t belong in a sitemap.
  3. Audit content. Filter by /blog/ to count posts, or sort the CSV by lastmod to find pages untouched for years.
  4. Plan a migration. Export every URL before you move a site, so each one can be mapped and redirected to its new address.
  5. Find orphan pages. Compare the list with the pages your site links to; URLs that appear only in the sitemap get little crawl attention.
  6. Study a competitor. A public sitemap shows how a site organises its content and how often it publishes.

Limits and tips

Reading sitemaps is the heaviest work our servers do for these tools, so the size of one extraction depends on your account: without an account it reads up to 10 child sitemaps and 5,000 URLs, with a free account 25 sitemaps and 25,000 URLs, and with Pro 50 sitemaps and 25,000 URLs. Each file can be up to 20 MB. For bigger sites, extract the child sitemaps one by one. Sitemaps behind a login, or on servers that block unknown visitors, can’t be read.

lastmod dates come straight from the file. Many CMSs set them to the time the sitemap was generated rather than when the page changed, so treat them as a hint.

Frequently asked questions

How do I extract all URLs from a sitemap?

Enter the sitemap URL above and press Extract URLs. The tool reads the sitemap and every sitemap it lists, and gives you one list you can copy or download as CSV or TXT.

Does it work with sitemap index files?

Yes. A sitemap index is opened automatically and its child sitemaps are read (10 without an account, 25 with a free account, 50 with Pro), so you get the page URLs rather than a list of other sitemaps.

Can it read .gz sitemaps?

Yes. Gzipped sitemaps (.xml.gz) are unpacked on our side before reading.

Is there a limit on URLs?

One extraction returns up to 5,000 URLs without an account and 25,000 with a free or Pro account. Very large sites split their sitemaps; extract the child sitemaps one by one to get everything.

How do I find a website’s sitemap?

Look for a Sitemap line in the site’s robots.txt, or try /sitemap.xml and /sitemap_index.xml. The Sitemap Validator checks these places for you.

Why does a sitemap fail to load?

Usually a wrong address (404), a firewall that blocks unknown visitors, a login wall, or an HTML page served instead of XML. The error message tells you which.

Sources

Pages still not on Google?

Get them indexed in minutes, not weeks.

Once a page is free of blockers, PreIndex submits it for indexing and tracks every URL. Standard URLs that don’t get indexed are refunded.