Free XML Sitemap Tester & Checker
Instantly test, validate and verify any XML sitemap — detect errors, count URLs, and check if your sitemap.xml is correctly formatted for Google
How to Test & Validate Your XML Sitemap
An XML sitemap is a file that lists all important URLs on your website, helping search engines like Google discover and crawl your content efficiently. This free sitemap tester fetches your sitemap.xml, validates its XML structure, counts the URLs, and checks for common errors — without requiring an account or login. Enter your sitemap URL above to get an instant analysis.
XML Sitemap Limits (Google)
- File size: Maximum 50MB uncompressed per sitemap file
- URLs per file: Maximum 50,000 URLs per sitemap
- Large sites: Use a sitemap index file that references multiple child sitemaps
XML Sitemap Elements
- <loc>: The canonical URL of the page — required field
- <lastmod>: Date the page was last modified (optional but recommended — helps Google prioritize recrawling)
- <changefreq>: How often the page changes: always, hourly, daily, weekly, monthly, yearly, never (optional, largely ignored by Google)
- <priority>: Relative importance of the page from 0.0 to 1.0 (optional, largely ignored by Google)
Common Sitemap Issues That Hurt SEO
- Invalid XML syntax — the sitemap can't be parsed by search engines
- Including non-canonical URLs — causes duplicate content issues
- Including URLs blocked by robots.txt or noindex — Google ignores them anyway
- Including 301 redirect or 404 error URLs — wastes crawl budget
- Outdated lastmod dates — misleads Google about when pages were updated
Frequently Asked Questions
What is an XML sitemap?
An XML sitemap is a file (usually sitemap.xml) that lists all the important URLs on your website in a structured format. It helps search engines like Google and Bing discover and crawl your pages faster, especially for new sites, large sites, or pages with few inbound links.
How do I test my sitemap?
Enter your sitemap URL (e.g. https://yoursite.com/sitemap.xml) in the field above and click 'Test Sitemap'. This checker fetches your sitemap, validates the XML structure, counts all URLs, and shows sample entries and any errors — instantly, no login needed.
How do I validate an XML sitemap?
This tool validates your sitemap's XML structure and checks for common issues like invalid syntax, incorrect element order, and malformed URLs. For a full crawl-based audit, you can also submit your sitemap in Google Search Console, which shows indexing errors and coverage reports.
How do I submit my sitemap to Google?
Go to Google Search Console → Sitemaps → enter your sitemap URL → Submit. Google will then crawl and index the URLs listed. You should also reference your sitemap in robots.txt with the line: Sitemap: https://yoursite.com/sitemap.xml
Why is my sitemap not being indexed by Google?
Common reasons: invalid XML that Google can't parse, the sitemap is blocked by robots.txt, the URLs inside are blocked (noindex or disallowed), the sitemap is too large (over 50MB or 50,000 URLs), or Google hasn't crawled it yet. Use this tester to rule out structural issues.
Do I need a sitemap for SEO?
Not required, but highly recommended — especially for new websites, large sites with 100+ pages, sites with complex navigation, or pages that don't have many internal links pointing to them. A sitemap speeds up discovery and ensures Google doesn't miss important pages.
How often should I update my sitemap?
Update it whenever you add, remove, or significantly modify pages. Most CMS platforms (WordPress, Shopify, etc.) auto-generate and update sitemaps automatically. Only update lastmod dates when the content actually changes — not on every build.
What if I have more than 50,000 URLs?
Use a sitemap index file (sitemapindex.xml) that references multiple child sitemaps, each containing up to 50,000 URLs. For example, you can split by content type: /sitemap-posts.xml, /sitemap-products.xml, /sitemap-pages.xml.
Want Automated Monitoring?
Get 24/7 monitoring with instant alerts when issues are detected.
Start Free Trial