Sitemap URL counter

Sitemap URL counter

Paste a sitemap.xml URL and count the URLs inside it. Sitemap Watch reports total entries, page URLs, child sitemaps, unique URLs, duplicate entries, lastmod coverage, and HTTPS usage.

Count URLs in a sitemap before an audit

Use this sitemap URL counter when you need a fast answer to how many URLs are in a sitemap. It is also useful for spotting empty sitemap files, duplicate entries, large sitemap sections, and sitemap indexes that need deeper review.

Total entries

See the combined number of URL entries or child sitemap entries in the submitted file.

Unique URLs

Compare unique URLs with total entries to spot repeated sitemap URLs.

Child sitemaps

Identify sitemap index files that point to separate post, page, product, image, or language sitemaps.

Duplicate entries

Find duplicate entries caused by CMS settings, plugin bugs, mixed URL variants, or repeated exports.

lastmod coverage

Check how many sitemap entries include lastmod values for freshness and update auditing.

HTTPS usage

Confirm sitemap entries use secure URLs before you submit or compare the sitemap with crawl data.

Sitemap URL limits: 50,000 URLs and 50MB

Google's sitemap documentation says a single sitemap file must be no larger than 50MB uncompressed and can contain up to 50,000 URLs. If your sitemap is approaching either limit, split URLs into multiple child sitemaps and list them in a sitemap index.

Under 50,000 URLs

Keep each child sitemap below the URL limit, then count each section after CMS or product catalog changes.

Under 50MB uncompressed

Compressed files are common, but the uncompressed sitemap still needs to fit within the documented size limit.

Use a sitemap index

Large sites should use a sitemap index to organize child sitemaps by content type, language, date, or product category.

FAQ

How do I count URLs in a sitemap?

Paste the sitemap.xml URL and run the counter. The report shows page URL count, child sitemap count, total entries, unique entries, and duplicate entries.

What is a sitemap URL counter used for?

A sitemap URL counter helps you quickly understand sitemap size before an SEO audit, migration, indexation review, or Google Search Console submission.

Does this count URLs inside child sitemaps too?

This page counts the entries in the sitemap URL you provide. If the file is a sitemap index, it counts child sitemap URLs. Open each child sitemap to count page URLs inside that section.

Why do duplicate sitemap URLs matter?

Duplicate entries usually do not help search engines and can make sitemap audits messy. They are worth cleaning up when a CMS or plugin outputs repeated URLs.

Can a sitemap have too many URLs?

Yes. Google says a sitemap file must be 50MB or smaller uncompressed and can contain up to 50,000 URLs. Larger sites should split URLs across multiple sitemap files and use a sitemap index.

What is the sitemap 50,000 URL limit?

The sitemap protocol limit is 50,000 URLs per sitemap file. If a section has more URLs than that, create child sitemaps and list them in a sitemap index.

What is the sitemap 50MB limit?

Google documents a 50MB uncompressed size limit per sitemap file. Compressed .xml.gz files still need to stay within the uncompressed sitemap size limit.

Is this the same as validating a sitemap?

No. The counter focuses on URL counts and simple metrics. Use the Validate Sitemap page when you want status, XML parsing, and error-focused checks.

Need the URL list after counting? Use the sitemap downloader.

Related sitemap tools

Continue the sitemap workflow with the next checks that usually follow this task.