Use this reusable technical SEO checklist to test robots.txt rules, validate XML sitemaps, identify redirect and crawlability problems, and document fixes before they affect a launch, migration, or scheduled audit.
Overview
A robots.txt tester and XML sitemap checker answer different questions. A robots.txt validator examines whether a crawler can interpret the file and whether a selected URL is allowed or disallowed by the rules. A sitemap tool checks whether the XML can be parsed, whether its URLs are reachable, and whether the listed locations behave as expected.
Neither file is a complete substitute for a crawl. Robots.txt is a set of instructions about crawling, while a sitemap is a discovery and URL-submission signal. A technically valid file can still contain the wrong paths, outdated URLs, redirects, staging locations, or pages that should not be part of the site's search strategy. The most reliable audit combines file validation with live URL tests and a review of the site's intended architecture.
For repeatable work, save the tested files, the tool settings, the date, and any exceptions. This creates a useful comparison point after a deployment or configuration change. Browser-based utilities are convenient for quick checks, but sensitive, private, or unpublished URLs may be better tested with approved internal tools or command-line workflows.
What to compare in a testing tool
| Capability | What it should help you verify | Useful output |
|---|---|---|
| Robots.txt syntax validation | Whether the file has malformed lines, unsupported patterns, confusing duplicates, or formatting problems. | Line-level warnings and a readable interpretation of the rules. |
| URL rule testing | How a selected path is treated by the rules, including paths with parameters, folders, and trailing slashes. | Allow or disallow result, matched rule, and test URL. |
| Sitemap parsing | Whether the XML is well formed and whether the submitted structure is a URL set or sitemap index. | Parsed URL count, structural errors, and file-level warnings. |
| Redirect detection | Whether sitemap entries resolve directly or pass through redirects, error responses, or unexpected hosts. | Final destination, redirect chain, and response status. |
| Crawlability warnings | Potential conflicts between a sitemap URL, robots.txt rules, canonical targets, and the live response. | Prioritized warnings with the affected URL and reason. |
| Export and privacy | Whether results can be retained for an audit and whether submitted content or URLs are handled appropriately. | CSV, JSON, or report export; stated retention and processing details. |
Checklist by scenario
Routine technical SEO audit
- Fetch the production
/robots.txtURL and confirm it returns the intended file from the correct host and protocol. - Run syntax validation, then test representative URLs: the homepage, a product or documentation page, a parameterized URL, a private area, and any path recently changed.
- Locate every sitemap reference in robots.txt and record any sitemap submitted through your normal webmaster workflow.
- Parse each sitemap or sitemap index. Check for malformed XML, duplicate entries, unexpected hosts, non-canonical URLs, and URLs that no longer belong in the site.
- Test a sample of sitemap URLs for redirects, server errors, blocked paths, and unexpected destinations.
- Compare the tool report with a crawl or server-log sample. A file test alone cannot reveal every internal linking or rendering problem.
Before a site launch or redesign
- Test the intended production rules separately from any temporary staging rules. Do not assume a staging file can be copied unchanged to production.
- Build a URL sample from every important template and directory. Include new folders, faceted navigation, search results, API-like paths, and downloadable assets where relevant.
- Confirm that the production sitemap contains only URLs you want discovered and that its hostnames, protocols, and path formats are consistent.
- Check that launch redirects lead to final destinations and that the sitemap does not retain old URLs simply because they still resolve.
- Repeat the tests after DNS, CDN, routing, or deployment changes. Configuration differences can make a locally correct file behave differently in production.
During a migration or domain change
- Test robots.txt on both the old and new properties. A rule that is appropriate for one host may be wrong for the other.
- Check whether old sitemap URLs redirect to the correct new URLs and whether the new sitemap uses only the destination format.
- Look for protocol, subdomain, uppercase/lowercase, and trailing-slash inconsistencies.
- Keep a before-and-after export so regressions can be traced to a specific release or configuration change.
When one URL appears to be missing
Start with the exact URL, including protocol, host, path, and relevant parameters. Test it against robots.txt, request it directly, inspect its redirect chain, and compare its canonical target with the sitemap entry. If the URL is allowed but still absent from a report, avoid treating that result as proof of a robots.txt problem; discovery, duplication, response quality, and reporting delays may require separate investigation.
What to double-check
- File location: Robots rules apply by host and protocol context. Verify the file being tested is the one a crawler can actually retrieve.
- Rule interpretation: Test the exact path rather than relying on a visual reading of a wildcard. Small differences in slashes, parameters, or case can change the result.
- Sitemap type: A sitemap index points to other sitemap files, while a URL set contains the actual page entries. Confirm that your parser follows the structure you supplied.
- HTTP behavior: A sitemap URL should be evaluated beyond its XML entry. Check status, redirects, final URL, and whether the response is the expected page.
- Scope: Decide whether media, alternate-language URLs, feeds, or other supported formats belong in your audit. Do not assume every discovered URL belongs in the primary page sitemap.
- Privacy: Avoid uploading confidential URLs, unreleased paths, or authenticated content to an unfamiliar online utility. Review processing and retention information before using a third-party tester.
- Tool limits: Record file-size, URL-count, crawl-depth, and export limits before interpreting a partial result as a complete audit.
For adjacent technical checks, a JSON formatter and validator can help inspect structured tool exports, while a regex tester is useful when documenting or reviewing path patterns. These utilities support the audit; they do not replace testing against the live site.
Common mistakes
- Using robots.txt to remove a URL from search: Blocking crawling is not the same as controlling every indexing outcome. Review the intended indexing mechanism and page response separately.
- Blocking an entire folder for convenience: A broad rule can affect important pages, assets, or URLs added later. Test representative paths before publishing it.
- Putting redirected URLs in the sitemap: Prefer the final URLs that represent the current site structure, then verify them after release.
- Assuming a valid XML file is a good sitemap: Well-formed XML can still list duplicates, obsolete pages, non-canonical URLs, or locations that return errors.
- Testing only the homepage: Crawlability problems often affect templates, folders, parameters, or migrated sections rather than the root URL.
- Ignoring environment differences: CDN rules, authentication, headers, and deployment settings can change what a live crawler receives.
- Failing to save evidence: Without the tested input and timestamp, it is difficult to tell whether a later failure is new or was already present.
When to revisit
Run the checklist before every major launch, redesign, domain or protocol migration, robots.txt edit, sitemap generator change, routing change, and large content release. Schedule a lighter review during regular technical SEO audits, especially when templates, faceted navigation, international URLs, or hosting infrastructure change.
Revisit your chosen robots.txt tester and XML sitemap checker when its interface, file limits, export format, privacy terms, or crawl behavior changes. Search-engine guidance and crawler handling can also evolve, so review the relevant official documentation when making a policy-sensitive change rather than relying on an old screenshot or saved assumption.
End each audit with three practical records: the exact files tested, the URLs that failed or produced warnings, and the owner and deadline for each fix. After deployment, rerun the affected tests and compare the results with the baseline. That small feedback loop turns a one-time robots.txt validation into a dependable technical SEO audit process.