Skip to content
Access

Content signals in robots.txt: search, ai-input and ai-train

· 5 min read
Short answer

If you want to state how AI may use your content, add a line such as Content-Signal: search=yes, ai-input=yes, ai-train=no inside a User-agent group in robots.txt. Avoid search=no or ai-input=no unless you mean to opt out of search results and AI answers.

Why it matters

robots.txt says which URLs a bot may fetch. It does not say what the bot may do with the content afterwards. The Content Signals Policy, published by Cloudflare, adds a Content-Signal line that expresses that preference with three signals: search (building a search index and showing links and short excerpts, not AI-generated summaries), ai-input (feeding content into AI models at answer time, such as retrieval-augmented generation and grounding) and ai-train (training or fine-tuning models).

Each signal is yes or no. yes means the content may be collected for that use, no means it may not, and leaving a signal out neither grants nor restricts permission. The policy text describes restrictions as an express reservation of rights under Article 4 of EU Directive 2019/790.

Content signals are preferences, not enforcement. Cloudflare’s own documentation states that robots.txt compliance is voluntary and does not technically prevent access.

This check is Info only and does not change your score. We report whether your robots.txt contains a Content-Signal line and flag it as restrictive when a line in the * group or in an AI bot’s group sets search=no or ai-input=no, because that asks AI tools not to use your pages to answer questions.

How to fix it

  1. Decide your position on each use

    Most stores that want to be recommended by AI assistants choose search=yes and ai-input=yes. ai-train is the open choice; see AI training bots: allow or block.

  2. Add the line inside a user-agent group

    Place Content-Signal in the User-agent: * group so it applies to every crawler. Cloudflare’s managed robots.txt uses the same placement. You may keep the policy comment block above it so humans reading the file understand the terms.

    text
    # Content signals: search = index and link, ai-input = use in AI answers,
    # ai-train = train or fine-tune models. yes = allowed, no = not allowed.
    User-agent: *
    Content-Signal: search=yes, ai-input=yes, ai-train=no
    Allow: /
    Disallow: /checkout
    
    Sitemap: https://your-domain.com/sitemap.xml

  3. Back it with crawl rules if you need enforcement

    A signal does not block anything. If you also want to stop training crawlers from fetching pages, add a Disallow: / group for GPTBot, ClaudeBot, Google-Extended and CCBot. Keep both consistent: ai-train=no with training bots allowed sends a mixed message.

  4. If you use Cloudflare, review the managed file

    Cloudflare can manage robots.txt for you and by default puts a Content-signal line with search=yes and ai-train=no in the * group. Check the served file to make sure it matches the policy you chose, and that it does not add ai-input=no.

How to verify

  • Run the free check at citeto.com/check. The content signals item shows whether a line is present and whether it restricts search or ai-input.

  • Run curl -s https://your-domain.com/robots.txt | grep -i content-signal and confirm the values and that the line sits under the intended User-agent group.

Common pitfalls

  • Setting ai-input=no to stop training. That asks AI tools not to use your pages in answers; ai-train=no is the training signal.

  • Placing the line before any User-agent line, where it belongs to no group.

  • Treating a signal as protection. Bots that ignore robots.txt ignore content signals too.

FAQ

Their crawler documentation describes robots.txt user-agent rules as the control; none of the pages we cite documents support for Content-Signal. Treat it as a published statement of your terms and use user-agent rules for anything you need crawlers to obey.

Robots.txt field names are case-insensitive, so both work. Cloudflare’s examples use Content-signal; we match either spelling.

Under the policy, an omitted signal neither grants nor restricts permission for that use.

Sources

  1. [1]Cloudflare: Managed robots.txt and the Content Signals Policydevelopers.cloudflare.com
  2. [2]Content Signalscontentsignals.org
  3. [3]RFC 9309: Robots Exclusion Protocolrfc-editor.org
Content signals in robots.txt: search, ai-input and ai-train