Skip to content
TurnIntoCMS

Free tool

robots.txt generator for AI crawlers

Choose which bots get in, then copy the file.

AI crawlers to block

Content-Signal

robots.txt

User-agent: *
Content-Signal: search=yes, ai-input=yes
Allow: /

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

How to use it

  1. 1

    Tick the AI crawlers you want to block. Leave the rest to allow them.

  2. 2

    Add any paths no crawler should visit, such as /admin, and your sitemap URL.

  3. 3

    Pick Content-Signal values if you want to state how fetched content may be used.

  4. 4

    Copy or download the file and put it in your site's public folder as robots.txt.

AI companies now run several crawlers each: some for training, some for search answers, some that fetch a page when a user asks. This generator lists them by name and purpose so you can choose per bot, then adds your sitemap and an optional Content-Signal line.

Questions

Does blocking GPTBot or ClaudeBot remove me from ChatGPT or Claude answers?

Not fully. Each company runs separate agents. GPTBot and ClaudeBot collect training data, while OAI-SearchBot, Claude-SearchBot and PerplexityBot fetch pages for search answers, and ChatGPT-User, Claude-User and Perplexity-User fetch pages a person asks for. Block only the ones you mean to block.

Does blocking Google-Extended hurt my Google rankings?

No. Google says Google-Extended only controls whether your content is used to train and ground Gemini models. It does not affect inclusion or ranking in Google Search, which uses Googlebot.

What is the Content-Signal line?

Content-Signal is a robots.txt field from Cloudflare's Content Signals Policy. It states how you allow your content to be used after it is fetched: search for search results, ai-input for use in AI answers, and ai-train for model training. It expresses a preference; it does not block anything by itself.

Is robots.txt enough to keep a page out of Google?

No. robots.txt controls crawling, not indexing. Google can still list a blocked URL if other pages link to it. To keep a page out of results, let it be crawled and add a noindex meta tag or X-Robots-Tag header.

Where does the file go?

At the root of each host, for example https://example.com/robots.txt. In a Next.js or Vite project, put it in the public folder. A subdomain needs its own file.

Do all bots obey robots.txt?

Well-behaved crawlers from the companies listed here say they do. robots.txt is a request, not a lock, so use your host's firewall or bot rules for anything that must stay private.

Keep exploring

TurnIntoCMS

You have the code. Now you have a CMS.

Get started free