Skip to content
Free tool

Robots.txt generator with AI crawler controls.

Choose which crawlers may visit your site and get a robots.txt file to copy. Search crawlers are on by default, because blocking them takes you out of Google, Copilot, ChatGPT search or Perplexity. Training crawlers are a separate choice.

Search crawlers

Blocking one takes you out of that search engine or assistant.

Training crawlers

They collect pages to train AI models. Blocking them doesn’t affect search.

One per line, starting with /. Leave empty to allow everything.

About this tool

How to use the file

Copy the result into a plain text file named robots.txt at the root of your site, so it loads at yourdomain.com/robots.txt. Most website builders and SEO plugins have a robots.txt editor; paste it there instead if yours does. Then run it through our robots.txt checker to confirm each crawler is treated as you meant.

Why the training crawlers are separate

OpenAI, Anthropic, Google and Common Crawl each give their training crawler its own name. Blocking GPTBot, ClaudeBot, Google-Extended or CCBot keeps your pages out of future training data without affecting search: OpenAI says blocking GPTBot doesn’t affect ChatGPT search, and Google says Google-Extended doesn’t affect Google Search.

Questions

At the root of your domain, so it loads at https://yourdomain.com/robots.txt. Crawlers only look for it there, and each subdomain needs its own file.

Yes. A Sitemap line tells every crawler where your sitemap is, including ones you haven’t submitted it to directly. Add the full address, starting with https://.

Google usually rereads robots.txt within a day, and OpenAI says changes for its crawlers can take about 24 hours. Perplexity gives the same estimate for its bots.

Read more

Find out where you rank today.

Send us your website and we will reply with a free audit: what is holding you back and what we would fix first.

Get my free audit