Sitemap URL Extractor

Extract every URL and lastmod date from a sitemap or sitemap index XML.

The Sitemap URL Extractor reads the XML of a sitemap and pulls out every URL it contains, presenting them as a clean table alongside the last modified date where one is present. Instead of scrolling through raw XML or writing a parser, you paste the file's contents and immediately get a tidy list you can review, sort, or export for auditing, crawling, or migration work.

It automatically detects whether you have pasted a standard urlset sitemap or a sitemap index that points to other sitemaps, and it extracts the loc values from whichever structure it finds. This makes it easy to work through nested sitemaps: extract the child sitemap URLs from an index, then paste each child in turn to pull its page URLs. The tool also decodes XML entities so the URLs come out readable.

Everything runs locally in your browser, so the sitemap content you paste is never uploaded or stored. That is useful when you are auditing a staging site, a competitor's public sitemap you have downloaded, or an internal tool, because the parsing happens entirely on your own device with no network requests involved.

Features

  • Extracts every loc URL from a standard urlset sitemap into a clean, exportable table.
  • Detects sitemap index files and lists the child sitemap URLs they reference instead.
  • Shows the lastmod date beside each URL when the sitemap provides one.
  • Decodes XML entities such as encoded ampersands so URLs are returned readable.
  • Reports whether the input is a URL set or a sitemap index, plus the total count.
  • Handles large sitemaps quickly since parsing is done locally without any upload.
  • Exports the results to CSV or XLSX, or copies the table for use elsewhere.

How to use Sitemap URL Extractor

  1. Open your sitemap file or view its source, then copy the full XML.
  2. Paste the XML into the input box; the tool auto-detects a urlset or sitemap index.
  3. Read the table, where each row shows a URL and its last modified date if available.
  4. Check the stats to confirm the type detected and how many URLs were found.
  5. If it was a sitemap index, paste each child sitemap in turn to extract its page URLs.
  6. Export the URLs to CSV or XLSX, or copy them, for crawling, auditing, or import.

Benefits

  • SEO auditors turn a sitemap into a working URL list for crawling and coverage checks.
  • Developers extract links for migration mapping without writing a throwaway parser.
  • Content teams review every published URL a site advertises to search engines.
  • QA testers confirm that expected pages actually appear in the live sitemap.
  • Analysts compare sitemap URLs against crawl data to find orphaned or missing pages.
  • Local parsing keeps downloaded or internal sitemap contents private to your device.

Sitemaps come in two related shapes. A urlset sitemap lists individual page URLs, each inside a url element with a loc child and optional metadata such as lastmod. A sitemap index instead lists other sitemap files, each inside a sitemap element, and is used when a site has more URLs than a single file can hold. This tool recognises both and extracts the appropriate loc values automatically.

The lastmod date, when present, records when a page was last changed and can help you prioritise which URLs to re-crawl or review first. Not every sitemap includes it, so the column may be blank for some rows. Because the extractor decodes XML entities, URLs containing encoded ampersands or other escaped characters are returned in their normal, clickable form rather than the raw encoded version.

All parsing runs in your browser and nothing is uploaded, so you can safely analyse sitemaps from staging environments or files you have saved locally. For very large sites split across many sitemaps, work top-down: extract the child sitemaps from the index first, then process each one. To go the other way and build a sitemap from a list of URLs, use the XML Sitemap Generator.

Frequently asked questions

Related tools