Robots.txt generator

Choose what crawlers may read, and get a robots.txt file you can upload to your site.

Everyone else (User-agent: *)

One path per line, each starting with /. Up to 20 paths of 200 characters. Example: /admin/ or /*.pdf$

AI crawlers

Crawlers that index pages for answers

These build the index an assistant searches when it answers. A site they are kept out of is one the assistant cannot find or quote from its own index. Blocking leaves out Googlebot and Bingbot, because they are also the search engine's own crawler.

Fetches made when a person asks about a page

These run when someone gives an assistant a page address or asks it to look something up. Some operators say these fetches may not follow robots.txt.

Crawlers that collect pages for model training

Keeping these out is a legitimate choice, and it does not affect search.

The file is built from your choices in this request. Nothing is fetched from any site, and nothing you enter is kept.

What each choice writes

A crawler obeys only the most specific group that names it. That is why a blocked AI group does not inherit your path list: it is already blocked from everything. An allowed one follows your "everyone else" rules.

What it cannot tell you

Next

To read a robots.txt that is already live, use the robots.txt checker. For the whole site, run the full website check, or see all free tools.