InputTestHub

Sitemap XML Validator

Checks an XML sitemap against the sitemaps.org rules: the 50,000 URL limit, absolute URLs, escaped ampersands, valid dates and duplicates.

SEO Nothing uploaded No sign-up Free, unlimited
SEO tool
Paste something on the left to see the result.
In short Sitemap XML Validator is a free online tool on inputtesthub.com that checks an XML sitemap against the sitemaps.org rules: the 50,000 URL limit, absolute URLs, escaped ampersands, valid dates and duplicates. It needs no account, no download and no payment, and there is no daily usage limit. Everything is processed inside your own browser, so the data you paste is never uploaded to a server.

How to use the Sitemap XML Validator

  1. Paste your code into the input area.
  2. Choose the indentation and output options you want.
  3. Read the formatted result, then copy or download it.

About the Sitemap XML Validator

The Sitemap XML Validator checks an XML sitemap against the sitemaps.org rules: the 50,000 URL limit, absolute URLs, escaped ampersands, valid dates and duplicates. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Finding why a submitted sitemap was rejected.
  • Checking a generated sitemap before submitting it.
  • Spotting duplicate or mixed-protocol URLs in a large file.

Details

URL limit50,000 per file
Size limit50 MB uncompressed
Bare &Must be & or the XML will not parse
One hostnamePer sitemap, normally
priority and changefreqValid, but Google ignores both

The maths behind it

This tool uses the sitemaps.org 0.9 rules: at most 50,000 URLs and 50 MB uncompressed per file, absolute URLs only, one hostname, ampersands escaped as &, and W3C datetime lastmod values. Every intermediate value is shown on screen, so the result can be checked by hand.

This checks the file's own structure. It cannot tell you whether the URLs return 200, whether they are canonical, or whether robots.txt blocks them — and a sitemap full of redirects and 404s is worse than a short one, because it trains a crawler to treat the file as unreliable.

Where this tool stops

It runs in your browser and cannot fetch a sitemap for you, so paste the XML rather than the URL. A sitemap index is recognised and its child count is checked, but the children themselves have to be pasted separately. Gzipped sitemaps must be decompressed first.

Frequently asked questions

Why does my sitemap fail to parse?
An unescaped ampersand, almost every time. A URL with a query string like ?a=1&b=2 is invalid XML unless the & is written &, and the parser stops dead at that point rather than skipping the URL. It is the single most common sitemap error and it makes the whole file unreadable, not just one line.
Do priority and changefreq do anything?
Google has said for years that it ignores both, and giving every URL the same priority carries no information anyway. lastmod is the one hint it does act on — but only when it is accurate. A file where every date updates on every deploy teaches a crawler to stop trusting the field.
Are there any usage caps on the Sitemap XML Validator?
There is no cost and no cap. The Sitemap XML Validator is not a demo of a paid product, so nothing is held back or watermarked.
Is my data uploaded anywhere?
No. The Sitemap XML Validator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What formula does the Sitemap XML Validator use?
It uses the sitemaps.org 0.9 rules: at most 50,000 URLs and 50 MB uncompressed per file, absolute URLs only, one hostname, ampersands escaped as &, and W3C datetime lastmod values. The full working is printed under the result, so you can follow every step rather than trusting a black box.
What is the Sitemap XML Validator used for?
Typical uses: finding why a submitted sitemap was rejected. Checking a generated sitemap before submitting it. Spotting duplicate or mixed-protocol URLs in a large file. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
When is the Sitemap XML Validator not the right tool?
It runs in your browser and cannot fetch a sitemap for you, so paste the XML rather than the URL. A sitemap index is recognised and its child count is checked, but the children themselves have to be pasted separately. Gzipped sitemaps must be decompressed first. Knowing where a tool stops being trustworthy matters more than the cases where it works.
Which values should I know?
URL limit is 50,000 per file. Size limit is 50 MB uncompressed. Bare & is Must be & or the XML will not parse. These are printed on the page itself, so you do not have to take them on trust.
Does the Sitemap XML Validator work on a phone?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related seo tools

All 56
01

Robots.txt Tester

Tests whether a given URL is allowed or blocked by a robots.txt file, showing which rule…

02

On-Page SEO Checker

Analyses a page's HTML for title, description, headings, images, links, structured data and…

04

Image Alt Text Checker

Lists every image in your HTML and flags missing, empty, duplicated or keyword-stuffed alt…

06

Indexability Checker

Checks page HTML for anything that would stop it being indexed — noindex, canonical conflicts…

07

JSON-LD Validator

Parses JSON-LD structured data, finds every entity, and reports missing required properties…

08

Meta Tag Analyzer

Reads a pasted page head and reports title and description width in pixels, canonical and…

09

Form Label Checker

Checks pasted form markup for inputs with no label, placeholder-only labelling, orphaned label…

10

Link Text Checker

Finds vague link text, empty links, raw URLs as link text and the same words pointing at…