Free Sitemap URL Extractor: Get Every URL from an XML Sitemap

Enter a domain or sitemap URL and get every page URL, with last-modified dates. Finds the sitemap, follows indexes, unzips .gz files and removes duplicates.

  • ✓ Free
  • ✓ No sign-up
  • ✓ Auto-finds sitemaps
  • ✓ Index + .gz support
  • ✓ CSV & TXT export

By Sheikh Shadi Shuvo, Founder of Backlink Express · Updated

XML sitemap in one sentence

An XML sitemap is a file that lists the URLs a website wants search engines to find, with optional last-modified dates. It helps discovery, but it doesn't guarantee indexing.

How to extract URLs from a sitemap

  1. Enter a domain (example.com) to let the tool find the sitemap, or paste a sitemap URL directly.
  2. Click "Extract URLs". Large sites can take up to a minute.
  3. Filter and export. Type a path such as /blog/ to narrow the list, then download CSV or TXT.

How this extractor works

  1. Finds the sitemap. It reads the site's robots.txt for Sitemap: lines. If there are none, it tries /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and /sitemap-index.xml.
  2. Follows sitemap indexes. If a file is an index of other sitemaps, it opens each one, up to 3 levels deep and 50 files.
  3. Unzips and parses. It handles .xml.gz files and reads each <loc> and <lastmod>.
  4. Cleans the list. Duplicates across files are removed and counted, and URLs on a different host are flagged.

You also get a list of every sitemap file it read, with its type, entry count and any errors, which is useful for spotting broken sitemaps.

What is an XML sitemap?

An XML sitemap is a file, usually at /sitemap.xml, that lists the URLs on a site. Each entry has a <loc> (the URL) and can include <lastmod>, <changefreq> and <priority>. There are two kinds of file:

  • URL set (<urlset>): lists page URLs.
  • Sitemap index (<sitemapindex>): lists other sitemap files. WordPress, Yoast and Rank Math all use one.

Google says smaller sites (about 500 pages or fewer) that are well linked internally may not need a sitemap, while large sites and new sites with few external links benefit most.

Sitemap rules and limits

XML sitemap rules
RuleDetail
URLs per sitemapNo more than 50,000
File sizeNo larger than 50 MB (52,428,800 bytes) uncompressed
CompressionFiles may be gzipped (.xml.gz)
Sitemaps per indexAn index may list up to 50,000 sitemaps
HostAll URLs in a sitemap must be from a single host
URLsUse fully-qualified, absolute URLs
EncodingUTF-8, with special characters entity-escaped (e.g. & as &amp;)
lastmodW3C Datetime format, e.g. 2026-10-24
DiscoveryList it in robots.txt with a 'Sitemap:' line and submit it in Search Console

Sources: sitemaps.org protocol; Google Search Central, 'Build and submit a sitemap' (checked October 2026).

How Google uses your sitemap

  • It's a hint, not a command. Google says submitting a sitemap is merely a hint and doesn't guarantee that every URL will be crawled or indexed.
  • priority and changefreq are ignored. Google states it ignores both values, so don't spend time tuning them.
  • lastmod only counts if it's honest. Google uses it when it's consistently and verifiably accurate. Plugins that stamp every URL with today's date teach Google to ignore it.
  • Only list canonical, indexable URLs. Redirects, 404s, noindexed pages and duplicates send mixed signals.
Which sitemap fields Google uses
FieldUsed by Google?
<loc>Yes, required
<lastmod>Yes, if consistently and verifiably accurate
<changefreq>No, ignored
<priority>No, ignored

Source: Google Search Central, 'Build and submit a sitemap'.

What to check in your sitemap

Once you have the URL list, these are the problems worth looking for:

  • Broken files. Any sitemap in the "files checked" list with an error or a non-200 status.
  • Duplicates. The same URL in several sitemaps, often from plugins overlapping.
  • Wrong host. http vs https or www vs non-www URLs mixed in one sitemap.
  • Pages that shouldn't be there. Filter for /tag/, /author/, ?s= or test pages.
  • Pages that are missing. Filter for your key sections and make sure the important pages appear.
  • Fake lastmod dates. If every URL shows today's date, fix the setting in your SEO plugin.
  • Unindexed pages. Spot-check important URLs with our Google Index Checker.

Common sitemap problems and how to fix them

These are the issues we see most often when extracting sitemaps from real sites:

