AINew

ai.txt Generator

Generate ai.txt files for AI bot permissions

100% client-side — your data never leaves your browserNo data stored or uploadedFree for lifetime · No signup
Bot Rules
# ai.txt - AI Bot Access Policy
User-agent: GPTBot
Allow: /
User-agent: Google-Extended
Allow: /

What is ai.txt?

ai.txt is a proposed convention for declaring, in plain text at your site's root, which AI bots and crawlers you allow or disallow — and often why. It's designed specifically around AI model training and content-scraping permissions (bots like GPTBot, Google-Extended, CCBot, ClaudeBot), which is a distinct concern from general web crawling.

It's deliberately separate from robots.txt. robots.txt is the long-established, universally respected mechanism for controlling crawl access path-by-path; ai.txt layers on a human- and policy-readable statement of intent about AI training/use specifically, since not every bot that respects robots.txt directives distinguishes between indexing and training use.

When to use it

Publish one if you want an explicit, citable record of your position on AI training access — useful for publishers, blogs, and businesses that want to permit some bots (e.g. for search visibility) while blocking others (e.g. training scrapers), or that simply want a documented policy for legal/PR purposes. It's also useful if you've already added Disallow rules for AI bots in robots.txt and want a clearer, purpose-specific statement alongside them.

Note that ai.txt has no legal or technical enforcement power beyond what a given bot operator chooses to honor — treat it as a stated policy, not a technical block.

Example

Set Purpose to "We welcome AI search indexing but do not consent to model training on our articles," then add rules: GPTBot → Disallow, Google-Extended → Disallow, and a custom SearchBot → Allow. The generator outputs a commented ai.txt with a User-agent/Allow or Disallow block per bot and your contact line, ready to publish at your domain root.

How to use the ai.txt Generator tool

  1. 1

    State your purpose

    Write one or two sentences describing your overall AI access policy.

  2. 2

    Add bot rules

    List specific bots (GPTBot, Google-Extended, CCBot, etc.) and mark each Allow or Disallow.

  3. 3

    Add a contact

    Include an email so bot operators or curious visitors can reach you about the policy.

  4. 4

    Copy and publish

    Copy the generated ai.txt and save it at your site's root, or copy a permalink to keep working on it later.

Frequently asked questions

Will Disallow in ai.txt actually stop a bot from scraping?

Only if that bot's operator chooses to honor ai.txt, which is a voluntary convention with no technical enforcement. Reputable AI companies that publish crawler identities (OpenAI's GPTBot, Google's Google-Extended, Common Crawl's CCBot) generally document how they respect such signals, but there's no guarantee across the board.

How is ai.txt different from robots.txt?

robots.txt is the decades-old, widely-honored standard for controlling which paths any crawler may fetch. ai.txt is a newer, narrower convention focused specifically on declaring AI training/use permissions per bot, often alongside — not instead of — your robots.txt rules.

Which bot names should I include?

Common ones are GPTBot and ChatGPT-User (OpenAI), Google-Extended (Google's AI training signal, separate from Googlebot), CCBot (Common Crawl), ClaudeBot and anthropic-ai (Anthropic), and PerplexityBot. Check each vendor's published crawler documentation for their current user-agent string.

Is my input uploaded anywhere?

No. The file is generated entirely client-side from what you type — nothing is sent to a server until you publish it yourself.

Related on TechLogHub

Get the next tool before you need it

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.