Web & SEO
Sitemap URL Extractor
Extract every URL from an XML sitemap or sitemap index you paste — with last-modified dates — as a clean list or CSV.
How to use
- 1Open your sitemap (e.g. example.com/sitemap.xml), copy it and paste it here.
- 2Choose plain URLs or CSV with lastmod.
How it's calculated
Every <loc> element is read, with the <lastmod> of the same <url> or <sitemap> entry when present.
Frequently asked questions
What if my sitemap is an index?
Sitemap indexes list other sitemaps. Their URLs are extracted too — open each child sitemap and paste it to get the pages.
Is there a limit?
Sitemaps can hold up to 50,000 URLs each; this tool handles that size comfortably in the browser.
Can it fetch the sitemap for me?
Not yet — browsers block reading other websites directly, so paste the XML.
Why the same <url>/<sitemap> pattern matcher handles both sitemap types
A regular sitemap wraps each page in a <url> element and a sitemap index wraps each child sitemap's location in a <sitemap> element — structurally identical except for the tag name, which is why this tool matches both patterns and extracts a <loc> (and optional <lastmod>) from whichever one it finds. Pasting a sitemap index actually extracts the list of child sitemap URLs, not the pages inside those child sitemaps — a detail the FAQ states directly, since those page URLs are still one more paste-and-extract step away.
Worked example: Sitemap URL Extractor
Pasting a sitemap with three <url> entries — two distinct pages and a repeated third one that duplicates one of them — with 'Remove duplicates' on produces a clean two-line list, the duplicate collapsed away and counted once in the URL total. Switching the output format to CSV on a sitemap with a <lastmod> date produces a two-column file (url,lastmod) ready to drop into a spreadsheet for auditing when pages were last updated, rather than a bare list of URLs with no date context.
Why fetching the sitemap automatically isn't possible here
The same browser same-origin restriction that blocks the On-Page SEO Checker from reading another site's HTML directly also blocks this tool from fetching a sitemap URL on your behalf — which is why the workflow is open the sitemap in a browser tab, view its source, copy, and paste, rather than entering a URL and letting the tool retrieve it. It's an extra manual step, but it also means the tool works identically for sitemaps on staging servers or behind authentication that a server-side fetcher couldn't reach anyway.
Duplicates stay if you turn the filter off
Remove duplicates starts on. The first copy of a URL is kept and later copies are dropped, and the count is the list after that filter. Turn it off and the repeat stays, so the count goes up. Plain list output is only the addresses, one per line, with dates left out. CSV adds a header row of url and lastmod. A missing last-modified date becomes an empty second column rather than the word none. Spaces inside the location and date tags are trimmed. An entry with no location is skipped. If nothing usable is left, the message says no location entries were found and asks you to paste the sitemap XML.
The count does not say which kind of address you pasted
Output starts as a plain URL list, so any dates in the paste stay hidden until you switch to CSV. The count above the result is a whole number of rows after the duplicate filter, and it does not label whether a row came from a page entry or from a sitemap index. Both kinds are mixed into one list, in the order they appeared. A last-modified value is still kept with its address in list mode; only the display drops it. Switch to CSV and that stored date comes back in the second column, including a blank cell when the sitemap never had one.
Related tools
- XML Sitemap Generator
Turn a list of URLs into a valid XML sitemap — with lastmod, change frequency and priority — ready to upload and submit to Google Search Console.
- Email List Cleaner & Validator
Clean an email list in seconds — remove duplicates and invalid addresses, fix typos like gmial.com, and optionally drop role (info@, noreply@) and disposable addresses. Paste any list; nothing is uploaded.
- UTM Link Builder (Campaign URL Builder)
Build UTM-tagged campaign links for Google Analytics — source, medium, campaign, term and content — cleanly encoded and ready to share.
- YouTube Tag Generator
Generate relevant YouTube tags from your video topic — exact, broad, long-tail and question variations — trimmed to YouTube's 500-character limit.
- PDF Form Data Extractor (Filled Forms to CSV / Excel)
Drop in a stack of filled PDF forms (applications, surveys, registrations) and get one spreadsheet: one row per PDF, one column per field, as CSV, Excel or JSON.
- E-invoice Reader (ZUGFeRD, Factur-X, XRechnung)
Open a ZUGFeRD or Factur-X PDF, or an XRechnung / Peppol XML file, and read it as a normal invoice: seller, buyer, lines, VAT, totals and bank details, with the EN 16931 calculation checks and CSV export.