This guide explains how to use Sitemap URL Extractor, step by step, with screenshots of the real tool. It is written for site owners, developers and SEOs who look after crawling, indexing and site health. Paste the code of any XML sitemap or sitemap index and extract every URL, with lastmod dates, into a clean list or CSV.
Quick answer: To use the Sitemap URL Extractor, open the free tool, paste the sitemap XML, choose the output and enter the filter, then copy the converted output. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Sitemap URL Extractor?
Extract all URLs and lastmod dates from an XML sitemap or sitemap index and export them as a list or CSV.
A URL list from the sitemap is the starting point for audits, redirect maps, index checks and content inventories. Compare it with your Search Console pages report to find pages Google is not indexing.
How to use Sitemap URL Extractor step by step
-
Step 1: Open the Sitemap URL Extractor
Go to the Sitemap URL Extractor on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Paste Sitemap XML
Paste or type your text into Sitemap XML (open the sitemap in your browser, select all, copy and paste).
-
Step 3: Choose Output
Choose an option from Output. Options include URLs only, CSV with lastmod and Paths only. The example uses URLs only.
-
Step 4: Enter Filter
In the Filter (contains) box, type your own value. The example uses /blog/, which you can replace.
-
Step 5: Read the results
The output appears inside the tool card. Look at <strong>URLs</strong>, <strong>With lastmod</strong> and <strong>Sitemap type</strong>. Change any input to compare different scenarios.

Screenshot of the Sitemap URL Extractor results. -
Step 6: Copy or download the output
Use Copy to take the result into your document, CMS, spreadsheet or report.
What does each field in the Sitemap URL Extractor mean?
| Field | What to enter | Example |
|---|---|---|
| Sitemap XML | Text, one item per line where asked | Your own value |
| Output | Choose one option (URLs only, CSV with lastmod, Paths only) | URLs only |
| Filter (contains) | Your text | /blog/ |
What does a worked example look like?
With the example inputs (Output: URLs only and Filter (contains): /blog/), the Sitemap URL Extractor returns: 0, URLs0, With lastmod, URL set, Sitemap type
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Sitemap URL Extractor?
- Re-check after every theme, plugin or server change.
- Confirm fixes in Google Search Console with URL Inspection.
For background, read the Google crawling and indexing documentation. If you are working on a related task, our guide on how to use the XML Sitemap Validator walks through it the same way. You can also browse all free Technical SEO Tools.
What mistakes should you avoid with the Sitemap URL Extractor?
- Testing on a staging copy and forgetting that the live site has different rules.
- Fixing one URL and not checking the template that created the problem.
- Changing URLs without adding 301 redirects.
Key terms
- Indexing
- The process in which Google stores a crawled page in its index so it can appear in search results. A page must be crawlable, return a 200 status code and not carry a noindex tag before it can be indexed.
- XML sitemap
- A file that lists the URLs you want search engines to find, often with last modified dates. Submitting it in Google Search Console helps new and deep pages get discovered faster, although it does not guarantee indexing.
- Google Business Profile
- The free Google listing that shows a local business in Maps and the local pack, with its address, hours, photos and reviews. A complete, accurate profile and genuine reviews are key local ranking factors.
- HTML
- HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
- Search engine optimisation
- The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.
Related free tools
Frequently asked questions
Is the Sitemap URL Extractor free to use?
Yes. The Sitemap URL Extractor is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Sitemap URL Extractor?
No. The Sitemap URL Extractor runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Sitemap URL Extractor?
It follows standard rules for this format, so the output is reliable for normal input. Test the result in the place you will use it, especially for code.
Does the Sitemap URL Extractor work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Sitemap URL Extractor on a phone, tablet or computer in any modern browser.
Can I use the Sitemap URL Extractor for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Sitemap URL Extractor?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Sitemap URL Extractor on 2 November 2026. Further reading: Google SEO Starter Guide.




