Sitemap URL Extractor
A sitemap URL extractor turns the raw XML of a sitemap.xml file into a flat, readable list of every URL it contains, so a crawl plan, a content inventory, or a migration redirect map can be built from the exact addresses a site is advertising to search engines. Sitemap markup wraps each address in <loc> tags alongside optional <lastmod> and <priority> values, which is precise for crawlers but awkward to read or paste into a spreadsheet by hand.
This tool parses the XML the moment it is pasted, lists each URL with its metadata, removes duplicates on request, and clearly flags a sitemap index versus a page sitemap. It is free and runs entirely in the browser, so the sitemap never leaves the page and can be processed with no upload, sign-up, or quota.
🔒 Private: everything runs in your browser. Nothing you paste is uploaded.
How to use the sitemap URL extractor
Paste the contents of a sitemap.xml file, press Extract, and read the flat URL list with lastmod and priority alongside. Toggle deduplication, then copy the list, download it as a .txt file, or export a loc,lastmod,priority CSV.
Paste the XML, not a sitemap link
This extractor reads the XML you paste, and by design it never makes a network request, so a sitemap address on its own does nothing here. Open the sitemap in a browser, select all of the markup, and paste the full document into the box, or save the file and paste its contents. Pasting the real XML keeps the work private and means an unpublished staging sitemap, a local file, or a draft that is not yet live can all be processed exactly the same way as a public one, with no server ever seeing the data.
A sitemap index is a list of sitemaps, not pages
Large sites split their URLs across many sitemap files and tie them together with a sitemap index, whose root element is <sitemapindex> rather than <urlset>. When an index is pasted, the tool lists the child sitemap files and labels each one clearly, because those entries point to more sitemaps rather than to pages. Since everything runs client-side with no fetching, the child files cannot be opened automatically. Open each child sitemap in turn and paste it back in to pull the page URLs from inside it.
Keep lastmod and priority for triage, then export
When a sitemap carries <lastmod> and <priority> values, the tool shows them beside each URL so stale or low-priority pages can be spotted before a crawl or an audit. Leave deduplication on to collapse repeated addresses, which is common when several sitemaps overlap. The CSV export writes one row per URL as loc,lastmod,priority with proper quoting, ready to open in a spreadsheet, while the plain copy and .txt download give a clean URL-per-line list for a crawler, a redirect map, or a diff against another site.
Sitemap URL extractor frequently asked questions
Q1Does this tool fetch the sitemap from a URL?
No. It only reads XML that is pasted into the box, and it never makes any network request. That is deliberate: it keeps your data private and lets you process staging, local, or unpublished sitemaps that a fetch-based tool could not reach. To use it, open the sitemap in your browser, copy all of the XML, and paste the full document in.
Q2What is the difference between a sitemap index and a urlset?
A urlset is a normal sitemap whose root is the urlset element and that lists page URLs. A sitemap index has a sitemapindex root and lists other sitemap files instead of pages, which is how large sites stay under the per-file limit. The tool detects which one you pasted and labels index entries as child sitemaps so the two are never confused.
Q3Why does my sitemap index only show a few links?
Because a sitemap index contains links to other sitemap files, not to pages. Those few links are the child sitemaps. Since this tool runs entirely in your browser and makes no network requests, it cannot open them for you. Open each child sitemap listed, copy its XML, and paste it back in to extract the page URLs it contains.
Q4What does the lastmod and priority data mean?
Lastmod is the date a URL was last changed, and priority is a hint from zero to one about how important the page is relative to others on the same site. Both are optional, so many sitemaps omit them. When they are present the tool shows them beside each URL and includes them in the CSV export so you can sort or filter on freshness and importance.
Q5What happens if my sitemap XML is broken?
The tool parses the XML in your browser and, if it is malformed, shows a clear error explaining what went wrong rather than failing silently or returning a partial list. Common causes are an unclosed tag, a stray character, or content that is HTML rather than XML. Fix the markup or re-copy the full document, then press Extract again to get a clean list.
