Skip to content
UniKit

Sitemap URL extractor

Extract URLs from a sitemap by splitting on `<url>` boundaries and decoding XML entities, so `&amp;` becomes a real `&`; optional deduplication and an optional lastmod/changefreq/priority column.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Sitemap XML

Result

The result can be copied directly.

Paste a sitemap to see the URL list

Characters: 0 · Lines: 0

What this tool does

  • Extract URLs from a sitemap to feed a crawler or link checker.
  • Count unique addresses and hosts covered by a sitemap.
  • Include lastmod/changefreq to audit crawl priority settings.

Example

Input

<urlset><url><loc>https://example.com/</loc><lastmod>2026-01-02</lastmod></url><url><loc>https://example.com/a</loc></url><url><loc>https://other.test/b</loc></url></urlset>

Output

https://example.com/
https://example.com/a
https://other.test/b

Splits on `<url>` boundaries and decodes XML entities, so `<loc>…?a=1&amp;b=2</loc>` becomes a real `&`.

Frequently asked questions

Is `&amp;` kept literally?

No — entities are decoded, so the URL contains a real `&` that can be copied straight out.

What if there is no `<url>` wrapper?

It falls back to one entry per `<loc>`, so pasted fragments still work.

What about an empty sitemap?

It fails with `no-url-found` instead of printing an empty result that looks successful.

Does it handle .xml.gz?

No, this works on XML text; unzip `.xml.gz` first.

Keywords:sitemap url extractorformatconverterdeveloper

Related tools