Sitemap Validator — Check Your XML Sitemap
Validate and check your XML sitemap in seconds. This free sitemap validator and checker fetches a live sitemap or reads pasted XML, flags errors and warnings with line numbers, finds a site's sitemap, tests URL status, checks hreflang and exports the URL list. No account needed.
What is an XML sitemap?
An XML sitemap is a file that lists the URLs of a website so search engines can discover and crawl them. Each entry holds a location and optional hints such as lastmod, changefreq and priority. A valid sitemap uses the sitemaps.org 0.9 namespace and may hold up to 50,000 URLs or 50 MB uncompressed — larger sites split their URLs across several sitemaps referenced by a sitemap index.
This xml sitemap validator parses the file, checks it against the protocol and Google's requirements, and shows every issue with its line number. Use it as a sitemap viewer to inspect what a sitemap actually contains, or as a sitemap tester before you submit it to Google Search Console.
How this sitemap checker works
Paste your XML or enter a sitemap URL and the sitemap checker fetches it, decompresses .gz files, and validates it in your browser. Errors block a sitemap — malformed XML, a missing or wrong namespace, relative or missing URLs, an invalid changefreq, a priority outside 0.0 to 1.0, or exceeding the 50,000-URL / 50 MB limits. Warnings are advisory, such as a lastmod that is not in W3C format (which Google silently ignores), duplicates, near-duplicates or mixed domains.
For image, video and news sitemaps the checker also verifies the required fields of each namespace, and it optionally tests the live HTTP status of the listed URLs so you can spot broken links and redirects before crawlers do.
Sitemap finder: locate any site's sitemap
Not sure where a sitemap lives? Switch to the domain mode and the built-in sitemap finder reads the site's robots.txt and probes the common paths (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and more) to find the sitemap for you. It is the quickest way to find a sitemap you can then validate, view or export.
For the full specification, see the official sitemaps protocol: sitemaps.org — protocol.
Image, video and news sitemaps
The validator recognises the image, video and news namespaces and checks their required fields: an image needs image:loc; a video needs video:thumbnail_loc, video:title, video:description and one of content_loc or player_loc; a news entry needs news:publication, news:publication_date and news:title. Missing required fields are reported as errors so your media sitemap is accepted by Google.
Frequently asked questions
What is an XML sitemap?
How do I find the sitemap of a website?
What are the limits for a sitemap?
Why does Google ignore my lastmod?
What is a sitemap index?
Which priority values make sense?
Does changefreq affect crawling?
How do I submit my sitemap to Google?
How do hreflang and sitemaps work together?
Related tools
XML Sitemap Generator — Create a sitemap.xml
Crawl your site and create a sitemap.xml, HTML sitemap and URL list. Free, no account.
Hreflang Generator
Build valid, reciprocal hreflang tags in HTML, XML sitemap or HTTP header format — free, no account.
Robots.txt Tester
Check and validate a robots.txt: test URL access per crawler, AI-bot status, syntax warnings. Free.
Robots.txt Generator
Build and validate a robots.txt with live preview — crawler rules, AI-bot control, sitemap. Free.
AI Search Readiness Checker
Score how ready your site is for ChatGPT, Perplexity and AI Overviews.
