Sitemap URL extractor

Paste raw sitemap XML — up to 500,000 characters — and get back every <loc> URL as a clean, deduplicated list. The fastest way to turn your sitemap into the inventory the other tools need. Nothing is fetched or uploaded.

Illustrative example — replace it with your own sitemap XML. Results update as you type.

How to get your sitemap XML

  1. Open the sitemap URL in your browser (usually /sitemap.xml), then use View Source to see the raw XML.
  2. Copy the entire source and paste it above. For large sites, handle one sitemap file at a time.
  3. If it is a sitemap index (a list of sitemaps rather than URLs), the tool lists the nested sitemap locations. Download each sitemap file and extract them one at a time, then combine the lists.

What the extractor does — and does not do

  • Extracts the text inside every <loc> element and deduplicates the list.
  • Flags duplicate <loc> entries inside a single sitemap file.
  • Does not fetch nested sitemaps, check HTTP status, or verify that the URLs are canonical. Feed the extracted list into the URL inventory duplicate checker and verify status separately.
Inventory hygiene note. A sitemap should list the canonical URLs you want discovered — not redirects, not 404s, not parameter variants. If the extracted list surprises you, read sitemap strategy for large sites before resubmitting.

pSEO Tech · Published . Prepared with AI assistance; editorial approach and corrections are described on our method page. Examples are illustrative, not case-study results.

References and further reading