Sitemap URL Counter
Count URLs, sitemap index entries, and duplicate loc tags by pasting any XML sitemap.
About the Sitemap URL Counter
Search engines limit each XML sitemap to 50,000 URLs or 50 MB. This counter downloads the XML behind your sitemap URL, surfaces how many `<url>` or `<sitemap>` entries exist, and highlights duplicate loc values so you can stay compliant before uploading.
How Sitemap URL Counter Works
Sitemap URL Counter runs directly in your browser and applies deterministic logic to transform the input into the final output. The tool validates your input, processes it instantly, and returns consistent results based on the selected options. This keeps count urls, sitemap index entries, and duplicate loc tags by pasting any xml sitemap. fast, private, and repeatable without sending data to a server.
Popular Use Cases
Why This Counter Helps
How to Audit a Sitemap
Enter the public sitemap or sitemap index URL (XML or .gz).
Click Run Tool so we fetch and parse the XML automatically.
Toggle "Ignore duplicate URLs" to compare unique counts whenever needed.
Review the counts and details to decide whether to split the file or remove duplicates before deployment.
Pro Tips for Better Results
Common Mistakes
FAQ
Can this fetch my sitemap automatically?
For privacy, everything runs locally, so download the XML in your browser and paste it here for counting.
Does it support sitemap indexes?
Yes, it counts `<sitemap>` nodes separately so you know how many child files are referenced.
How are duplicates handled?
Enable the toggle to collapse repeated `<loc>` values and see the unique total side by side.
Is my data stored?
No. The XML is parsed entirely on your device.