What happens when you press Validate
The address goes to the server, which strips stray whitespace, adds https:// if you omitted a scheme, and rewrites anything not already pointing at a robots file to /robots.txt at the site root. The fetch runs with a 12 second timeout, follows up to five redirects while re-validating every hop, and caps the response at 5 MB. Hosts resolving to loopback, private, link-local or cloud metadata addresses are refused outright, as are names like localhost, and the connection is pinned to the IP that passed the check so DNS cannot swap underneath it. A 404 is not an error here: an amber panel explains that a missing file means crawlers assume everything is indexable.
A worked example
A file containing User-agent: *, a Disallow of /admin/ and a Crawl-delay of 15 comes back with the HTTP badge, the byte count, one parsed group and a warning that a delay above 10 seconds is very slow. Typing admin/report into the path tester adds the leading slash and answers Blocked for "*" on /admin/report inside a red box.
Checks run over the parsed file
Errors fire when no User-agent group exists at all, or when the wildcard group carries a Disallow of /, which silently deindexes the whole site. Warnings cover a missing wildcard group, a missing Sitemap directive, any wildcard Disallow that is two characters or shorter, non-numeric Crawl-delay values, unparseable lines, directives appearing before any User-agent line, and names outside the known set such as host or noindex.
Testing a path against the rules
The tester runs in your browser on the parsed groups and follows Google's precedence: the longest matching pattern wins, Allow beats Disallow at equal length, and an empty Disallow allows everything. The agent dropdown lists only the groups the file defines.
Where it stops
- It reads the file only; X-Robots-Tag response headers and page-level meta robots are out of scope.
- Path matching is an approximation, so patterns mixing asterisks and a trailing dollar sign may not decide exactly as Google Search would.
- A crawler the file never names has no rules of its own to test against.
- Declared sitemap URLs are listed but never fetched or checked.
Questions people ask
Is a missing robots.txt a problem?
No. The page labels HTTP 404 as legal and explains that crawlers then assume everything is open; the file is only needed to restrict paths.
Why warn about a two-character Disallow?
Rules like /a hide enormous slices of a site through prefix matching, so extreme brevity is treated as a likely mistake.
Create a compliant file with the robots.txt generator, and see how a crawler reads a page with the spider simulator.