ToolsGuru

Sitemap URL Extractor

Extract and analyze URLs from sitemap.xml files

Input Sitemap
Paste sitemap XML directly, or fetch it from a URL if the site allows browser (CORS) requests
How to Use

Fetch by URL:

Enter the URL of a sitemap.xml file (e.g., https://example.com/sitemap.xml) and click "Fetch". This only works if the other site allows requests from your browser (CORS); if it fails, use Paste XML instead.

Paste XML:

If you have the XML content, paste it directly into the text area and click "Parse XML".

Export Options:

Once URLs are extracted, you can copy them to clipboard, download as TXT (plain URL list), or download as CSV (with metadata like last modified date, change frequency, and priority).

Extract all URLs from an XML sitemap

Paste the XML of a sitemap and instantly get a clean list of every URL inside, with lastmod, changefreq and priority when they are present. Filter the list, copy it, or export it as plain text or CSV for audits, migrations, monitoring or content analysis.

XML sitemaps list what a site officially wants search engines to crawl. Pulling that list out by hand is tedious and error-prone; the Sitemap Extractor does the parsing for you in your browser.

Paste XML always works. Fetching by URL works only when the other site allows requests from your browser (CORS); if it does not, open the sitemap in a new tab, copy the XML and paste it in. Sitemap index files are not expanded automatically: extract each child sitemap in turn.

Why use Sitemap Extractor?

Paste XML

Parse any standard sitemap you paste, entirely in your browser.

Fetch by URL (when allowed)

Works for sites that allow browser (CORS) requests.

Clean exports

Download as plain text or CSV ready for further processing.

No signup

Nothing to create or install.

How to use Sitemap Extractor

  1. 1

    Paste the XML or enter a URL

    Use the Paste XML tab, or the Fetch by URL tab for sites that allow it.

  2. 2

    Parse the XML

    The tool parses the sitemap and lists every page.

  3. 3

    Filter the list

    Search to narrow down the discovered URLs.

  4. 4

    Export

    Copy the list or download it as text or CSV.

Common use cases

Pre-migration inventory

Get every URL listed in a sitemap before a redesign.

Sitemap validation

Spot accidental duplicates or wrong protocols in your own sitemap.

Content audit

Export URLs to a spreadsheet to review what is published.

Spot-check lastmod dates

See which pages claim to have changed recently.

Worked example: Comparing `sitemap.xml` to the live nav

An indie publisher extracted URLs from `https://example-their-site.example/sitemap.xml` (their own). They found 14 articles still in the sitemap after being unpublished. Search Console had been serving outdated URLs. They rebuilt the sitemap from the CMS and re-submitted.

The extractor listed paths; it did not check every page’s status. They checked the suspicious URLs by hand next.

Limitations

When not to use Sitemap Extractor

Features at a glance

Frequently asked questions

How do I extract URLs from a sitemap.xml file?

Open the Paste XML tab, paste the contents of your sitemap.xml and click Parse XML. The URLs are parsed in your browser and listed so you can filter, copy or export them.

Can I fetch a sitemap by URL?

Sometimes. The Fetch by URL tab asks the other site directly from your browser, so it only works when that site allows cross-origin (CORS) requests. If it is blocked, open the sitemap in a new tab, copy the XML and use Paste XML instead.

Does it support sitemap index files?

Not automatically. If you give it a sitemap index you will get a message asking you to use the individual sitemaps it lists; extract each child sitemap one at a time.

Can I export the extracted URLs as a CSV or text file?

Yes. After extracting, you can copy the URLs or download them as a plain text or CSV file. The lastmod, changefreq and priority values are included when the sitemap defines them.

Your privacy matters

Sitemap Extractor is designed to run in your web browser. File and text tools process bytes in memory on your device rather than uploading them to a ToolsGuru converter API. Network requests you still see are the page itself, analytics, and ads — not a copy of your document sitting in our logs. How we process files, and how to check.

Related tools you might like

Guides that go with this tool