Free tool

Robots.txt generator for AI bots

Tick what bots may do and choose which AI bots to let in. The tool builds your robots.txt file as you type, and you copy the finished text to your website. It all runs in your browser.

General rules
AI bots

An allowed bot gets no block of its own and follows the general rules above. A blocked bot gets its own block with the rule Disallow: /.

    
        

    How to use it

    1. Leave the whole site allowed unless you have a reason not to. Blocking everything only makes sense for a site still under construction.
    2. Choose which AI bots to let in. Each one has a short description of what it is for.
    3. Add your sitemap address if you have one. Bots use it to find your pages faster.
    4. Copy the text and save it as a file called robots.txt in the root folder of your website. Then test it with the robots.txt checker for AI.

    What is the difference between a training bot and a search bot?

    Training bots collect texts that language models learn from. They include GPTBot, ClaudeBot, CCBot, Google-Extended and Applebot-Extended. If you block them, you are saying your content should not be used to train those models. Search bots look for pages an assistant can use when it answers, and may link to. They are OAI-SearchBot, Claude-SearchBot and PerplexityBot. The ChatGPT-User bot visits a page when a specific user asks for it in a conversation.

    The difference matters for businesses that want assistants to find them. Blocking search bots means fewer chances that an assistant finds you and names you as a source when it answers. Blocking training bots does not affect that. That is why the tool offers blocking the training bots as a single choice and leaves the search bots allowed. The official bot descriptions are in the documentation of their operators and change over time, so check them before you go live.

    Is robots.txt a lock that stops bots?

    No. It is a public file of requests that well-behaved bots follow. An unknown or malicious bot can ignore it. Never list addresses in it that are meant to stay secret, because you would give them away. Protect private parts of your site with a password. Also remember that blocking a page in robots.txt does not necessarily remove it from search results if other sites link to it. A noindex tag is what removes a page.

    What else should I know before uploading the file?

    First save a copy of your current file, if your site already has one. A mistake in robots.txt can block Google as well, so after uploading, open example.com/robots.txt in your browser and check that it shows exactly this text. Then wait for bots to fetch the file again, which can take a few days. Changing the rules does nothing for bots that have already collected your content.

    What else helps AI find your website?

    The robots.txt file is only the first step: it decides who may look at your site. After that it comes down to your content, titles and structured data. The llms.txt generator, the title and meta description checker and the website check can all help. To see whether an AI assistant mentions your business at all, try the free AI visibility test. For details about the file, read What is robots.txt, and for sitemaps, How to submit a sitemap to Google.

    Frequently asked questions

    Where do I put the robots.txt file?

    The file must sit in the root folder of your website, so that it is reachable at example.com/robots.txt. There is no point putting it in a subfolder, because bots do not look for it there. In WordPress you can upload it over FTP or create it in your SEO plugin settings. If someone else manages your site, send them the finished text.

    Does robots.txt stop bots from entering my site?

    No, it is only a request. Well-behaved bots, including those of the big search engines and AI companies, follow it. A malicious or unknown bot can ignore it. The file is also public, so never list addresses that contain confidential information in it. Protect anything sensitive with a password instead.

    What happens if I block all AI bots?

    Your pages may be less usable for AI assistants. Blocking search bots such as OAI-SearchBot and PerplexityBot means fewer chances that an assistant finds you and names you as a source when it answers. Blocking training bots only stops your content being used to train models, and it does not affect search.

    Does the tool send my file anywhere?

    No. The file is built only in your browser, and nothing is sent or stored. Copy the finished text and upload it to your website yourself. The tool uploads nothing to your server, changes none of your settings and needs no access to your site. You can test the rules afterwards in Google Search Console.

    Check your robots.txt

    The tool reads the file on your website and shows which AI bots are allowed and which are blocked. Free, no signup.

    Check robots.txt