WolfSEO
Sign in Start free trial
3-day free trial

Free robots.txt checker

See a website's robots.txt, test any page against it, and find the line that is keeping Google out. Free, no sign-up.

10 checks an hour. A check can take up to half a minute.

How Google picks the rule

Google first picks the group of rules meant for it: a section naming Googlebot if there is one, otherwise the section for “*”. Within that group the longest matching rule wins, and when an Allow and a Disallow are equally long, Allow wins.

So “Disallow: /” followed by “Allow: /blog/” still lets Google crawl your blog. The order of the lines does not matter; their length does.

Blocking is not the same as hiding

robots.txt asks crawlers not to read a page. It does not remove the page from Google. A blocked address that other sites link to can still be listed, without a description.

To keep a page out of search results, let it be crawled and add a noindex tag. If you block it as well, Google cannot see the tag.

Questions

Does my website need a robots.txt file?

No. Without one, crawlers may read everything. It is still useful for naming your sitemap and for keeping crawlers out of pages with nothing to offer them, such as internal search results.

Where does the file have to be?

At the top of the site, for example https://yourwebsite.com/robots.txt. A file in a folder is ignored. Each subdomain needs its own file.

I fixed the file. When will Google notice?

Google usually refreshes its copy within about a day. You can ask for a fresh read in the robots.txt report in Search Console.

Can robots.txt protect private pages?

No. Anyone can read the file, and a crawler can ignore it. Put private pages behind a login.

Guides

More free tools