Skip to content
Zutto Launch home

Sitemap URL extractor: get every URL as CSV

This free sitemap URL extractor turns a domain into one list of every URL in its sitemaps, even when they're split across dozens of files. Filter it by folder or date, compare it with a list you have, then export it as CSV, TXT or JSON.

Extracted URLs

Enter a website to list every URL in its sitemaps. Then filter by folder or date, compare with a list you have, and export it.

How to use the sitemap URL extractor

You don't need to know where the sitemap is. A domain is enough.

  1. Enter a website, like example.com, to collect the URLs from every sitemap on it. Enter one sitemap's address to read only that file, or paste the XML.
  2. If the site has more sitemaps than one read covers, press Read the rest. It carries on by itself until it's done or you press Stop.
  3. Narrow the list. Type part of a URL to keep or drop, pick a date range, or open a folder to see only the pages in it.
  4. Compare with a list you already have, if you have one.
  5. Export. CSV, TXT, JSON and Copy all take the rows you've filtered to, so you never clean up the file afterwards.

What the sitemap extractor gives you

One row for each URL, with its lastmod date when the sitemap gives one. A URL that sits in two sitemaps is listed once, and the line above the list says how many repeats were left out.

The folder buttons show the shape of a site before you read a single URL. Open /blog/ and you see how many posts it has and which subfolders they're in. The counts follow your filters, so "Last 30 days" plus the folder list shows you where a site has been publishing.

Files that can't be read in full are named, with the reason, so you know when the list is short.

Sitemap to CSV, Excel or Google Sheets

The CSV has three columns: URL, Last modified and Sitemap. Excel opens it by double-click with accents and other scripts intact. In Google Sheets, use File, then Import.

TXT holds one URL on each line, which is what crawlers, rank trackers and bulk checkers ask for, and what you'd give an AI chatbot builder that asks for pages to learn from. JSON holds the same fields as the CSV, for a script.

You won't find priority or changefreq in any of them. Google ignores both values (Google Search Central), so sorting by them tells you nothing about how a page is treated.

Compare a sitemap with another list

Open Compare with a list you already have, paste it, and the extractor splits the URLs into three groups: only in the sitemap, only on your list, and in both. Each group can be filtered and exported like the full list. What to paste depends on the question:

  • Last month's export from this page shows which pages were added and which were removed.
  • The other site's URLs show what a staging copy or a new domain is missing. Tick Compare paths only, so the different domain doesn't count.
  • Page paths from Analytics show pages people visit that the sitemap leaves out.
  • Indexed pages from Search Console show which sitemap URLs aren't on the list. That export stops at 1,000 rows (Search Console help), so on a bigger site a missing row proves nothing.

How to count the pages on a website

Enter the domain and read the number at the top. It's the count of different URLs in the site's sitemaps, which is the figure most people want when they ask how many pages a website has.

Two other counts measure different things. Search Console's Page indexing report says how many pages Google has indexed, and only the site's owner can see it. A site: search on Google doesn't necessarily return every indexed URL (Google Search Central), so don't quote it as a total.

Before you scope a content audit or a translation, open the folders and take the tag, author and paged archives out with Doesn't contain. On a blog they can outnumber the posts.

How to find all pages on a website

A sitemap lists the pages its owner chose to list. Google asks for the canonical URLs you want in search results (Google Search Central), so duplicates, filtered views and thank-you pages should be missing. Pages that were forgotten are missing too. When you need everything, add these to the sitemap list:

  • A crawl that follows links from the home page. It finds linked pages the sitemap forgot. A page in the sitemap that no crawl reaches has no links pointing to it.
  • Analytics and server logs, for pages that still get visits from old links.
  • Search Console's Page indexing and Links reports, if the site is yours.
  • The page list in your CMS, which has drafts and unlinked pages that nothing on the web points to.

Build a redirect list before a site move

Google's advice for a move that changes URLs is to prepare a map from every old address to its new one, and it names your sitemaps as a place to find the old ones, along with server logs and analytics (Google Search Central). Export the list while the old site is still up. Once it's gone, so is the sitemap.

Put the CSV's URL column beside a column for the new address and fill it in folder by folder. After launch, extract the new site's sitemap and compare it with your new column, paths only. Whatever is only on your list is a redirect to a page that doesn't exist yet.

What a competitor's sitemap tells you

It's a public file that says what they think is worth finding. Folder counts show where the work goes: forty pages under /integrations/ or /compare/ is a decision somebody made. Sort by Newest first for what they touched last.

You don't need a sitemap scraper to follow this over time. Save a CSV today, come back in a month, and compare. Only in the sitemap is what they published. Only on your list is what they took down, and removed pages are often the more interesting half.

Be careful with dates. lastmod should be the day the page last changed (sitemaps.org), but plenty of sites stamp every URL whenever they deploy. If a thousand pages share one date, ignore the dates and trust the comparison.

How to extract URLs from a sitemap without a tool

All three of these read one file at a time, and none of them opens the sitemaps inside an index. They're fine for a small site:

  • Google Sheets: =IMPORTXML("https://example.com/sitemap.xml", "//*[local-name()='loc']"). The local-name part is needed because sitemap tags sit in an XML namespace.
  • Excel: choose XML under Get Data, open the saved file and pick the url table. Nested tags, such as images, need some tidying.
  • Terminal, on macOS or Linux: curl -s https://example.com/sitemap.xml | grep -o '<loc>[^<]*' | sed 's/<loc>//'. Any & in a URL stays written as &amp;.

Frequently asked questions

Guides that go deeper

Featured on

  • Featured on ScrollLaunch
  • Featured on ScrollLaunch
  • Featured on ScrollLaunch
  • Featured on ScrollLaunch
  • Featured on ScrollLaunch

Your next launch deserves a longer life.

Paste your product's URL and continue. AI reads your homepage and drafts your listing, so you start by checking, not typing.

Free to launch. No credit card. You check every field before you submit.

What happens next

  • We draft your name, tagline, description and categories from your site
  • You check each field and add your screenshots
  • Your launch goes on the board when its week opens
  • The top three each week go through to the monthly contest