Sitemap.xml Validator
Paste your sitemap.xml to validate it against the sitemaps.org protocol — checks the urlset namespace, required loc elements, lastmod/priority formatting, and Google's 50,000 URL limit.
Tips
- Keeping
<lastmod>accurate helps crawlers prioritize re-fetching pages that actually changed. Stale or future-dated timestamps can hurt crawler trust rather than help. <priority>is only a hint about relative importance between pages on your own site — Google has stated it does not use it for ranking. Treat it as supplementary, not a growth lever.- A single sitemap.xml can hold at most 50,000 URLs and must not exceed 50MB uncompressed. If you exceed either limit, split it into multiple files linked from a
<sitemapindex>. - Adding one
Sitemap:directive to your robots.txt lets search engines auto-discover your sitemap.xml. Pair it with our robots.txt checker for a quick end-to-end review. - If
<loc>URLs contain non-ASCII characters (e.g. Japanese paths), they must be percent-encoded first. Pasting the address bar's decoded display URL as-is will be flagged as invalid.
FAQ
Sitemap: directive to robots.txt lets crawlers discover it automatically without any manual submission.image:image or video:video inside the same standard urlset alongside your regular page entries. This tool does not validate those extension tags, but doing so does not affect the validation of standard fields (loc, lastmod, etc.).
Side Note — The Day Search Engines Agreed on One Sitemap Format
Google introduced its own sitemap mechanism in June 2005. Just over a year later, in November 2006, Yahoo! and Microsoft (then MSN Search) announced support for the same format, and together they standardized it as sitemaps.org — a rare case of directly competing search engines agreeing on one shared format.
A sitemap.xml is a map telling crawlers "this URL exists" — it does not guarantee the page will actually be crawled or indexed. For large sites, crawl budget (the finite resources a search engine allocates to crawling one site) becomes a real constraint: stuffing the sitemap with low-value URLs can delay discovery of the pages that actually matter.
The 50,000-URL and 50MB limits exist mainly to keep server-side parsing of a single XML file manageable. Sites with huge URL counts, like large e-commerce catalogs, typically split their sitemap into multiple files and tie them together with a sitemap index file — a separate format whose root element is <sitemapindex> instead of <urlset>.