Sitemap problems and fixes
ProblemUsual causeFix
No sitemap foundNo 'Sitemap:' line in robots.txt and a non-standard file nameAdd a 'Sitemap:' line to robots.txt and submit the sitemap in Search Console
Sitemap returns 404 or 5xxPlugin disabled, caching or security rule blocking the fileOpen the sitemap URL in a browser; clear the cache or re-save the SEO plugin settings
Sitemap returns an HTML pageA redirect to the homepage or a login pageMake sure the URL returns XML with a 200 status, not a redirect
Two sitemaps for one siteTwo SEO plugins, or WordPress core plus a pluginKeep one. Rank Math and Yoast turn off the core WordPress sitemap when active
http:// or www URLs mixed inSite address settings don't match the live domainFix the site URL setting so every entry uses your canonical host
Redirected or noindexed URLs listedOld posts, merged pages, plugin defaultsRemove them; list only canonical pages that return 200
Every lastmod is todayPlugin or cache stamping the current dateUse the real last content change; Google ignores lastmod it can't trust
Invalid XML / parse errorUnescaped & characters, PHP warnings printed before the XMLEscape special characters and fix the PHP notice; the file must start with the XML

Our experience extracting sitemaps, checked against the sitemaps.org protocol and Google's sitemap guidance.

Where common platforms put the sitemap

If the tool can't find the sitemap automatically, try the default location for the platform:

Default sitemap locations
Platform / pluginUsual sitemap URL
WordPress (built in, no SEO plugin)/wp-sitemap.xml
WordPress + Rank Math/sitemap_index.xml
WordPress + Yoast SEO/sitemap_index.xml
Shopify/sitemap.xml
Most other sites and frameworks/sitemap.xml or /sitemap-index.xml

Default settings; a site owner can change any of these.

SEO uses for a sitemap URL list

  • Content audits: export every URL into a sheet and add traffic, word count and status.
  • Site migrations: capture the full URL list before you move, to build redirect maps.
  • Competitor research: see how a competitor structures their content and how often they publish.
  • Link-building prospecting: list a publisher's category pages to find the right topic for a guest post.
  • Internal linking: find older posts to link to new content.
  • Index coverage checks: compare the sitemap list with the pages Search Console reports as indexed to find gaps.

A quick audit workflow: extract the URLs, download the CSV, then sort by last-modified date. Pages that haven't changed in years are candidates for an update, a merge or removal. Paste your most important URLs into the Google Index Checker to confirm they're in Google, and check a sample with the Schema Checker to make sure your templates output valid structured data.

About this tool

  • Limits: up to 50 sitemap files, 3 index levels and 50,000 URLs per check; files up to 50 MB.
  • What it reads: XML URL sets and sitemap indexes, plain or gzipped. RSS feeds and HTML sitemaps aren't parsed.
  • Privacy: results aren't stored. Private and local addresses are blocked.
  • Display: the first 200 URLs are shown on screen; the CSV and TXT downloads include all of them.

Frequently asked questions

What is a sitemap URL extractor?

A tool that reads a website's XML sitemap files and lists every page URL inside them, so you can audit, filter or export them.

Is this sitemap extractor free?

Yes. There's no sign-up, and you can download the URL list as CSV or TXT.

How do I find a website's sitemap?

Enter the domain and the tool checks robots.txt for 'Sitemap:' lines, then tries common locations such as /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml.

Does it work with sitemap index files?

Yes. When a sitemap index lists other sitemaps, the tool follows them, up to 3 levels deep and 50 files per check.

Does it support compressed .xml.gz sitemaps?

Yes. Gzipped sitemaps are unzipped automatically.

How many URLs can it extract?

Up to 50,000 URLs per check, from up to 50 sitemap files. Duplicate URLs are removed and counted.

How many URLs can one sitemap contain?

According to the sitemaps.org protocol and Google, a single sitemap can list up to 50,000 URLs and be up to 50 MB uncompressed. Bigger sites split their URLs across several sitemaps and list them in a sitemap index.

Does Google use priority and changefreq?

No. Google says it ignores the priority and changefreq values. It uses lastmod only when it is consistently and verifiably accurate.

Does a sitemap guarantee my pages get indexed?

No. Google says a sitemap doesn't guarantee that the URLs in it will be crawled and indexed. It is a hint that helps Google find your pages.

Why does the sitemap show fewer URLs than my site has?

Sitemaps often leave out pages on purpose (tags, filters, private pages) or by mistake (plugins that skip some post types). Compare the list with your important pages.

How do I import the URLs into Excel or Google Sheets?

Download the CSV and open it. The file is UTF-8 with a header row: URL, last modified date and the sitemap each URL came from.

Can I extract URLs from a competitor's sitemap?

Yes, if their sitemap is public. It's a quick way to see how their content is organised and what topics they cover.

What if the tool can't find a sitemap?

The site may not have one, may block robots.txt, or may use an unusual location. Paste the sitemap URL directly if you know it.

More free SEO tools

Need links from sites with real authority and real traffic?

Browse manually vetted publishers and order guest posts from one dashboard.

See the marketplace

Backlink Express is an independent link-building marketplace. Tool results are provided as-is for research.