Sitemap URL Extractor

Extract all URLs from an XML sitemap — paste sitemap XML and get a clean list of loc values with a total count. Works with urlset and sitemap index files in your browser.


Supports standard urlset sitemaps and sitemap index files. Nested index entries are listed as loc URLs.

0
URLs found

Paste sitemap XML to extract URLs.

Frequently Asked Questions

What does this tool extract?

It finds all loc elements in your sitemap XML and lists the URLs. For sitemap index files, it lists the child sitemap URLs rather than fetching them remotely.

Can I validate my sitemap first?

Yes. Use the Sitemap Validator to check urlset structure, loc tags, and URL formatting before extracting.

Does it fetch remote sitemaps?

No. Paste the XML content directly. This keeps everything local and avoids cross-origin restrictions in the browser.

Can I build new sitemap entries?

Yes. Use the XML Sitemap Snippet Generator to create url blocks for individual pages.

Is this tool free and does it work on mobile?

Yes on both counts. The Sitemap URL Extractor on draft21 is completely free with no sign-up required and works on all devices.