A sitemap audit is one of the fastest technical checks in an SEO review, and one of the easiest to do badly. The common failure is auditing a file the client sent you weeks ago, or a copy exported from a plugin, instead of the file their server actually serves today. Search engines read the published copy. Your audit should too.

This guide gives a repeatable workflow built on the free Sitemap Validator on Ovatly. It covers what to fetch, how to read the result, the order to fix things in, and how to close the audit so the finding stays fixed. It also states the honest boundary of the exercise: validation covers the file, not the indexability of the pages inside it.

Contents

  • Quick answer
  • What a valid sitemap needs
  • Errors before warnings: the fixing order
  • Index files and child sitemaps
  • How to run the audit, step by step
  • Worked example: the date and priority findings
  • Limitations: what this audit cannot tell the client
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Fetch the exact contents of the client's published sitemap and paste them into the Sitemap Validator. Read the summary (file type, entry count, size, error count), fix every error first, then the warnings, and re-paste to confirm the file is clean. If the file is a sitemap index, run each child sitemap through the same check. After the client uploads fixes, paste the published contents once more: the audit is only closed when the live copy validates clean.

What a valid sitemap needs

The validator checks against a short, concrete list, which makes a good audit checklist:

  • Well-formed XML that parses without errors, for both <urlset> files and sitemap index files, including the namespaced variants produced by common CMS plugins.
  • The sitemap namespace declared on the root element. Without it, strict parsers and some search engines will not recognise the file as a sitemap.
  • An absolute URL in every entry. Each <loc> must hold a complete URL; a missing or invalid one is an error.
  • W3C-format dates wherever <lastmod> is used: year first, such as 2026-01-31.
  • Protocol limits respected: no more than 50,000 URLs and 50 MB uncompressed in a single file.

Anything failing on this list is reported as an error. Softer problems are warnings, covered next.

Errors before warnings: the fixing order

The validator separates findings into two levels, and the audit should respect that order. Errors break the format or the protocol: malformed XML, a missing <loc>, invalid dates, oversized files. They can make engines ignore entries or the whole file, so they are the findings that matter in the client report.

Warnings are problems like duplicate entries or a <priority> outside the 0.0 to 1.0 range. Engines usually tolerate them, but they are still worth fixing while the file is open: duplicates suggest the generator is misconfigured, and an out-of-range priority suggests nobody has reviewed the output. In the report, present errors as defects and warnings as hygiene, and fix in that order.

Index files and child sitemaps

Many client sites serve a sitemap index rather than a single file. The validator detects index files by their <sitemapindex> root and checks each child <sitemap> entry's <loc> and <lastmod> the same way it checks a normal entry. That validates the index itself, but not the children it points to. A complete audit runs each child sitemap through the same check, because a clean index pointing at a broken child has only moved the problem one level down.

How to run the audit, step by step

  1. Fetch the client's published sitemap and paste its full contents into the Sitemap Validator. The XML is parsed in your browser with DOMParser and never uploaded, which matters when you are handling a client's file.
  2. Read the summary: file type, entry count, size and error count. Note these figures for the report before you change anything.
  3. Fix the errors first, then review the warnings, working from the checklist above.
  4. Re-paste the corrected file to confirm it is clean.
  5. If the file is a sitemap index, run each child sitemap it lists through the same check, then have the client upload the fixes and paste the published contents one final time to close the audit.

Worked example: the date and priority findings

A typical first finding looks like this. The sitemap's first entry carries a European-format date, <lastmod>31-01-2026</lastmod>, and fails with an error naming entry 1 and the invalid value. Sitemap dates must be in W3C format, year first: 2026-01-31. Regional orders like day-month-year are one of the most common errors this check catches, which makes it a persuasive example in a client report: it is unambiguous, and the fix takes seconds.

The same file with a <priority> of 1.5 adds a warning, because priority must stay between 0.0 and 1.0. Together the two findings show the audit's range in one small file: one error that can make an engine ignore the entry, and one warning that simply should not ship. Record both, fix both, re-paste, and the file passes.

Limitations: what this audit cannot tell the client

Be straight with the client about scope. A clean validation means the file is well-formed and consistent; it cannot tell you whether the listed pages themselves are indexable or worth crawling. If pages are missing from the index despite a clean sitemap, the causes sit elsewhere, in crawlability, canonical signals and page quality. The companion guide on why sitemap pages still do not appear in Google covers that side, and the SEO Tools guides cover the neighbouring checks.

Also schedule the recheck honestly. A sitemap should be checked whenever the file changes: after generating a new one, after a redesign or migration, and after adding or removing a large number of pages. An audit is a snapshot, not a certificate.

Common mistakes

  • Auditing a stale copy. A file exported last month says nothing about what the server serves now. Always paste the published contents.
  • Reporting warnings as critical. Errors and warnings are different levels. Mixing them up undermines the report's credibility.
  • Skipping the child sitemaps. The index passing is not the audit passing. Every child needs its own run.
  • Closing the audit at the fix. The fix is closed when the uploaded, published file validates clean, not when the corrected draft does.
  • Treating validation as an indexing verdict. A clean file with missing pages is a page problem, not a sitemap problem. Say so plainly.

FAQs

What is the difference between an error and a warning here? Errors break the format or the protocol (malformed XML, missing loc, invalid dates, oversized files) and can make engines ignore entries or the whole file. Warnings are problems like duplicates or out-of-range priorities that engines usually tolerate but you should still fix.

Can this validate a sitemap index file? Yes. Index files are detected by their sitemapindex root, and each child sitemap entry's loc and lastmod are checked the same way.

What does a valid sitemap need? Well-formed XML, the sitemap namespace declared on the root element, an absolute URL in every entry's loc element, W3C-format dates wherever lastmod is used, and no more than 50,000 URLs or 50 MB uncompressed in a single file.

How often should a sitemap be checked? Whenever the file changes: after generating a new one, after a redesign or migration, and after adding or removing a large number of pages. A quick check then is cheaper than finding crawl problems weeks later.

Does the validator fetch the sitemap from the client's server? No. The validator checks the text you paste, not the file live on the server. Fetch the published file yourself, paste its contents, and after fixes are uploaded, paste once more to confirm the published copy is clean.

Conclusion

A sitemap audit done this way is short, repeatable and defensible: published file in, errors before warnings, children checked, live copy confirmed clean at the end. Run it with the Sitemap Validator at every redesign, migration and major content change, and the sitemap stops being a source of surprises in your reviews.