Free Robots.txt Generator with AI Crawler Rules
Choose which of 17 search and AI crawlers to block, add paths and a sitemap, and copy the finished robots.txt. Everything runs in your browser.
Your robots.txt
Training crawlers and search crawlers are different
Several companies run more than one crawler. OpenAI uses GPTBot for training and OAI-SearchBot for search. Anthropic uses ClaudeBot for training and Claude-SearchBot for search. Google-Extended controls training use for Gemini and does not affect Google Search. If you want to stay visible in AI answers, block the training crawlers and leave the search crawlers alone.
What this file cannot do
robots.txt does not remove pages that are already indexed, and it does not hide content from a crawler that ignores it. To check what your live file allows today, use the AI crawler checker.
More free tools
- AEO checker: Score any page on 11 AI search readiness signals.
- llms.txt generator and validator: Write a valid llms.txt and check an existing one.
- FAQ schema generator: Turn questions and answers into FAQPage JSON-LD.
- AI crawler checker: See which AI crawlers your robots.txt allows or blocks.
- llms.txt validator: Paste an llms.txt and get every format error with its line number.
- Schema markup generator: Create JSON-LD for Organization, LocalBusiness, Article and Product.
Frequently asked questions
What is a robots.txt file?
A plain text file at the root of a website that tells crawlers which paths they may fetch. It lives at yoursite.com/robots.txt.
How do I block AI crawlers in robots.txt?
Add a group with the crawler's user agent and the line Disallow: /. This generator writes that group for every crawler you tick, for example GPTBot, ClaudeBot or Google-Extended.
Which AI crawlers should I block?
It depends on your goal. Training crawlers such as GPTBot, ClaudeBot, Google-Extended and CCBot collect text for model training. Search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot decide whether you can appear in AI answers. Blocking the second group can reduce your visibility there.
Does robots.txt stop a crawler for certain?
No. It is a request that well-behaved crawlers follow. A crawler that ignores it can only be stopped by a firewall or server rule.
Where do I put the file?
Upload it as robots.txt to the root folder of your site, then open yoursite.com/robots.txt in a browser. You should see the plain text.
Is the generator free?
Yes, without sign-up. The file is built in your browser and nothing is uploaded.