Robots.txt Generator (with AI Bot Controls)
Build a robots.txt file and choose which AI crawlers to allow or block.
About this tool
A robots.txt file tells crawlers which paths they may fetch. This generator adds per-bot rules for the major AI crawlers, so you can stay visible in AI search while opting out of model training where you prefer.
How to use it
- Add your sitemap URL and any paths to disallow for all bots.
- Set each AI crawler to Allow or Block.
- Copy the file to the root of your domain as /robots.txt.
Robots.txt Generator FAQ
Does robots.txt remove pages from Google?
No. It controls crawling, not indexing. Use noindex or authentication to keep a page out of the index.
Will blocking GPTBot hide me from ChatGPT search?
GPTBot is used for training data. OAI-SearchBot powers search results. They can be set separately, which is why this tool lists them individually.