On this pageWhat goes in an llms.txt file?

What Is an LLMs.txt File and How Does It Relate to Consent: A Practical Decision Framework

Xtrusio9 min read

Short answer

An llms.txt file is a Markdown guide that points AI tools to a site's most useful public pages. It is not a consent record or a permission setting. Keep crawler choices in supported robots.txt tokens, and keep reuse rights and privacy decisions in the terms and records designed for them.

Xtrusio control map showing that llms.txt provides context but does not provide consent, crawler control, access security, reuse rights or privacy permission

A documentation owner hears that every site now needs an llms.txt file. The first question is practical: if she publishes one, has she also agreed to AI training or reuse?

No. The file helps an AI tool find good public material. It does not open private pages, grant a blanket license or record a person's consent. The clearest way to see the difference is to open real files and compare them with the controls that handle access and crawler preferences.

What goes in an llms.txt file?

The llms.txt proposal describes a Markdown file added to a website to provide LLM-friendly content. It can sit at the site root or at a path that covers the pages below it.

The only required section is an H1 containing the project or site name. A blockquote can summarize the project. Further headings group Markdown links, with optional notes explaining each destination.

The proposal's own file starts like this:

# llms.txt

> A proposal that those interested in providing LLM-friendly content add a /llms.txt file to their site.

Source: llmstxt.org/llms.txt, viewed 29 October 2026.

Think of the file as a curated contents page for an agent. It tells the agent where useful material lives. The agent still has to fetch those pages, and every destination keeps its own access rules.

Real llms.txt examples from named sites

Real files differ because each site has a different job for the agent. These four examples show the range.

Stripe adds current integration instructions

The opening lines make the file's job clear.

# Stripe Documentation

When installing Stripe packages, always check the npm registry for the latest version rather than relying on memorized version numbers.

Stripe uses its opening to correct a practical failure mode: agents relying on an old package version.

Source: Stripe llms.txt, viewed 29 October 2026.

Cloudflare splits a large library by product

The opening gives the library a short front door.

# Cloudflare Developer Documentation

Explore guides and tutorials to start building on Cloudflare's platform.

Cloudflare keeps the root file short, then sends the reader to a separate llms.txt index for each product.

Source: Cloudflare llms.txt, viewed 29 October 2026.

Vercel adds instructions for agents

The opening defines the platform before the file gives agents instructions.

# Vercel

> Vercel is a cloud platform for building, deploying, and scaling web applications and AI workloads.

Vercel follows its short description with separate instructions for research, API calls and account changes.

Vercel llms.txt file displayed in a browser with its guidance for agents
Vercel's live llms.txt file in a signed-out browser on 29 October 2026. Open the file.

The proposal site demonstrates the basic pattern

The next lines show how the proposal site groups its own links.

## Docs

