Use this XML sitemap extractor to extract URLs from sitemap files. Copy one URL per line, export a sitemap to CSV, or save a sitemap to Excel.
Extract URLs from an XML sitemap
Extracted URLs
Extraction warnings
Sitemap files
The extractor follows child sitemaps from an index, such as posts and pages, and combines their URLs into one list.
Read the sitemap extractor guide
How to use the sitemap extractor
Need a list of pages before a site review or redesign? An XML sitemap can hold hundreds of addresses. The sitemap extractor puts those URLs in one place so you can copy them or work with them in a spreadsheet. Start with the whole site for an inventory, or choose one section for a smaller review.
Extract URLs from sitemap files
First, paste the address of a public sitemap. The tool accepts XML and compressed .xml.gz files. If you only have the homepage, paste that instead. The tool checks the site’s robots.txt file for sitemap links, then looks at common sitemap addresses.
Next, select Extract URLs. To test the workflow before entering your own address, select Try Sketchweb’s sitemap. The results count the files read and the URL rows found. Open Sitemap files to see where those rows came from.
When to use an XML sitemap extractor
A standard sitemap lists page addresses. A sitemap index points to other sitemap files. For example, a site might keep its posts and pages in separate files. The XML sitemap extractor follows those links and keeps track of the source for each URL.

To extract URLs from sitemap files for one section, paste the child sitemap address directly. Or use the Source sitemap filter after a scan. For example, pick the page sitemap and search for contact to find the address you need. The XML sitemap protocol explains the two file types.
Copy the URL list as plain text
Once the sitemap extractor finishes, choose Copy all URLs. You get the full scan with one address per line. Then paste the text into a spreadsheet, document, or checklist. Search and source filters narrow what you see in the box. The copy button still includes every URL from the scan.
If you only need the matches, select those lines in the box and use your usual copy shortcut. For instance, search for an old section name and send those URLs to the person planning the redirects.
Export a sitemap to CSV
Choose Download CSV when you need a file for a spreadsheet or another tool. The export has two columns, Sitemap and URL. After you export a sitemap to CSV, sort by Sitemap to group URLs by their source.
Before a redesign, save a CSV with the scan date. After launch, run the sitemap extractor again and compare the two lists. The difference gives you a starting point for checking which URLs the site added to or dropped from its sitemap.
Export a sitemap to Excel
Choose Download Excel to save a sitemap to Excel as an .xlsx workbook. You get the same two columns as in the CSV. Both downloads include the full scan even when you filter the list on screen.
For a site review, open the workbook and add a Notes column. Mark the pages that need a closer look. Then group them by source so your team can split the review by section.
Check sitemap extractor warnings
If a file fails to load or the scan reaches a limit, the sitemap extractor shows a warning. Open it to see what happened. If it names a child sitemap, try scanning that file on its own. If the tool can’t find a sitemap, check the address and try the direct XML link.
Finally, use the export as a record of what your sitemap lists. Run a site crawl to check for broken URLs or redirects. Use Google Search Console to check whether a page is indexed. Our sitemap SEO guide explains how to maintain the source files.
Reading the results
Choose the list you need for your audit
Use a sitemap index to collect URLs from several listed files. To work on a single area, such as products, enter that child sitemap directly or review the source filter. Copy the full list when you need the URLs themselves. For a spreadsheet review, export the results with the Sitemap and URL columns so you can trace each row back to its file.
Compare exports before and after a site change
Keep a dated copy before a migration and run the extractor again afterward. Compare the URL and source sitemap columns to spot pages that moved between files or disappeared. If the result reports a failed or unreadable child sitemap, check that file directly before calling the missing URLs a migration issue.
Common questions
Can I export a sitemap to Excel or CSV?
Yes. Choose the export format you need. Both include the source sitemap and its listed URL.
Why might my extracted list be incomplete?
Review any warnings and try the affected child sitemap separately. An inaccessible file or a scan limit can leave some URLs out.