Paste your sitemap
Open your sitemap (for example yoursite.com/sitemap.xml), press Ctrl+U to see the raw code, copy everything and paste it here. Or upload the .xml file.
Paste a sitemap and click “Validate sitemap”.
Problems found
URLs
The cleaned sitemap removes broken, duplicate, parameter and admin/tag URLs and drops bad dates, changefreq and priority values. Check it before you upload it.
How to use the Sitemap Validator
- Open your sitemap in the browser (often /sitemap.xml or /sitemap_index.xml).
- Press Ctrl+U to see the raw XML, copy all of it and paste it above, or upload the file.
- Click Validate sitemap to see errors, warnings and a status for every URL.
- Fix the problems, or download the cleaned sitemap, then resubmit it in Google Search Console.
What does it check?
It checks that the XML is valid and uses the right tags and namespace, that every URL is a full https address with no spaces, duplicates or unescaped “&”, that lastmod dates are real and not in the future, that changefreq and priority values are allowed, that all URLs use the same domain and protocol, and that the file stays under 50,000 URLs and 50 MB. It also flags URLs that usually should not be in a sitemap, like admin, tag and parameter URLs.
Fixing “Couldn’t fetch” or “Sitemap could not be read” in Search Console
- Make sure the sitemap URL opens in your browser and shows XML, not a 404 page.
- Check that robots.txt does not block the sitemap.
- Run it through this validator and fix any XML errors.
- Clear your caching plugin and resubmit.
Made by Maroof Ahmed. More free tools: XML Sitemap Generator, Robots.txt Generator, Canonical & Noindex Checker and SEO Audit Checklist. Need help with indexing? Chat on WhatsApp.
Want an expert to do this for you?
I’m Maroof Ahmed, a freelance SEO consultant with 300+ projects for businesses in the USA, UK and Australia. Technical SEO services →
