LocalExcelTool
Get started

Sitemap Validator

Paste your sitemap.xml to check URLs, https, duplicates and homepage.

Runs in your browserNo account neededFree

What is Sitemap Validator

A sitemap validator checks the quality of a sitemap.xml by counting <loc> URLs and verifying https, matching host, duplicate URLs and homepage presence. It helps you verify a sitemap before publishing.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Structural checks that catch most sitemap mistakes

The rules applied are the ones that actually break indexing: every URL must be absolute and https, URLs must be unique, every URL must share the sitemap's host, the file must be well-formed XML, and the homepage should appear. A sitemap that fails any of those is either rejected wholesale or partially ignored.

The 50,000-URL and 50 MB uncompressed limits per file are absolute; beyond them the file must be split and referenced from a sitemap index. Exceeding the limit does not produce an error in most crawlers — the tail is simply never read.

What a valid sitemap still gets wrong

Listing pages that return 404, redirect or noindex is worse than not listing them: it wastes crawl budget and signals that the sitemap is not maintained. A sitemap should contain only canonical, indexable, 200-status URLs.

lastmod is the field most often abused. Setting it to the build time on every deploy teaches crawlers to ignore it, and an ignored lastmod cannot be used to prioritise recrawling. One honest timestamp per real content change is worth more than a thousand automatic ones.

Discovery is not the same as indexing

Submitting a sitemap says where the pages are. It does not say they should rank, and it does not guarantee a crawl. A site with no inbound links and thin pages will have its sitemap read and its URLs mostly skipped.

The order of operations that works: make pages worth indexing, link them from pages that are already crawled, keep the sitemap accurate, then wait. Tools that submit more aggressively do not change that sequence.

How to use it

  1. 1.Paste your sitemap.xml content
  2. 2.Enter a site URL if needed
  3. 3.Click Run and review the results

How Sitemap Validator works under the hood

Developer tools here are deterministic byte and string transformations. The useful question is not whether they are fast, but whether the output can be verified against a reference.

  1. 1

    Encode the input

    Text is converted to UTF-8 bytes with TextEncoder; binary input is read as an ArrayBuffer.

  2. 2

    Apply the primitive

    Hashing and HMAC use Web Crypto (SHA-1/256/384/512); encoding, escaping and formatting are pure functions over the bytes or string.

  3. 3

    Format the output

    The result is rendered as lowercase hex, Base64, or the target syntax, with the exact same rules the specification defines.

  4. 4

    Compare and copy

    Output stays on the page so you can diff it against a reference implementation before using it.

  5. Processing pipeline

Hashing is not encryption

A SHA-256 digest is one-way: there is no key and no way back. It proves that two inputs are identical (or not), which is what integrity checks need. It does not hide a password — for that you need a slow, salted KDF such as Argon2id, which this site uses for account passwords.

What runs where

Every transformation in this category runs in the tab. No key, token or payload is sent to us; the site cannot see what you hashed or decoded. That also means there is no server-side undo — if you close the tab, the input is gone.

Limits worth knowing

JWT decoding shows the header and payload; it does not validate the signature unless you supply the key, and it never proves the issuer is trustworthy. Regex-based tools can degrade badly on pathological input, so input size is capped. Very large payloads are also capped to keep the tab responsive.

Verify it yourself

Compare the output against a reference before you ship it.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What does it check?

https, host match, duplicate URLs and homepage presence (same rules as ShipGate S14/S15).

Is my file uploaded?

No. The pasted content is parsed entirely in your browser and never sent anywhere.

Is the site URL required?

No. Providing it enables host-match and homepage checks; otherwise only https and duplicates are checked.

What this kind of conversion cannot keep

Developer tools here check what breaks silently: a missing canonical, a description over the length search engines display, a sitemap that returns 200 but lists dead URLs. Each result links to the exact line or URL, because a warning you cannot act on is noise.

More in Developer