What Is an LLMs.txt File and How Does It Relate to Consent: A Practical Decision Framework
Short answer
An llms.txt file guides an agent to useful public information. Publishing it does not, by itself, record a person's consent, grant a blanket reuse license or secure private content. Decide separately what may be discovered, fetched, indexed, reused and processed as personal data.

The practical rule is to use llms.txt for context and keep permissions in the controls designed for them. A file that points to your documentation should not become an accidental company-wide declaration that every use of every page is permitted.
What does llms.txt actually do?
The llms.txt v2 proposal describes a Markdown guide containing a site or project name, optional explanatory text and links to further information. Markdown is plain text with simple formatting. The guide helps an agent choose what to read next; it is not a permissions database.
An agent still needs to fetch the linked content. The file does not authenticate the requester, unlock a customer portal or prove that a provider has agreed to your terms. Nor does publishing it guarantee that a search system will use or cite it.
Your decision | Relevant control | Role of llms.txt |
|---|---|---|
Which public pages help an agent? | Curated links and clear content | Navigation and context |
Which automated crawlers should fetch? | Provider-supported robots.txt preferences | Not a crawler opt-out |
Who may access restricted material? | Authentication and authorization | No security boundary |
What copying or reuse is permitted? | Applicable law, licenses and contracts | No blanket permission by itself |
How may personal data be processed? | Purpose, legal basis and privacy controls | Not a person's consent record |
“Public” answers whether material is available. It does not settle every question about how someone may use it. Equally, a notice cannot by itself technically prevent a non-compliant visitor from fetching an unprotected page.
Why is a public file not a consent record?
Consent in privacy law concerns a person's choice about processing their data. It is different from a publisher deciding which documentation to expose to an agent.
For example, the UK's ICO guidance on valid consent explains the need for a freely given, specific, informed and unambiguous choice, with records demonstrating consent. A website owner's Markdown index does not demonstrate that choice by each individual whose information appears on the site. Consent is not the only possible legal basis for processing.
The ICO page is under review following UK legislative changes, so check the current guidance when making an actual decision. This article provides a practical governance framework, not a legal opinion. Your privacy or rights adviser should assess the jurisdiction, data, purpose and proposed reuse.
Even robots.txt is not a security system. RFC 9309 says its rules are not access authorization. Naming a private path in a public file may make the path easier to discover. Protect the content itself rather than relying on an obscure URL or a request that crawlers stay away.
Can you allow search while restricting training?
Some providers document separate controls for those purposes. Check each provider's current policy instead of applying one generic “AI allowed” decision.
Purpose | OpenAI agent | Anthropic agent |
|---|---|---|
Search discovery | OAI-SearchBot | Claude-SearchBot |
Model development | GPTBot | ClaudeBot |
User-directed retrieval | ChatGPT-User | Claude-User |
OpenAI's crawler documentation separates search from model-development controls. A site can allow its search crawler while disallowing GPTBot. OpenAI also says robots.txt rules may not apply to ChatGPT-User requests because those actions are initiated by a user.
Anthropic's documentation describes a different user-request policy: it says its bots honor robots.txt and that disabling Claude-User prevents retrieval in response to a user query. Do not copy OpenAI's user-fetch exception into your Anthropic policy.
These are documented provider behaviors, not universal legal permission rules. A supported training opt-out is also not evidence that previously collected content has been removed from a model. Keep that question separate from future crawl preferences.
Search indexing needs a separate check too. Google's page-level robots documentation explains that a crawler must be able to access a page to read its directives. Blocking access can prevent it from seeing a noindex instruction. Have the responsible engineer check the combination rather than stacking contradictory rules.
What should an actual approval decision look like?
Suppose a B2B software company wants agents to understand its public product documentation while keeping customer records private. The following is a fictional planning example, not a compliance assessment of a real company.
The team has four content types. Listing all four because they belong to the same domain would be the wrong starting point.
Content | Index decision | Separate owner and check |
|---|---|---|
Public integration guide | Include the maintained public URL | Documentation owner verifies facts, linked assets and intended public access |
Customer-only support ticket | Exclude the URL and any exported text | Security owner verifies authorization on the ticket and attachments |
Customer case study awaiting approval | Hold until cleared for publication | Customer and rights owners confirm the approved facts, names and uses |
Licensed industry report | Do not copy it into the file or a Markdown export | Rights owner checks whether linking or republication is permitted |
Notice that an approved public guide can still have a separate training preference. “Include in the index” is not the same decision as “allow every crawler.” The index decision also does not authorize future uses of a customer quote beyond the permission actually obtained.
Record the result in a short approval note. For this fictional company, it could read:
Purpose: help agents find public integration documentation. Scope: the approved documentation URLs only. Owner: documentation lead. Access review: security confirms that customer tickets and attachments require authorization. Crawler preferences: engineer records each provider's search, training and user-fetch decision. Rights review: customer stories and licensed material stay out until their owners clear them. Review trigger: any change in content classification, reuse purpose or provider controls.
Save the approved URL list, file version and decision date with that note. Recheck linked pages and any generated Markdown copies: keeping the original page private is not enough if a public export contains the same material.
Should the file explain these limits?
A brief note can help colleagues avoid treating the index as a permission statement. For example:
“This index points to public resources. It does not replace access controls, license terms, privacy decisions or provider-specific crawler preferences.”
That is suggested explanatory wording, not a tested legal clause. If you intend to impose reuse conditions, have the appropriate owner approve those terms and where they belong. A sentence in llms.txt cannot substitute for technical enforcement or resolve rights you do not hold.
Keep the distinction when removing material too. Removing a link from llms.txt does not delete the destination page, its copies or material already fetched elsewhere. If the page should no longer be public, address its actual access and publication state.
What can monitoring prove after publication?
Use different records for different questions. An authorized server log can show a request for the file; a saved answer can show a cited page; a consent record can document a person's choice. None automatically proves the other two.
Xtrusio's saved source records help with the visibility question. In this existing record, two entries point to variants of the public pitch-deck URL. The history area says only one published report includes the question. It is inspectable evidence of what that saved response contains, not evidence that llms.txt was read or that permission was granted.

The record was inspected in September 2026; private client paths are blurred. Generated capability claims visible in the response are not a compliance finding or a promise that those claims are correct. The useful evidence here is the question, cited URLs and limit on the available history.
If you want to test visibility after an approved change, preserve the baseline questions, settings, answers and source URLs. Keep later observations comparable and log other page changes. A new citation after publication is an observation, not proof that the file caused it or that reuse was authorized.
Publish llms.txt when a curated guide would help agents use information you intend to make public. Keep the permission and security decisions with their accountable owners. If you need help checking how those public pages appear in AI answers, ask Xtrusio for a scoped free evaluation. Consent and rights approval remain separate from that visibility review.
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.
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.
Free check
See how AI engines answer about you
Get your free AI visibility check
Keep reading
Answer Engine Optimization · Sep 1, 2026 · 8 min readWhy AEO Matters for Your Brand in 2026: Evidence and What to Do Next
94% of business buyers use AI when they buy. See why AEO matters for your brand, what AI answers change and how to get named and cited.
Answer Engine Optimization · Sep 1, 2026 · 8 min readAnswer Engine Optimization Step by Step: 7 Steps From Buyer Questions to Verified Citations
A 7-step AEO workflow: pick buyer questions, record today's AI answers, check crawler access, plan and publish the answer, then verify the citation.
AI Search Visibility · Oct 19, 2026 · 9 min read