Free SEO Tool
Robots.txt Generator with AI Bot Controls
Build a valid robots.txt file in seconds. Control exactly which AI crawlers, training bots, and search engines can access your site - no coding needed.
Set your bot permissions and click Generate
Upload as a plain text file to https://yourdomain.com/robots.txt. Validate at search.google.com/search-console â†' Settings â†' robots.txt Tester.
What Is robots.txt?
robots.txt in the Age of AI Crawlers
robots.txt is a plain text file at the root of your website (/robots.txt) that tells crawlers which pages and directories they are allowed or forbidden to access. Every major search engine respects it - and so do most AI crawlers, including GPTBot, ClaudeBot, and PerplexityBot.
In 2023 and 2024, the list of bots crawling the web expanded dramatically as AI companies began training and serving large language models. Each has its own User-agent string. This tool lets you configure permissions for each bot individually, so you can allow AI answer engines (which bring referral traffic) while blocking AI training crawlers (which scrape content without attribution).
- Place the file at https://yourdomain.com/robots.txt - it must be in the site root
Disallow: /under a User-agent blocks that bot from your entire site- Blocking GPTBot prevents ChatGPT from citing your pages in answers - consider carefully before blocking
- CCBot (Common Crawl) feeds many LLM training datasets - block it if you do not want your content used for training
- robots.txt is advisory, not enforced. Malicious bots ignore it, but all reputable crawlers honour it
How to Use
How to Generate and Deploy Your robots.txt
-
1
Set Permissions for Each Bot
Toggle Allow or Block for each crawler. AI answer engines, AI training bots, and search engines are grouped separately for clarity.
-
2
Add Global Disallow Paths (Optional)
Block specific directories from all crawlers - common choices are /wp-admin/, /cart/, /checkout/, and /thank-you/.
-
3
Generate, Copy, and Deploy
Click "Generate robots.txt", copy the output, and upload it as a plain text file to your site root. Test it in Google Search Console → Settings → robots.txt Tester.
Learn More
The AI Crawler Landscape: Who's Crawling Your Site
AI answer crawlers vs. AI training crawlers
GPTBot and the citation trade-off
Combining robots.txt with llms.txt
FAQs
Robots.txt FAQs
Does blocking a bot in robots.txt actually work?
What happens if I block GPTBot?
Should I block CCBot?
Can I have multiple User-agent rules?
Do I need robots.txt if I use Yoast or Rank Math?
Is Your Site Visible to AI & Search?
Minineo scans your entire website for search and AI visibility. See how Google, ChatGPT, and Gemini are finding your pages and fix what’s holding you back.
Scan My Site Free →