robots.txt Generator: Block GPTBot and Other AI Crawlers

robots.txt Generator: Block GPTBot and Other AI Crawlers

Build a robots.txt that blocks GPTBot, ClaudeBot and 14 other AI crawlers one by one, then test any URL against each bot before you publish the file.

Updated November 2026

Reviewed by Rafael Duarte

No sitemap URL configured. Adding a sitemap improves crawl coverage.
AI Agent Controls

Training (LLMs)

G

GPTBot

OpenAI

G

Google-Extended

Google

a

anthropic-ai

Anthropic

C

CCBot

Common Crawl

B

Bytespider

ByteDance

A

Applebot-Extended

Apple

A

Amazonbot

Amazon

c

cohere-ai

Cohere

C

ClaudeBot

Anthropic

M

Meta-ExternalAgent

Meta

F

FacebookBot

Meta

Browsing & Real-time

O

OAI-SearchBot

OpenAI

C

ChatGPT-User

OpenAI

C

Claude-SearchBot

Anthropic

C

Claude-User

Anthropic

P

PerplexityBot

Perplexity

Checked = allow crawling. Unchecked = Disallow: / injected for that User-agent.

Global Rules (User-agent: *)

Allowed Paths

Blocked Paths

seconds (ignored by Google)
URL Tester
llms.txt
NEW 2025

Generate a context file for AI systems — the emerging standard for AI-friendly site documentation.

Raw Output Preview
# robots.txt generated by Quick Tools — https://quickeasy.tools
 
User-agent: *
Allow: /

How to use this robots.txt generator

From a template to a tested, ready-to-deploy file

1. Pick a template

Blog, E-commerce, SaaS, Enterprise, or News — each one pre-fills the rules that site type needs most.

2. Configure the AI bots

Allow or block each of the 16 AI crawlers individually, or flip "Block All" to disallow every one at once.

3. Test a URL and export

Check whether a path would be allowed or blocked before you copy or download the final robots.txt.

What this robots.txt generator does

Built for the era of AI crawlers, not just search engines

16 individual AI bot toggles

GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Bytespider and more, each with its own checkbox, split into training and browsing groups. Everything starts allowed; uncheck a bot to block it.

Built-in URL tester

Enter any path and user-agent to see whether it's allowed or disallowed, plus the exact rule and line number that decided it.

llms.txt generator

Create the emerging llms.txt file alongside your robots.txt to describe your site to AI systems in plain language.

Site-type templates

Blog, E-commerce, SaaS, Enterprise, and News presets fill in the disallow paths each site type typically needs.

Compare with your published robots.txt

Under Fetch Live, enter your domain and click Fetch. The browser usually can't read another site's file directly, so the tool offers a link to open yourdomain.com/robots.txt and a box to paste its content. Then click Diff to compare it line by line with your draft before you replace it.

Real-time validator

Catches accidental full-site blocks, missing sitemaps, malformed paths, and duplicate user-agent blocks as you type.

Rule examples

How common paths resolve once the file is generated

User-agent / Path
Result
Googlebot / /admin/
Blocked (Disallow: /admin/)
GPTBot / /blog/post-1, with GPTBot unchecked
Blocked (Disallow: / for that bot)
* / /?s=search, Blog template
Blocked (Disallow: /?s=)
Bingbot / /about
Allowed — no matching rule

When you'll reach for this tool

The scenarios that come up most often

Blocking faceted navigation

E-commerce sites generate near-duplicate URLs from filters and sorting — disallow /*? patterns to stop them from burning crawl budget.

Shielding the admin panel

Add a Disallow rule for /admin/ and /wp-login.php as a courtesy to crawlers, on top of real authentication, not instead of it.

Declaring your sitemap

List the sitemap URL so every crawler that respects robots.txt can discover your pages automatically.

Keeping content out of AI training data

Publishers block GPTBot and CCBot, and opt out with the Google-Extended token, to keep original content from feeding future model training.

Common mistakes

Small robots.txt errors with outsized consequences

Blocking pages you actually want indexed

Disallow: /blog/ stops Googlebot from crawling your entire blog. Only disallow what genuinely shouldn't be crawled.

Confusing crawling with indexing

A blocked URL can still show up in search results if other sites link to it. Use a noindex meta tag when the goal is to keep a page out of results entirely.

Forgetting the trailing slash

Disallow: /admin blocks everything that starts with /admin — including /admin/, /administrator and /admin.php. Use Disallow: /admin/ to limit it to the folder, or $ to anchor the end (Disallow: /admin$).

Why use this robots.txt generator

Most robots.txt generators still treat AI crawlers as an afterthought, if they mention them at all. This one gives you individual control over 16 named AI bots — split by whether they scrape for training data or for live search results — instead of one generic "block all AI" checkbox.

The built-in URL tester removes the guesswork: you confirm a rule behaves exactly as intended before you publish. Paste your current robots.txt and the Diff view shows what changes compared with the file that's already live, so you don't overwrite a rule you forgot about.

Training crawlers vs. browsing crawlers

Not every AI bot serves the same purpose

Training crawlers
Browsing crawlers
Examples
GPTBot, ClaudeBot, CCBot (plus the Google-Extended token, which is not a crawler)
OAI-SearchBot, PerplexityBot, Claude-SearchBot
Purpose
feed data into future model training
power real-time AI search answers
Sends referral traffic
no
sometimes, via citations

Frequently asked questions

Add a separate User-agent block with Disallow: / for each crawler you want to exclude — there's no single wildcard that targets "all AI bots" and nothing else. This generator's "Block All" toggle does exactly that for its full list of 16 known AI crawlers in one click.

References

Related Tools