robots.txt Generator

Processed locally

Control GPTBot, ClaudeBot, Google-Extended, PerplexityBot, and more. Generate or validate. Free and private.

Rules

CMS quick paths

robots.txt preview

# robots.txt generated by Instant Tools
# https://instanttools.io/tools/robots-txt-generator
#
# Tip: publish an llms.txt for AI assistants (/llms.txt).
# Generator: https://instanttools.io/tools/llms-txt-generator
#
User-agent: *
Disallow: /admin/
Disallow: /api/private/
Disallow: /checkout/

User-agent: GPTBot
Disallow: /

User-agent: ChatGPT-User
Disallow: /admin/
Disallow: /api/private/
Disallow: /checkout/

User-agent: OAI-SearchBot
Disallow: /admin/
Disallow: /api/private/
Disallow: /checkout/

User-agent: ClaudeBot
Disallow: /

User-agent: anthropic-ai
Disallow: /

User-agent: Claude-Web
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

User-agent: PerplexityBot
Disallow: /admin/
Disallow: /api/private/
Disallow: /checkout/

User-agent: Bytespider
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: meta-externalagent
Disallow: /

User-agent: FacebookBot
Disallow: /

User-agent: meta-externalfetcher
Disallow: /

User-agent: cohere-ai
Disallow: /

Sitemap: https://example.com/sitemap.xml

Live check of generated file

Score 100/100: Parsed OK: 4 AI bot(s) allowed/partial, 8 blocked.

AI bot status

BotStatusDetail
GPTBot
OpenAI
blockedBlocked via User-agent: GPTBot
ChatGPT-User
OpenAI
partialAllowed via User-agent: ChatGPT-User (some paths disallowed)
OAI-SearchBot
OpenAI
partialAllowed via User-agent: OAI-SearchBot (some paths disallowed)
ClaudeBot
Anthropic
blockedBlocked via User-agent: ClaudeBot
Google-Extended
Google
blockedBlocked via User-agent: Google-Extended
Applebot-Extended
Apple
blockedBlocked via User-agent: Applebot-Extended
PerplexityBot
Perplexity
partialAllowed via User-agent: PerplexityBot (some paths disallowed)
Bytespider
ByteDance
blockedBlocked via User-agent: Bytespider
CCBot
Common Crawl
blockedBlocked via User-agent: CCBot
Amazonbot
Amazon
partialAllowed via User-agent: * (some paths disallowed)
meta-externalagent
Meta
blockedBlocked via User-agent: meta-externalagent
cohere-ai
Cohere
blockedBlocked via User-agent: cohere-ai

How to Use

  1. 1Choose a preset that matches your goals (citations vs training scrape).
  2. 2Set Sitemap and Disallow paths for private areas.
  3. 3Override individual AI bots (Allow / Block / Inherit).
  4. 4Download robots.txt to your site root and re-check in Validate mode anytime.

Common policies

Publisher site

Block GPTBot + Google-Extended · allow search bots

Limits training scrapes while keeping Google Search intact.

Docs / open source

Allow most AI bots · Disallow /admin

Maximize discovery; still hide private paths.

Tips

  • •Googlebot ≠ Google-Extended: you can keep Search while opting out of Gemini training.
  • •After changing robots.txt, use Bing/Google URL inspection and IndexNow for faster recrawl.
  • •Publish /llms.txt so preferred pages stay discoverable even when some bots are blocked.
  • •Never put secrets behind Disallow alone. Use authentication.

Frequently Asked Questions

What does this robots.txt generator do?

It builds a robots.txt with sitemap and path rules, plus explicit Allow/Disallow blocks for major AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, and more). You can also paste an existing file to validate syntax and see which AI bots are allowed or blocked.

Does blocking GPTBot hurt my Google rankings?

No. GPTBot and Googlebot are different. Blocking GPTBot does not block Google Search. Google-Extended controls Gemini/Vertex training use of your content. It is also separate from Googlebot.

Is robots.txt a security boundary?

No. Compliant crawlers honor it; malicious scrapers can ignore it. Keep private data behind auth. Don’t rely on Disallow alone.

How does this relate to llms.txt?

robots.txt controls crawling. llms.txt helps AI systems find the pages you want them to cite. Use both: block unwanted training bots in robots.txt, then publish an llms.txt for the content you do want surfaced.

Does my robots.txt leave the browser?

No. Generation and validation run in your browser.

Is it free?

Yes. No signup and no watermark on downloads.