Free · no sign-up · with Google's rules

Robots.txt tester, validator and generator

robots.txt is a text file at the root of your site that tells Google and other bots which parts they may crawl. Enter your site and a URL path: we tell you whether each bot can get in and which line decides.

How Google decides which rule wins

A robots.txt is made of groups: each starts with User-agent and is followed by Allow and Disallow rules. Google applies them like this:

The mistakes we see most

Is everything allowed and your site still isn't on Google? Read why your website isn't showing up on Google, and check your redirects with the redirect checker.

Frequently asked questions

Where does the robots.txt file go?

At the root of the domain: https://yoursite.com/robots.txt. In a folder (/blog/robots.txt) it does nothing. Each subdomain needs its own.

Does blocking a page in robots.txt remove it from Google?

No. If other sites link to it, Google can still show it, without a description. To keep it out, let Google crawl it and add a robots meta tag with “noindex”.

What happens if I don't have a robots.txt?

Nothing bad: if it returns 404, Google assumes it can crawl everything. The dangerous case is a server error (5xx): Google then stops crawling your site while it lasts.

Does Google respect Crawl-delay?

No. Bing and Yandex do, but Google adjusts its own speed. If Googlebot overloads your server, the server can answer 503 or 429 for a while.

Should I block ChatGPT and other AI bots?

It's up to you. If you block them (GPTBot, ClaudeBot, Google-Extended…), they don't use your content, but they also won't recommend or cite you when people ask them. Blocking Google-Extended doesn't remove you from Google Search.

Why does this tester say something different from another tool?

Many tools apply the first rule that matches. Google doesn't: the longest matching rule wins and, on a tie, the one that allows. This tester follows Google's rules.

Getting Google to see you is step one. Step two is getting found.

With SEOClave you see how many people search each keyword on Google, how hard it is to rank and who's in today's top 10, with real data for your country. Sign up and get 5 free credits.

More free SEO tools