HolicAudit

Free tool · No sign-up

Robots.txt checker and generator

Updated 2 November 2026

Enter a page address to fetch that site's robots.txt, test whether Googlebot (or any crawler you name) may crawl the page, and spot rules that block your whole site. Below the checker is a generator for a clean starter file.

We fetch only /robots.txt from the site you enter. Rules are matched in your browser. 20 checks an hour.

Robots.txt generator

How the test works

Crawlers read /robots.txt before anything else. The file is split into groups, each starting with one or more User-agent lines followed by Allow and Disallow rules. A crawler uses only the group with the most specific user-agent that matches its name, and falls back to the * group. Inside that group, the longest matching rule wins, and when an Allow and a Disallow rule are the same length, Allow wins. This tool follows those rules, which Google documents and which RFC 9309 standardised in 2022, including the * wildcard and the $ end-of-URL anchor.

Mistakes it catches

Blocking is not hiding

Disallow stops crawling, not indexing. A blocked URL can still appear in results if other sites link to it, just without a description. To keep a page out of Google, allow crawling and add a noindex robots meta tag, or protect it with a login. robots.txt is public, so never list private paths you'd rather nobody knew about.

AI crawlers

You can opt out of some AI training crawlers, such as GPTBot, CCBot and Google-Extended, with their own groups. Blocking Google-Extended doesn't affect Google Search rankings. The generator below adds those groups if you tick the box.

Frequently asked questions

Where does robots.txt have to be?

At the root of each host, for example https://example.com/robots.txt. A file at /blog/robots.txt is ignored, and each subdomain and protocol needs its own file.

Does Disallow remove a page from Google?

No. It stops crawling, but the URL can still be indexed from links. Use a noindex meta tag on a crawlable page to remove it.

How big can robots.txt be?

Google reads the first 500 KiB and ignores the rest.

How quickly does Google see changes?

Google usually caches robots.txt for up to 24 hours. You can ask for a faster refresh in Search Console's robots.txt report.