Robots.txt Checker

Fetch the robots.txt of any domain and read it the way a crawler would. You get every user-agent group and directive, whether the site is accidentally blocked, and the specific line to change when something is wrong.

Check a robots.txt file

What this tool does

The tool requests https://yourdomain/robots.txt and parses the response into user-agent groups and directives. It then reports on the things that actually go wrong in practice: a missing User-agent line, a wildcard group that disallows the whole site, rules that are silently ignored, malformed lines, and sitemap references that are not absolute URLs.

It also shows the file exactly as it was retrieved, so you can compare our reading against the raw text.

How it works

  1. You enter a domain; the tool validates it.
  2. /robots.txt is fetched and the response is split into lines.
  3. Comments and blank lines are dropped; each remaining line is matched against the directive format.
  4. Directives are grouped the same way crawlers group them: consecutive User-agent lines share one group, and a new User-agent after a rule starts a new group.
  5. Checks are reported with a status and a plain-language explanation, then the groups and raw file are listed.

Limitations & transparency

This tool reads the file. It does not read your <meta name="robots"> tag or an X-Robots-Tag header, and it cannot tell you whether a page is actually indexed — that information exists only inside Google Search Console.
A crawler chooses which group applies by matching the User-agent token to its own name. This tool analyses the group for * because that is what Googlebot uses, but other crawlers may match a different group, and they do not all support the same directives.

Your domain name is sent to the retrieval services listed in the Privacy Policy. This static site has no backend and stores no results.

Every directive, explained

User-agent
Names the crawler a group of rules applies to. * means “any crawler”. Two or more User-agent lines in a row share the rules that follow them.
Allow / Disallow
The core rules. Disallow: /admin means “do not crawl anything under /admin”. Disallow: with an empty value means the opposite — allow everything. The longest matching rule wins, and Allow wins a tie.
* and $ wildcards
* matches any sequence of characters and $ means “end of the URL”. So Disallow: /*.pdf$ blocks every PDF, while Disallow: /*.pdf would also block file.pdf.html.
Crawl-delay
Asks a crawler to wait between requests. Google ignores it. Bing and Yandex honour it. Use Search Console's crawl rate settings for Google instead.
Sitemap
An absolute URL to a sitemap. Not a rule and not a ranking factor, but it helps crawlers find pages that nothing links to.
Host and Clean-param
Yandex extensions. Google does not support them and ignores the lines entirely.

Common mistakes and how to fix them

The whole site is blocked
Symptom: nothing from your site appears in search. Cause: Disallow: / inside the * group. Fix: delete that line, or re-allow the paths you want crawled with a more specific Allow line — for example Allow: / followed by Disallow: /admin/.
A file with no User-agent line
Symptom: the file seems to be ignored. Cause: rules must sit inside a group that starts with User-agent:. Fix: add User-agent: * above your rules.
A rule that never applies
Symptom: a page is blocked even though you allowed it. Cause: the Disallow path is more specific than your Allow path, and the longest match wins. Fix: make the Allow path at least as long as the blocking one.
Trailing slash confusion
Disallow: /admin also covers /administrator, because robots.txt matches prefixes. Fix: write Disallow: /admin/ if you only mean that directory.

FAQ

What does robots.txt actually control?
Crawling, not indexing. A Disallow rule asks a crawler not to fetch a URL. It does not remove that URL from a search index — a page blocked in robots.txt can still appear in results as a bare link. To keep a page out of results you need a noindex directive on the page itself, via a meta robots tag or an X-Robots-Tag header.
Is a missing robots.txt a problem?
No. If the file is absent, crawlers assume they may crawl everything. A 404 response for /robots.txt is completely valid, and is what most small sites have. This tool reports that as a warning rather than an error so you know which case you are in.
Why does Google ignore my Crawl-delay?
Google does not support the directive and ignores it. It is still honoured by some other crawlers such as Bing and Yandex, so it is not useless — but do not expect it to slow Googlebot down. For Google, use crawl rate settings in Search Console.
Does adding a Sitemap line improve rankings?
It is not a ranking factor. It does help crawlers discover URLs that are not linked from anywhere else, which can matter on large sites. Think of it as discovery, not ranking.
Can this tool tell me if a page is indexed?
No. Indexing status lives only in Google Search Console. This tool reads the robots.txt file exactly as a crawler receives it and reports on that file only. It deliberately does not guess.
Why did it say the file could not be retrieved?
Your browser can only read a cross-origin page when the server allows it, so the tool falls back to public relay services. Those are frequently rate-limited or offline. The report lists every attempt it made, so you can see that this is a retrieval failure rather than a problem with your site. Retrying later often works.

Related tools

Sitemap Checker

Validate XML structure, URL counts and lastmod values in a sitemap file.

Open Tool

SEO Checker

Run robots.txt and sitemap checks together with on-page SEO analysis.

Open Tool

HTTP Status Checker

Confirm whether a URL really returns 200, and follow its redirect chain.

Open Tool