- [llms.txt proposal](https://llmstxt.org/index.md): The proposal for llms.txt
- [Python library docs](https://llmstxt.org/intro.html.md): Docs for `llms-txt` python lib
- [ed demo](https://llmstxt.org/ed.md): Example showing how an editor could use llms.txt

Docs

The proposal site chooses a small grouped index rather than detailed agent instructions.

Source: llmstxt.org/llms.txt, viewed 29 October 2026.

Xtrusio's own file and a template you can copy

The live file begins with a plain product definition.

# Xtrusio

> Xtrusio connects AI answer evidence to content, placements and exact-page citation wins.

Xtrusio uses the opening to define the product, then points agents to the overview, research and published article indexes.

Source: Xtrusio llms.txt, viewed 29 October 2026.

Here is a small fictional file using reserved example.com addresses. Replace the links with public pages your team has approved.

# Example Docs

> Public setup and security documentation for Example Docs.

## Guides

- [Getting started](https://example.com/getting-started.md): Public setup steps.
- [Security overview](https://example.com/security.md): Public security facts.

## Optional

- [Release notes](https://example.com/releases.md): Dated product changes.

This template is our example, based on the proposal's structure. A link in the file means “this page may be useful.” It does not mean “every use of this page is allowed.”

Suggested wording you can adapt: “This index points to public resources. It does not replace access controls, license terms, privacy decisions or provider-specific crawler preferences.” This is suggested wording, not a tested legal clause.

Do AI engines actually read llms.txt?

Do not assume that publishing the file guarantees support. The OpenAI, Google and Anthropic crawler pages describe robots.txt controls, but those pages do not state that the providers use llms.txt. Treat the file as a public guide that an agent may fetch, then measure what happens on your own questions.

Consent needs a subject, a purpose and a record of the choice. An llms.txt file has none of those fields. It is public navigation written by a site owner.

The UK's ICO guidance says valid consent must be freely given, specific, informed and unambiguous, with records that demonstrate the choice. A site owner's Markdown index does not demonstrate that choice for each person whose information appears on the site. Consent is not the only possible lawful basis for processing.

The ICO says this guidance is under review after UK legislative changes, so check the current page before making a real decision. This article is a practical framework, not legal advice.

The same distinction applies to robots.txt. The Robots Exclusion Protocol standard says its rules are not access authorization. A compliant crawler can read and follow those preferences, but the file is not a security wall or a complete statement of legal rights.

Use llms.txt to describe public information. Use real authentication to protect private material. Put contractual reuse conditions in your site terms, and keep privacy consent in the system that records the person's choice.

Where permission and crawler choices really live

Use the control that matches the decision. Navigation, crawling, contracts and personal-data consent are separate jobs.

Control

What it does

Does it record consent?

Use it for

llms.txt

Points an AI tool to useful pages

No

Curated public context

robots.txt

Communicates crawl rules to compliant automated clients

No

Crawler access preferences

Authentication and authorization

Decides who can open restricted pages

No

Private, customer and licensed material

GPTBot

Controls OpenAI's training crawler setting

No

OpenAI training preference

OAI-SearchBot

Controls OpenAI search crawling separately from GPTBot

No

OpenAI search visibility

Google-Extended

Controls specified Gemini training and grounding uses

No

Google AI use preference

Site terms and agreements

State the publisher's contractual conditions

Not by themselves

Reuse conditions and responsibilities

Privacy consent record

Records a person's choice for a stated purpose

Yes, when properly collected

Personal-data processing decisions

Sources: Robots Exclusion Protocol, OpenAI crawler documentation, and Google crawler documentation. The consent column is our practical classification.

OpenAI documents separate settings for OAI-SearchBot and GPTBot. A site can allow search crawling while disallowing the training crawler. Google describes Google-Extended as a separate product token for specified Gemini training and grounding uses.

Purpose

OpenAI agent

Anthropic agent

Search discovery

OAI-SearchBot

Claude-SearchBot

Model development

GPTBot

ClaudeBot

User-directed retrieval

ChatGPT-User

Claude-User

OpenAI says robots.txt rules may not apply to ChatGPT-User because the request is initiated by a user. Anthropic says its bots honor robots.txt and that blocking Claude-User prevents retrieval in response to a user query. Do not copy one provider's user-fetch rule into another provider's policy.

A future training-crawler preference is not evidence that material collected earlier has been removed. Keep that question separate from future crawl choices.

Google says a crawler must be allowed to access a page before it can read a noindex directive on that page. Have the responsible engineer check the combination instead of stacking a crawl block and noindex without testing.

Sources: OpenAI crawler documentation, Anthropic bot documentation, and Google robots meta documentation.

Those provider controls can change, so read the current documentation before editing production rules. Do not use one generic “AI allowed” decision for every crawler and purpose.

A practical approval decision

Start with the page, not the file. Ask whether the destination is public, current and approved for an external reader. Then decide whether it belongs in the curated guide.

  1. List the intended public pages. Leave out customer records, internal manuals and licensed material.
  2. Check each destination. Confirm that the page and any Markdown copy contain the same approved facts.
  3. Choose crawler settings separately. Decide search and training preferences for each documented token.
  4. Record the owner and date. Keep a short approval note so the next editor knows why each link is there.
  5. Review the file after site changes. Remove dead links and replace outdated summaries.

A useful approval note can be short: purpose, approved URLs, owner, crawler preferences and review date. The note belongs in your governance record, not in llms.txt itself.

Fictional planning example: a software company wants agents to understand its public product documentation while keeping customer records private.

  • Public integration guide: include the maintained public URL after the documentation owner checks its facts, assets and intended public access.
  • Customer-only support ticket: exclude the URL and exported text. The security owner verifies authorization on the ticket and attachments.
  • Customer case study awaiting approval: hold it until the customer and rights owners approve the facts, names and uses.
  • Licensed material: keep the report out of the file and any public export. The rights owner checks whether linking or republication is permitted.

In this example, the approval note could say that its purpose is to help agents find public integration documentation and its scope is the approved documentation links only. The documentation lead owns it. Security confirms that customer tickets and attachments require authorization. The engineer records each provider's search, training and user-fetch decision. Customer stories and licensed material stay out until their owners clear them. A change in content classification, reuse purpose or provider controls triggers a review.

Save the approved URL list, file version and decision date with that note. Removing a link from llms.txt does not delete the destination page, its copies or material already fetched elsewhere.

What can you measure after publication?

A server log can show that a client requested the file. A saved AI answer can show which page the answer cited. Neither observation proves that llms.txt caused the result.

For an honest before-and-after check, keep the same questions, engines and settings. Save the answers and cited URLs before publishing, then repeat the sample later. Xtrusio can preserve those dated answers and sources so the team can compare the same question over time.

Saved ChatGPT citation list showing two Xtrusio pitch-deck URL variants; private client paths blurred
An existing Xtrusio record shows two variants of a public pitch-deck URL. Private client paths are blurred. Inspected September 2026.

This record proves only what the saved response contained: the question, cited URLs and one item in the available history. It does not prove that llms.txt was read, that the file caused the citation or that permission was granted.

Publish llms.txt when a curated public guide will help an agent navigate your site. Keep permission, security and privacy decisions with the controls and owners responsible for them.

Get your free AI visibility check.

Frequently asked questions

Does publishing llms.txt give AI companies consent to use a website?

No. Publishing llms.txt makes a curated guide publicly fetchable. It does not create a universal license, privacy consent record or authorization for every downstream use.

Can llms.txt opt a website out of AI training?

No. Use the controls documented by each provider, such as a supported robots.txt user-agent rule, and review applicable contracts, licenses and law. llms.txt is not an opt-out mechanism.

Is robots.txt the same as legal consent?

No. Robots.txt communicates crawler access preferences to compliant automated clients. RFC 9309 explicitly says its rules are not access authorization, and legal rights or privacy obligations require separate analysis.

Can a private page be listed in llms.txt?

It should not be. llms.txt is public and can reveal a URL even when another control blocks retrieval. Keep confidential, personal, licensed or security-sensitive destinations out of the file and protect them with real access controls.

How should a company measure the effect of llms.txt?

Preserve a dated baseline of relevant questions, answers and cited URLs before publishing. Repeat the same sample later and report any change as an observation within that test, not as proof that llms.txt caused it.

Do OpenAI, Google or Anthropic say they use llms.txt?

Their crawler pages describe robots.txt controls, but none states that the provider uses llms.txt. Support can change, so read the provider documentation and test your own questions.

Official sources

These primary pages show the file format, the real examples and the crawler controls discussed above.

Last checked: 29 October 2026.

Topics

  • llms.txt consent
  • what is llms.txt
  • llms.txt privacy
  • llms.txt robots.txt
  • AI crawler consent

Xtrusio

AI visibility research

Xtrusio is the Perception Engine for B2B brands.