Sitemap XML Validator
Paste, drop, or fetch a sitemap XML file to count URLs, detect invalid loc entries, find duplicates, and review common warnings.
Send the URL to our server to fetch it.
Or paste raw XML
Results
- URLs
- 0
- Duplicates
- 0
- Errors
- 0
- Warnings
- 0
URLs (0)
How it works
Enter your input
Fill in the values, paste your text, or upload the file this tool works with.
See results instantly
Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.
Use your results
Copy, download, or share what the tool produces — you're always in control of the output.
What is Sitemap XML Validator?
Check sitemap XML for well-formed markup, valid <loc> URLs, duplicates, URL counts, file-size limits, and common warnings — paste it, drop a file, or fetch it directly from a URL.
How to validate sitemap XML
Accepted sitemap shapes
The validator expects a urlset or sitemapindex root element. It reads every <loc> entry and checks whether each URL uses http or https.
Errors and warnings
Malformed XML, missing loc entries, invalid URLs, unsupported protocols, too many URLs, and files over 50MB are errors. Duplicate URLs and missing XML declarations are shown as warnings.
Fetching a sitemap from a URL
Pasting text or dropping a file is validated entirely in your browser. "Fetch from URL" is different: it sends that URL to our server, which downloads the file on your behalf and hands the XML back to your browser for the same local validation — this is a genuine exception to this site's browser-first approach, needed because most sitemap hosts block cross-origin requests a page like this one could otherwise make directly. The server refuses to fetch private or internal addresses, follows at most 5 redirects (re-checking each one), and gives up after 50MB or 15 seconds.
Before search submission
- Fix XML errors before submitting to search tools.
- Split large URL sets before they pass 50,000 URLs or 50MB uncompressed.
- Review duplicates so crawlers do not waste crawl budget on repeated entries.
Validation notes
Pasted or dropped XML is validated entirely in your browser and never leaves your device. "Fetch from URL" is the only exception: the URL is sent to a ProntoUso server so it can download that public XML for this request. The URL and downloaded XML are not logged or stored. Neither path checks whether the pages listed in the sitemap are live, indexable, canonical, or blocked by robots.txt.
Frequently Asked Questions
Does it support sitemap indexes?
Yes. A sitemapindex root is accepted and its loc entries are validated like sitemap URLs.
Does it check whether each URL listed inside the sitemap returns 200?
No. It validates the XML and URL strings only; it does not crawl or fetch the pages a sitemap lists.
Does "Fetch from URL" send anything besides the URL itself?
No. Only the URL you enter is sent to our server. It is used once, to download that one file, and is not logged or stored afterward.
What are the sitemap size limits?
A single sitemap should stay at or below 50,000 URLs and 50MB uncompressed. Larger sites should split URLs across multiple sitemap files and use a sitemap index.
Is an XML declaration required?
No, but many generated sitemaps include one. This validator treats a missing declaration as a warning, not an error.
Related Tools
- AvailableLocal
Slug Generator
Turn titles and phrases into clean URL slugs.
- AvailableLocal
Meta Tags Generator
Create SEO, Open Graph, and Twitter meta tags.
- AvailableLocal
UTM Generator
Build campaign URLs with UTM parameters.
- AvailableLocal
robots.txt Generator
Generate robots.txt rules and test a path.
- AvailableLocal
User-Agent Parser
Parse a User-Agent string into browser, OS, and device.
- AvailableLocal
HTTP Status Code Lookup
Look up what an HTTP status code means.
- AvailableLocal
MIME Type Lookup
Look up a file extension's MIME type, or the reverse.
- AvailableLocal
Punycode / IDN Converter
Convert domain names between Unicode and Punycode.
- AvailableLocal
URL Parser & Query Inspector
Parse and inspect URL components.
- AvailableLocal
Keyword Density Checker
Count keyword or phrase density in a draft.