Toolibra

Robots.txt Generator & Tester

Use this robots.txt generator to create a correct file in a minute: choose what search engines may crawl, block AI crawlers with one click, and add your sitemap. Then test any URL to see if a bot such as Googlebot is allowed, using Google's own matching rules.

🔒 Your files are processed on your device and are never uploaded.

How to use

  1. 1Choose allow or block, and add paths or presets.
  2. 2Optional: block AI crawlers and add your sitemap URL.
  3. 3Download robots.txt and upload it to your site's root. Test URLs at the bottom.

Frequently asked questions

Does robots.txt hide a page from Google?

Not always. It stops crawling, but a blocked page can still appear if other sites link to it. To keep a page out of Google, use a noindex meta tag and let it be crawled.

How does the tester decide?

Like Google: the most specific (longest) matching rule wins, and if Allow and Disallow are equally long, Allow wins. * matches anything and $ marks the end of the URL.

Which AI crawlers are blocked?

GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-User, anthropic-ai, Google-Extended, Applebot-Extended, CCBot, PerplexityBot, Bytespider, meta-externalagent, Amazonbot and cohere-ai.

More free tools