Skip to content

/ Free AI Tool

Robots.txt Generator

Manage your Disallow/Allow rules, sitemap references, and 20+ AI bot blocking settings in one form. Copy or download the output in one click.

One path per line. Wildcard (*) and $ (end anchor) are supported by Googlebot.

|

Check the bots you want to prevent from using your content for LLM training. 0 bots selected.

About This Tool

Why use this tool?

The Robots.txt Generator is a free tool that lets you build your site's crawler access rules through a simple form UI. Disallow/Allow paths, sitemap references, crawl-delay, and one-click blocking for 20+ AI bots.

If you want to stop AI bots (GPTBot, ClaudeBot, CCBot, Google-Extended, Bytespider, etc.) from using your content for LLM training, this is the tool to use — it's kept up to date with the latest bot list.

Copy the output in one click, or download it directly as a .txt file. Upload it to your server root (/robots.txt) and it takes effect immediately.

In-Depth Guide

How do you get the most out of this tool?

What Is It?

Why Block AI Bots?

Bots like OpenAI's GPTBot, Anthropic's ClaudeBot, and Common Crawl's CCBot scrape content across the internet to use for LLM training. Some content owners — news sites, course creators, paid content — are uncomfortable with this use.

Blocking these bots via robots.txt doesn't make it technically impossible for your content to be used as "free training data," but it's a signal that major model providers respect.

  • Protect premium content — stay out of training datasets
  • Robots.txt is voluntarily honored by most bots
  • A legal gray area — an explicit opt-out makes it easier to prove a violation
  • Google-Extended is a separate bot — you can block Bard/Gemini training without blocking Googlebot

How To

Wildcard and $ Characters

Googlebot and other major bots support the wildcard (*) and end-of-string ($) characters in robots.txt. Examples:

  • `Disallow: /*?` — block URLs containing a query string
  • `Disallow: /*.pdf$` — block only URLs ending in .pdf
  • `Allow: /public/` — re-open a subpath inside a directory blocked by another rule

Why It Matters

Common Disallow Patterns

Typical paths blocked on most sites:

  • /admin, /admin-panel — admin interfaces
  • /api/ — API endpoints (wastes crawl budget)
  • /cart, /checkout, /login, /register — auth/checkout flows
  • /*?utm — UTM-tagged URLs (duplicate content)
  • /cdn-cgi/ — Cloudflare internal paths

↕ Scroll up / down to read every section.

Who It's For

Is this tool right for you?

  • Website owners — basic robots.txt setup
  • SEO specialists — a quick template for client sites
  • Premium content creators — blocking AI bots
  • E-commerce editors — blocking checkout / filter URLs
  • Developers — blocking staging/test paths

Pro Tips

How the experts use it

  • Validate your robots.txt with the "robots.txt Tester" in Search Console
  • Always add a sitemap URL — it's the fastest way to point Google to your sitemap
  • If you're blocking AI bots, also check "Google-Extended" — this blocks Bard/Gemini training while Googlebot keeps crawling normally
  • Don't block your entire site (`Disallow: /`) — doing this in production will wipe your index
  • After changing a Disallow rule, click "refresh robots.txt" in Search Console

What To Watch For

Common mistakes and how to fix them

  • Mistake

    Accidentally blocking the entire site (`Disallow: /`)

    Fix

    Never put this line under User-agent: *. In production, it resets your indexing to zero.

  • Mistake

    Using robots.txt to hide sensitive content on a page

    Fix

    robots.txt doesn't block access — it only tells crawlers "don't read this." Sensitive content needs actual authentication.

  • Mistake

    Not including a sitemap line

    Fix

    Always add `Sitemap: https://domain.com/sitemap.xml` — it's the strongest signal you can give Google.

  • Mistake

    Using robots.txt instead of a noindex meta tag

    Fix

    Use a noindex meta tag to keep a page out of the index; robots.txt blocks crawling, but Google can still index a page it discovered via a link.

Frequently Asked

Questions people ask about this tool

  • Is it legal to block AI bots?

    Yes. Robots.txt is a legally recognized "terms of use" declaration. If it's violated, it can form a solid basis for legal action in some jurisdictions.

  • What's the difference between GPTBot and ChatGPT-User?

    GPTBot is OpenAI's crawler used for training. ChatGPT-User is a different bot that fetches a page's content when a user shares a link in a prompt. You may want to block both.

  • How long after uploading does robots.txt take effect?

    Googlebot updates within 24 hours. Other bots vary from 1-7 days. For urgent changes, you can manually request a "robots.txt refresh" in Search Console.

  • What does Crawl-delay do?

    It specifies the number of seconds a bot should wait between consecutive requests. Googlebot ignores this directive (it's configured in Search Console instead), but Yandex/Bing support it.

  • How do I optimize robots.txt for SEO?

    As part of our SEO Consulting service, we offer robots.txt + sitemap + indexing strategy planning.

SEO Panel Plans

All Tools, One Platform

Backlink analysis, organic search tracking and competitor monitoring — in our own panel, backed by expert interpretation and consulting support.

Basic

$19/mo · USD

Billed monthly · Cancel anytime

A core toolset for those getting started with SEO tracking.

1 Project30 Queries/DayCore SEO Tools

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool(Limited)
  • Site Audit(Limited)
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Basic
Most Popular

Pro

$39/mo · USD

Billed monthly · Cancel anytime

Full access to all SEO tools. The best fit for growing brands.

3 Projects200 Queries/DayFull Access

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Pro

Enterprise

$79/mo · USD

Billed monthly · Cancel anytime

Unlimited projects and full VIP support for agencies and large brands.

Unlimited ProjectsUnlimited QueriesVIP Support

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
  • Priority Support
  • Dedicated Consultant
Start with Enterprise

Monthly plans are re-billed every month. You can cancel anytime. Contact us for custom pricing.