3 new job openings added this week

XML Sitemap Validator

SEO Tools Processed on our server

Validate XML sitemaps for errors. Check URL structure, priority, changefreq, and lastmod values.

XML Sitemap Validator tool

About XML Sitemap Validator

Enter the URL of a live sitemap and we fetch it, parse it and report what is wrong. You get the sitemap type, the URL count, the file size, and a list of specific problems — invalid priority values, changefreq values outside the allowed vocabulary, duplicate URLs, and sitemaps that have grown past the published limits.

What this tool does

  • Fetches and parses a live sitemap from its URL
  • Detects whether it is a URL set or a sitemap index
  • Counts the URLs (or the child sitemaps) it contains
  • Flags priority values outside the valid 0.0–1.0 range
  • Flags changefreq values outside the seven allowed keywords
  • Detects duplicate URLs within the sitemap
  • Warns when the file exceeds 50 MB or 50,000 URLs
  • Lists the first 100 URLs with their lastmod, changefreq and priority

Processed on our server. Your file is uploaded to our server over HTTPS so it can be processed, then the result is returned to you. Do not upload confidential material you are not permitted to share with a third party.

How to use XML Sitemap Validator

  1. Enter the sitemap URL

    Paste the full address — usually https://example.com/sitemap.xml or whichever path your robots.txt advertises. The sitemap must be publicly reachable.

  2. Run the validation

    The file is fetched from our server, so it must be live on the web. There is no paste box and no file upload; a sitemap on your laptop cannot be checked here.

  3. Read the summary

    Type, URL count and file size tell you straight away whether the sitemap is the one you expected and whether it is anywhere near the size limits.

  4. Work through the issues

    Each problem names the URL it applies to, so you can trace it back to whatever generated it.

  5. Check the URL list

    The first 100 entries are shown. Scan them for the mistakes that are valid XML but wrong: http where you meant https, staging hostnames, or redirected paths.

XML Sitemap Validator examples

Real input and the output this tool produces for it.

Example inputs and the results XML Sitemap Validator returns
Example Input Result
Healthy sitemap https://example.com/sitemap.xml Type: urlset · 340 URLs · no issues
Invalid priority A URL with <priority>2.0</priority> Flagged — priority must be between 0.0 and 1.0
Invalid changefreq <changefreq>often</changefreq> Flagged — not one of the seven allowed values
Sitemap index A file listing child sitemaps Type: sitemap_index, with the child sitemaps counted

XML sitemaps and what goes wrong with them

What a sitemap is for

An XML sitemap is a list of the URLs on your site that you want search engines to know about. It helps with discovery — particularly for pages that are not well linked internally, and for large or newly launched sites.

It is worth being clear about what it does not do. A sitemap is a suggestion, not an instruction: listing a URL does not guarantee it will be crawled, and certainly does not guarantee it will be indexed. It also does not improve rankings. It helps Google find pages; whether they are worth indexing is decided elsewhere.

The limits

The sitemap protocol sets hard limits, and this tool warns when you approach them.

XML sitemap limits and rules
Rule Limit
URLs per sitemap file 50,000
Uncompressed file size 50 MB
Sitemaps per sitemap index 50,000
Encoding UTF-8, with URL-escaped entity characters
URL scope All URLs must share the sitemap's host
priority A decimal from 0.0 to 1.0
changefreq always, hourly, daily, weekly, monthly, yearly or never

The mistakes that actually cost you

Some of these are XML errors this tool will catch; others are perfectly valid XML that still undermines the sitemap. Both are worth checking.

  • Listing noindexed URLs. A sitemap says "please index this" and a noindex tag says the opposite. Pick one — usually by removing the URL from the sitemap.
  • Listing redirects or 404s. Every URL should return 200. Redirect chains in a sitemap waste crawl budget and signal neglect.
  • Listing non-canonical URLs. Only include the canonical version of each page, or you are asking Google to index the duplicate.
  • Mixing http and https, or www and non-www. Every URL must match your canonical host exactly.
  • A stale lastmod. Setting every entry to today on every build makes the field worthless; Google learns to ignore it.
  • Over-thinking priority. Google has said it largely ignores it. It is optional; if the values are all 0.8 it is telling nobody anything.
  • Unescaped ampersands. A raw & in a URL breaks XML parsing outright.
  • A sitemap not referenced in robots.txt, which is one of the two ways search engines find it at all.

When to split into a sitemap index

Once a site passes a few thousand URLs, one file stops being convenient even though it is still legal. A sitemap index is a sitemap of sitemaps: split by content type — products, articles, categories — and you can see in Search Console which section has coverage problems rather than one aggregate figure.

Splitting is required above 50,000 URLs or 50 MB. Doing it earlier, by type, is a diagnostic decision rather than a technical one.

After validating

A sitemap that parses cleanly is the starting point, not the finish. Reference it in your robots.txt, submit it in Google Search Console, and then watch the coverage report — that is where you learn which listed URLs were actually indexed and why the rest were not.

Resubmit after meaningful structural changes, not on a schedule. Search engines re-fetch sitemaps on their own.

When people use this tool

Before submitting to Search Console

Catch a parse error here rather than as a rejection in Google's interface.

After a site migration

Confirm the sitemap lists the new URLs on the correct host and protocol.

Debugging a Search Console error

When Google reports a sitemap problem, this shows you the specific entries at fault.

Auditing a site you have inherited

The sitemap is the fastest way to see how many pages a site claims to have and how they are organised.

Checking a generator plugin

Verify that a CMS plugin is producing valid output and not emitting duplicates.

Watching the size limits

Catch a growing sitemap before it crosses 50,000 URLs.

More about XML Sitemap Validator

Complete XML sitemap validation tool that checks XML syntax, validates URLs, analyzes priority and changefreq values, detects duplicate URLs, and provides SEO recommendations for better search engine indexing.

XML Sitemap Validator — frequently asked questions

All SEO Tools

Guides and articles

Share This Tool

Help others discover this tool by sharing it on social media

Embed XML Sitemap Validator on your site

Paste this iframe into your own page to give your readers the working tool without sending them away. The embed carries a "Powered by TechBelievers" link and needs no API key.

Embed code
<iframe src="https://techbelievers.com/tools/xml-sitemap-validator/embed?theme=light" width="100%" height="600px" title="XML Sitemap Validator by TechBelievers" style="border:1px solid #e2e8f0;border-radius:0.5rem"></iframe>

Report a problem or suggest an improvement

Only used to reply to you about this report.

Join Whatsapp