What this robots.txt does
robots.txt is a plain text file at the root of your website. Well-behaved crawlers read it before they visit your pages. This generator writes a rule group for the bots you allow and a separate group with Disallow: / for the bots you block.
Which preset should I pick?
- Allow AI search, block training is the best fit for most local businesses. You can still be cited in ChatGPT, Perplexity, Copilot and Google AI answers, while opting out of model training.
- Allow all AI bots gives you the widest reach, including training data.
- Block all AI bots keeps AI crawlers out completely. Only use it if you don't want to appear in AI answers at all. Googlebot is also unticked here, so tick it again if you still want normal Google Search.
Before you upload
Keep any rules your platform needs (for example WordPress's /wp-admin/), upload the file so it opens at yourdomain.com/robots.txt, then run the AI crawler checker to confirm the bots see what you expect. robots.txt is a request, not a lock: it doesn't hide private content.
Frequently asked questions
Does Google-Extended block AI Overviews?
No. Google-Extended only controls use of your content for Gemini training and grounding. AI Overviews and AI Mode use normal Googlebot crawling.
Will all AI companies follow robots.txt?
Major ones like OpenAI, Anthropic, Google, Perplexity, Apple and Microsoft say they respect it. Some smaller crawlers may not. Use firewall rules if you need a hard block.
Where do I put robots.txt?
In the root folder of your website, so it opens at https://yourdomain.com/robots.txt. A robots.txt inside a subfolder is ignored.