Sitemap URL Counter

Count URLs, sitemap index entries, and duplicate loc tags by pasting any XML sitemap.

Input

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

1Quickly prepare clean output with Sitemap URL Counter before publishing content.
2Standardize team workflows with repeatable Sitemap URL Counter results across projects.
3Validate and refine drafts using Sitemap URL Counter during QA and review cycles.
4Save time on manual editing by automating repetitive tasks with Sitemap URL Counter.

Why This Counter Helps

Understands both `<urlset>` sitemaps and `<sitemapindex>` files in one pass.
Downloads and parses the XML automatically so you do not have to copy/paste huge files.
Summarizes duplicate loc values and suggests whether you should split or compress the file.

How to Audit a Sitemap

1

Enter the public sitemap or sitemap index URL (XML or .gz).

2

Click Run Tool so we fetch and parse the XML automatically.

3

Toggle "Ignore duplicate URLs" to compare unique counts whenever needed.

4

Review the counts and details to decide whether to split the file or remove duplicates before deployment.

Pro Tips for Better Results

Tip 1Start with a clean input format before running Sitemap URL Counter for the most accurate output.
Tip 2Test a short sample first, then process the full data once settings look correct.
Tip 3Keep a reusable template of your preferred options to speed up repeat runs.
Tip 4Pair Sitemap URL Counter with related MiniToolStack tools to build a faster workflow.

Common Mistakes

Letting a single sitemap exceed 50,000 URLs or 50 MB uncompressed.
Embedding staging URLs that should not be discoverable.
Forgetting to reference child sitemaps inside a `<sitemapindex>` file.

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.