LLMs.txt
(The quick-and-dirty elevator pitch)
A plain-text file you can place at the root of your website ( https://your-site.com/llms.txt ) to tell Large Language Model (LLM) companies what they may – or may not – do with your content, in much the same spirit that robots.txt tells search-engine crawlers how to behave.
────────────────────────────────────────
- Why was it proposed?
────────────────────────────────────────
• Websites are increasingly being scraped to train generative AI systems.
• robots.txt was never designed to express nuanced “train/don’t-train” or “use/don’t-use-for-inference” permissions.
• Content owners, news publishers, academics, etc. wanted a lightweight, machine-readable way to say things like
– “You can quote snippets, but don’t store our full articles in your vector database.”
– “Only non-commercial LLMs may ingest our data.”
– “Contact legal@example.com for licensing.”
────────────────────────────────────────
2. What does it actually do?
────────────────────────────────────────
If an LLM provider chooses to respect the file, it can:
- Tell its crawler which URLs to fetch (or skip) for training.
- Tell its model-deployment layer whether the content may be used at inference time (answer generation).
- Supply metadata—copyright notice, license type, contact e-mail—to the provider’s data-governance pipeline.
Think of it as:
robots.txt → steering web crawlers for indexing/search
llms.txt → steering web crawlers AND downstream model-training pipelines
────────────────────────────────────────
3. Typical file structure (draft convention)
────────────────────────────────────────
# llms.txt – example draft
# ------------------------------------------------------------------
# Global directives
License: CC-BY-NC 4.0
Contact: legal@example.com
Policy: https://example.com/ai-policy
# Section per “agent” (exact names not yet standardised)
[openai-gptbot]
Allow: /blog/
Disallow:/premium/
Usage: training, inference # allowed purpose(s)
[anthropic]
Disallow:/ # block everything
[generic-llm]
Allow:/public/
Crawl-Delay:10 # seconds
Important: there is NO universal, ratified spec yet; different draft proposals use slightly different keywords (e.g., User-agent: vs [agent], Train: vs Usage:).
────────────────────────────────────────
4. How is it different from robots.txt?
────────────────────────────────────────
| robots.txt | llms.txt |
|---|
| Limited verbs (Allow/Disallow) | Adds “Train”, “Inference”, “Embed”, etc. |
| Assumes search indexing | Assumes ML data pipelines + model use |
| Crawl-centric | Data- & rights-centric |
| Widely respected | Still voluntary / experimental |
────────────────────────────────────────
5. Who supports it today?
────────────────────────────────────────
• No big AI company has made a formal, binding commitment yet.
• Some publishers are experimenting (e.g., placing both robots.txt and llms.txt, sending legal notices).
• Standards bodies (W3C, Creative Commons, IPTC) have open task-forces discussing a canonical spec.
────────────────────────────────────────
6. How do I add one to my site?
────────────────────────────────────────
- Create a UTF-8 text file named
llms.txt.
- Add directives using one of the draft syntaxes (see #3).
- Upload it to your web root so it is reachable at
https://your-site.com/llms.txt.
- (Optional) Mention the file in your HTTP headers:
Link: </llms.txt>; rel="llm-policy"
- Monitor access logs for AI-specific user-agents (e.g.,
OpenAI-crawler, ClaudeBot, BardCrawler) to see if they honour it.
────────────────────────────────────────
7. Limitations & open questions
────────────────────────────────────────
⚠ Voluntary compliance; there’s no technical enforcement.
⚠ No single, universally accepted vocabulary yet.
⚠ Granularity (paragraph-level permissions, time-limited licenses, etc.) still under debate.
⚠ Does not retroactively apply to data already harvested.
⚠ Legal enforceability varies by jurisdiction.
────────────────────────────────────────
Bottom line
LLMs.txt is a budding, robots.txt-style convention aimed at giving website owners a voice in how their content is harvested, stored, and reused by large language models. It’s simple, lightweight, and (for now) purely voluntary—but as lawsuits, regulations, and public pressure mount, something like it is likely to become part of the AI/web toolkit.