Robots.txt Generator

Choose which crawlers can access your site — we'll generate the rules automatically.

Starter template
Search engines
3/3 allowed
  • GooglebotGooglebot
  • BingbotBingbot
  • SlurpSlurp
AI training crawlers
0/5 allowed
  • GPTBotGPTBot
  • ClaudeBotClaudeBot
  • CCBotCCBot
  • BytespiderBytespider
  • Meta-ExternalAgentmeta-externalagent
AI search crawlers
0/3 allowed
  • OAI-SearchBotOAI-SearchBot
  • Claude-SearchBotClaude-SearchBot
  • PerplexityBotPerplexityBot
AI usage controls (no crawler)
0/2 allowed
  • Google-ExtendedGoogle-Extended
  • Applebot-ExtendedApplebot-Extended
SEO crawlers
3/3 allowed
  • AhrefsBotAhrefsBot
  • SemrushBotSemrushBot
  • MJ12botMJ12bot
Social crawlers
2/2 allowed
  • TwitterbotTwitterbot
  • facebookexternalhitfacebookexternalhit
Other / data crawlers
0/4 allowed
  • AmazonbotAmazonbot
  • cohere-aicohere-ai
  • DiffbotDiffbot
  • ImagesiftBotImagesiftBot
Advanced rules
/wp-admin/
Next steps

Building a robots.txt that does what you intend

Start from a template, decide each crawler group, add the paths you don't want crawled, and copy or download the result. The preview updates as you change settings, so you can see every line before you ship.

Search, AI search, and AI training are separate decisions

GroupExamplesWhat blocking does
Search enginesGooglebot, BingbotRemoves you from that search engine over time — rarely what you want
AI searchOAI-SearchBot, Claude-SearchBot, PerplexityBotStops those assistants surfacing and linking your pages
AI trainingGPTBot, ClaudeBot, CCBotAsks those operators not to collect your content for model training
AI usage controlsGoogle-Extended, Applebot-ExtendedOpts out of AI training/grounding use; no crawler is blocked and search is unaffected

Before you deploy

  • Run the file through the Validator and fix any errors.
  • Test your most important URLs for Googlebot in the URL Tester.
  • Upload it as /robots.txt at the root of each host (https://example.com/robots.txt). Subdomains need their own file.
  • After deploying, analyze the live domain to confirm it serves 200 with text/plain.
Frequently asked questions
Is the generator free?

Yes, with no sign-up. Copy the output or download robots.txt.

Does blocking AI crawlers affect Google rankings?

Blocking AI training crawlers or Google-Extended does not affect Google Search, according to Google's documentation. Blocking Googlebot does.

Does robots.txt stop all AI crawlers?

It is a request to compliant crawlers, not access control. Operators that publish their crawlers say they honor it; others may not. Use server-side controls for content that must stay private.

Where do I put the generated file?

At the root of the host as /robots.txt. On WordPress, Shopify, or Next.js the method differs — see the platform guides.

More tools
Related guides