Sitemap URL Extractor

Paste sitemap XML to extract every loc URL into a clean list. Remove duplicates and include lastmod as a second column if you want.

Use the tool

Why this tool exists

You need the list of URLs in a sitemap for a crawl, a redirect map, a spreadsheet audit or a comparison with analytics. The XML is verbose and most tools want one URL per line.

This extractor reads the loc elements in the sitemap you paste and returns them as a plain list, with a count at the end. It can remove duplicates, and it can add lastmod as a second tab-separated column that pastes straight into a spreadsheet. It works on sitemaps and sitemap indexes, though for an index you get the child sitemap addresses and have to open each one in turn. The extraction is done in your browser and nothing is fetched or uploaded.

How to use it

  1. Open your sitemap and copy the XML.
  2. Paste it into the input box.
  3. Choose whether to remove duplicates and include lastmod.
  4. Run the tool and copy the list into your spreadsheet or crawler.

Frequently asked questions

Can it read a sitemap index?

Yes, but you get the addresses of the child sitemaps. Open each child sitemap, paste its XML and extract again to get the page URLs.

What format is the output with lastmod?

Each line has the URL, a tab and the lastmod value. Tabs paste into separate columns in spreadsheets, so you can sort or filter by date.

Does it fetch the sitemap for me?

No. You paste the XML yourself. The tool does not make any request, which also means it works on private or staging sitemaps.

Is the XML uploaded?

No. The calculation runs in your browser and nothing you paste is uploaded, stored or sent to a server, so drafts and confidential copy are safe to check.