Skip to content
CoolTools24

robots.txt generator

Create a robots.txt file with rules for crawlers and AI bots.

Runs in your browser – your files are not uploaded

How to use robots.txt generator

  1. 1

    Enter the user agents and the paths to disallow or allow.

  2. 2

    Add more groups or the AI crawler block if needed, and list your sitemap URLs.

  3. 3

    Download robots.txt and upload it to the root of your domain.

About robots.txt generator

The robots.txt file tells search engines and other crawlers which parts of your site they may visit. This generator lets you create rule groups for one or more user agents, with Disallow and Allow paths and an optional crawl delay, and adds your sitemap URLs at the end.

A shortcut adds a group that blocks well-known AI training crawlers such as GPTBot, ClaudeBot, CCBot, Google-Extended and PerplexityBot. The result can be copied or downloaded as robots.txt.

Frequently asked questions

Does robots.txt hide pages from Google?

Not reliably. A disallowed page can still be indexed if other sites link to it. To keep a page out of search results, use a noindex meta tag and let crawlers access it.

Do all bots respect robots.txt?

No. Major search engines and most AI companies follow it, but it is voluntary. Malicious scrapers ignore it, so it is no replacement for access control.

Is the list of AI crawlers complete?

No. It covers five widely used crawlers. New bots appear regularly, so check their documentation and add user agents as needed.