robots.txt for AI Bots
Generate a robots.txt block to stop the major AI bots (GPTBot, ClaudeBot, CCBot and more) from training on your content. Copy and paste it into your site.
robots.txt
—
Telling AI crawlers to stay out
You realised your writing may be feeding model training and you want that refusal on record. The usual place for it is robots.txt, at the root of your domain. Toggle four targets on or off here: OpenAI's GPTBot, Anthropic's ClaudeBot along with the older anthropic-ai name, Common Crawl's CCBot, and Google-Extended. Each crawler you keep produces two directives, a User-agent line and a Disallow slash line.
robots.txt is a request, not a wall. It works on whoever chooses to honour it, and every company names its crawlers differently. Google-Extended does not remove you from Google Search: it signals only that your content should not feed Gemini training and answers. Blocking CCBot does not erase what Common Crawl archived in earlier passes. And the live fetchers that run when a user asks a question go by names other than these four.
The file lives at yoursite.com/robots.txt and every directive needs its own line: User-agent on one, Disallow on the next, a blank line between blocks. Add the snippet to the robots.txt you already have, without deleting existing rules or the Sitemap line. After deploying, open the address in a browser and read it back. Stopping crawlers that ignore the file is a server or CDN job. The assembly happens in your browser.
Frequently asked questions
Will blocking these bots hurt my Google rankings?
What if a crawler just ignores robots.txt?
Can one Disallow rule cover every AI bot?
Related Tools
robots.txt Generator
Generate a robots.txt file for your site, setting User-agent, Allow/Disallow rules and the sitemap link. Control what search engines crawl and index.
Meta Tag Builder (OG + Twitter)
Builder focused on Open Graph and Twitter Cards. Preview a share card before publishing.
Link License Builder
Build the <link rel="license"> tag declaring the content license.
Meta Robots vs X-Robots-Tag Comparator
Compares meta robots and X-Robots-Tag directives and shows which one prevails for crawlers in each combination.
HowTo Rich Snippet Builder
Build a basic HowTo JSON-LD schema describing a single-step procedure.
FAQ Rich Snippet Builder
Build a basic FAQPage JSON-LD schema with one Q&A pair.