SEO ToolsA little help for every day

Search by name or task, such as JSON or percentage.

SEO Tools

Sitemap URL Extractor

Paste sitemap.xml or a sitemap index and extract every loc URL as a list, table or CSV, with lastmod, filters, sorting, de-duplication and paths-only output.

View all tools
ResultUpdates as you type
https://example.com/
https://example.com/blog/
https://example.com/search?q=seo&page=2
https://example.com/about

4 URLs; lastmod from 2026-08-02 to 2026-10-01, 1 without lastmod.

How to use Sitemap URL Extractor

Open the sitemap in your browser, view the source and paste it in. Choose a list, table or CSV, add filter terms and a sort order. The extracted URLs update as you type.

  1. Paste the sitemap XMLCopy the source of sitemap.xml or a sitemap index; plain-text sitemaps with one URL per line work too.
  2. Filter and sortType text such as /blog/ to keep matching URLs, or !tag to drop them, and choose an order.
  3. Export the URLsCopy the URL list, a table with lastmod, changefreq and priority, or CSV for a spreadsheet.

What the extractor reads from a sitemap

Every url or sitemap block yields its loc, lastmod, changefreq and priority. XML entities are decoded, so & inside a loc comes out as a plain & (search?q=seo&page=2). Namespace prefixes are handled, and with the extras option ticked, image:loc and xhtml:link hreflang alternates are extracted too, labelled by type. Paste a sitemap index and you get the child sitemap files, with a note to open each one. The tool works only on the text you paste and never downloads the sitemap itself, which is why you paste the source rather than the address.

Checks that catch broken sitemaps

The summary counts the URLs and gives the lastmod range – the sample shows 4 URLs dated 2026-08-02 to 2026-10-01, one without lastmod. Warnings point out loc values that aren't absolute http(s) URLs, URLs spread across several hosts, a bare & that strict XML parsers reject, url tags left unclosed (a sign the paste was cut short) and sitemaps over the 50,000-URL limit. Filters accept several space-separated terms, so /blog/ !tag keeps blog URLs except tag pages, and the paths-only option drops the domain for easier comparison.

Accuracy and data handling

Generated tags and rules must match the real page content and the site's deployment environment. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

How do I get all URLs from a sitemap?

Open the sitemap URL in your browser, view the page source, copy everything and paste it here. The URLs appear one per line, ready to copy, or as a table or CSV.

Can it read a sitemap index?

Yes. It lists the child sitemap files with their lastmod dates. Open each child sitemap and paste its contents to extract the page URLs.

Can I export sitemap URLs to Excel or Google Sheets?

Choose CSV output for loc, lastmod, changefreq and priority columns, then paste or save it into your spreadsheet. The table view shows the same data on the page.

Why paste the XML instead of the sitemap URL?

The extractor only reads text you paste and doesn't download anything. If you paste just an address, it asks you for the sitemap's source code instead.

More SEO Tools

Related tools