Sitemap URL Extractor

Extract URL entries from a pasted sitemap or sitemap index.

Text inputPreview and copyRuns in your browser

Enter your text

Result

How to use Sitemap URL Extractor

  1. Enter the values in the order shown in the input label or try the built-in sample.
  2. Select Run tool to generate the output.
  3. Review the output before copying it.

How it works

Extract URL entries from a pasted sitemap or sitemap index. Read loc elements and decode common XML entities.

Formula or processing rules

Read loc elements and decode common XML entities.

Worked example

The sample extracts https://example.com/a from the loc element and lists it as a plain URL.

Worked example
MeasureValue
Paste sitemap XML<urlset><url><loc>https://example.com/a</loc></url></urlset>
Resulthttps://example.com/a

Before using the result

Use the output to compare a sitemap with your catalog or crawl export. If your input is a sitemap index, the output lists child sitemap files. Open those separately to get page URLs.

Pros and cons

Pros

Extract URL entries from a pasted sitemap or sitemap index. The sample provides an immediate check of the expected output.

Cons

An index lists sitemap files. Paste each child sitemap to list its page URLs.

Troubleshooting

Check the input format and compare your case with the built-in sample. An index lists sitemap files. Paste each child sitemap to list its page URLs.

Common issue and what to check

When no URLs are found, confirm you pasted XML containing loc tags. A browser error page or an HTML site map will not contain these entries.

Frequently asked questions

How do I use the text I get back?

Copy the output into the document, list, or compatible tool where you need it.

How does the transformation work?

Read loc elements and decode common XML entities.

Can I try a sample first?

Yes. Select Try a sample to load the worked example and see the expected result.

What should I check before using the result?

An index lists sitemap files. Paste each child sitemap to list its page URLs.

Is my input stored by the tool?

The transformation is computed in the open page. The tool does not save the submitted text.