Sitemap URL Count
Count the URLs in your XML sitemap and analyze pages by sitemap and modified date. Scan your sitemap online and download the results as CSV.
lastmod datePaste a sitemap URL or upload a sitemap file, and this tool scans through it to count every page it lists — a quick way to check a sitemap's page count without opening the XML and counting entries by hand. If the sitemap is an index that points to several smaller sitemaps, which is common once a site grows past a few thousand pages, each child sitemap is fetched automatically and combined into one overall URL count.
Where available, each page's lastmod date is also read from the sitemap and grouped by year, giving you a quick sense of how recently a site's pages were last updated according to its own sitemap data.
Sitemap vs. sitemap index
A standard XML sitemap lists page URLs directly. A sitemap index is a different kind of file — instead of listing pages, it lists other sitemaps, each covering a portion of the site's URLs. This tool recognizes both formats: for a regular sitemap it counts the listed pages directly, and for an index it follows every child sitemap link, scans each one, and rolls the totals into a single sitemap URL count with a per-sitemap breakdown showing how many pages came from each file.
Reading the results and CSV export
- Total pages found — the overall count of unique URLs across the sitemap, or across every child sitemap if you scanned an index.
- Per-sitemap breakdown — for a sitemap index, how many URLs were found in each individual child sitemap.
- Modified year breakdown — URLs grouped by the year in their lastmod date, with entries missing a lastmod value grouped separately.
- CSV export — download the scan results, including the sitemap breakdown and modified-date grouping where available, so you can review or share the numbers outside the browser.
Keep in mind that a sitemap URL count reflects what's listed in the sitemap file itself, not how many of those pages a search engine has actually crawled or indexed — those are two different things, and this tool only measures the former.
Frequently asked questions
- Yes, completely free with no signup or usage limit.
- Yes. If your sitemap is an index that links out to several child sitemaps, this tool fetches each one and combines the totals into a single count, with a per-sitemap breakdown in the results table.
- Any URL that appears more than once — within a sitemap or across multiple child sitemaps — is only counted once.
- Pages without a lastmod date are grouped separately and shown as "-" in the Modified Year breakdown, rather than being left out of the count.
- Yes, switch to "Upload file" and choose your .xml file directly. If that file is a sitemap index, its child sitemaps are still fetched from their listed URLs.
- Scanning a URL requires fetching it from a server (browsers can't fetch most external sites directly due to CORS restrictions), but nothing is stored — the fetched sitemap is parsed and returned to your browser for this one scan only.
- An invalid or unreachable URL, a file that isn't valid XML, or a sitemap that doesn't contain a <urlset> or <sitemapindex> root element.
- A regular sitemap lists individual page URLs directly inside a <urlset> element. A sitemap index is a different structure — a <sitemapindex> — that doesn't list pages itself, but instead points to several smaller sitemap files, each with its own set of URLs. Larger sites often split their sitemap this way once the page count grows too large for one file. This tool detects which structure it's looking at and, for an index, follows and counts every child sitemap automatically.
- No. A sitemap count only reflects how many URLs are listed in the sitemap file itself — it says nothing about whether search engines have crawled or indexed those pages. For actual indexing data, you'd need to check a tool like Google Search Console directly.
- It groups every URL in the sitemap by the year found in its lastmod value, so you can see at a glance whether a site's sitemap is mostly recent pages, a mix of old and new, or largely untouched for years. It reflects whatever date the sitemap itself reports — it doesn't independently verify when a page last changed.
- The CSV export lets you download your scan results — including the sitemap-by-sitemap breakdown and the modified-date grouping, where available — so you can review or share the numbers outside the browser instead of just reading them on screen.
- Not in a formal sense. It reads the sitemap well enough to count URLs and detect a sitemap index, and it will fail with an error if the file isn't valid XML or doesn't contain a recognizable <urlset> or <sitemapindex> root — but it isn't a full sitemap syntax or schema validator.