What it does
robots.txt tells crawlers which paths they may request. It is a voluntary convention, not an access control. This checker parses the file, reports syntax problems, extracts sitemap declarations and tests a URL against the rules for a chosen user agent.
How it works
The file lives at the root of a host and is fetched before crawling. It consists of groups: a User-agent line followed by Allow and Disallow rules. A group for * applies to crawlers without a specific group; a matching specific group takes precedence over *.
Rule matching uses the longest matching path, with Allow winning ties. Wildcards * and the end anchor $ are widely supported. A short Disallow may be overridden by a longer Allow, which is a common source of confusion.
Crawl-delay is not part of the original standard and is ignored by major engines. Sitemap lines are supported and are the main reason to keep the file even when everything is allowed.
robots.txt does not block indexing of a URL that is linked elsewhere; it blocks fetching. A blocked page can still appear in results as a bare URL. Use noindex for indexing control, and never expose secrets by relying on robots.txt.
Errors are common: a BOM before the first line, rules outside a group, a missing user-agent, or a file served with the wrong content type. A 5xx response is treated differently from a 404 and can pause crawling.
When to use it
- Check that a staging site is not accidentally blocking production crawlers.
- Test whether a new section is reachable by Googlebot.
- Find sitemap URLs after a platform migration.
- Verify that an Allow rule overrides a broad Disallow.
Glossary
- robots.txt
- A root-level file that advises crawlers which paths they may fetch.
- User-agent group
- A set of rules that applies to one crawler token or to *.
- Longest match
- The rule with the most specific path wins; Allow wins ties.
- Crawl-delay
- A non-standard directive ignored by major search engines.
- Sitemap directive
- A line pointing crawlers at a sitemap URL.
Frequently asked questions
Does Disallow remove a page from search results?+
No. It prevents fetching. A linked URL can still be indexed as a bare result. Use noindex, and allow fetching so the crawler can see it.
Why is my rule ignored?+
Check the group order, a more specific Allow, a typo in the user-agent token, or a BOM at the start of the file. The longest match wins.
Can robots.txt protect private files?+
No. It is advisory and ignored by scrapers. Use authentication and server-side authorization.
Should I block AI crawlers?+
That is a policy choice. Add explicit user-agent groups for the crawlers you want to exclude, and accept that compliant behaviour is voluntary.
What happens if robots.txt is down?+
A 5xx can cause crawlers to pause, while a 404 is treated as “allow all”. Monitor it like any other production endpoint.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/robots-txt-checker?u=https%3A%2F%2Fexample.com"Shareable result
https://100www.dev/tools/robots-txt-checker?u=https%3A%2F%2Fexample.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


