llms.txt: The New robots.txt for AI Search & LLM Ingestion
Key Takeaways & Executive Summary
llms.txt
A standardized, markdown-based document served at the root of a domain that indexes high-signal pages, API documentation, and core product facts specifically formatted for ingestion by LLMs and autonomous agents.
llms-full.txt
An extended variant of the llms.txt convention that bundles the complete raw markdown text of key website documentation into a single file, allowing AI systems to ingest the entire knowledge base in one request.
STRATEGIC_PLAYBOOK
Comparing Discovery & Control Protocols: robots.txt vs. sitemap.xml vs. llms.txt
| Protocol | Format | Primary Consumer | Purpose / Role | Crawl Enforcement |
|---|---|---|---|---|
| `robots.txt` | Plaintext Directive Format | All Web Crawlers & Bots | Controls crawl access, blocks sensitive directories, declares sitemaps | Legally & technically honored by standard bots |
| `sitemap.xml` | XML Schema with timestamps | Search Engine Indexers | Comprehensive inventory of all indexable URLs and modification dates | Crawlers discover URL paths without guarantee of indexing |
| `llms.txt` | Clean Structured Markdown | LLMs, AI Agents, RAG Pipelines | Provides an uncluttered, token-efficient table of contents of core facts | Voluntary ingestion by AI models to minimize parsing latency |
| `llms-full.txt` | Raw Markdown Full Text | Deep Context LLM Agents | Single-payload documentation ingestion for zero-friction training & RAG | Allows instant context loading without scraping hundreds of pages |
What to Include vs. What to Exclude in llms.txt
| Category | Include in llms.txt | Exclude from llms.txt | Reasoning |
|---|---|---|---|
| Product & Features | Canonical product specifications, feature matrices, API docs | Marketing fluff, sales banners, seasonal promotions | LLMs require unambiguous technical capabilities, not promotional adjectives. |
| Pricing & Plans | Clean tabular pricing tiers with inclusions/exclusions | Dynamic calculator scripts, gated quote forms | Ensures ChatGPT and Claude accurately quote current pricing without hallucination. |
| Company & Entities | Founding team, mission, official contact, verified social URLs | Unformatted press releases, investor disclosures | Anchors brand entity attributes firmly in the model's knowledge graph. |
| Guides & Docs | Top technical tutorials, integration manuals, GEO benchmarks | Generic listicles, clickbait articles, thin blog archives | Focuses the AI's attention on your highest information-gain assets. |
Token Efficiency Optimization
The engineering practice of eliminating DOM boilerplate, CSS, tracking scripts, and navigation clutter from AI-facing payloads to maximize the density of actionable information per token processed.
Reference Structure of a Production-Ready llms.txt
| Markdown Section | Syntax / Formatting Example | Target Function |
|---|---|---|
| H1 Header (Required) | `# Acme AI — Platform Overview` | Declares the entity name and canonical domain identity. |
| Blockquote Summary | `> Enterprise API for vector embeddings and search.` | Provides a concise, neutral 20-word entity definition for zero-shot retrieval. |
| Section Headers (H2) | `## Core Documentation` / `## Pricing` | Categorizes knowledge nodes into distinct semantic groups. |
| Curated Links | `- [REST API](https://acme.com/docs): Complete endpoints.` | Supplies direct URLs paired with 10–15 word descriptions. |
| Optional Full Export | `- [Full Documentation](https://acme.com/llms-full.txt)` | Points heavy AI models to the complete markdown text stream. |
STRATEGIC_PLAYBOOK
llms.txt Rollout & Maintenance Checklist
| Deployment Step | Action Item | Validation Method | Priority |
|---|---|---|---|
| 1. Asset Selection | Select 15–25 highest-value canonical URLs across product, pricing, and docs. | Verify all selected links have 200 HTTP status and clean HTML | Critical |
| 2. Markdown Authoring | Write neutral, Wikipedia-style summaries for each link without hype words. | Check information density and ensure token count remains under 2,000 tokens | High |
| 3. Server Placement | Deploy file to `/public/llms.txt` with CORS enabled (`Access-Control-Allow-Origin: *`). | Curl `https://yourdomain.com/llms.txt` via CLI to verify instant plaintext response | Critical |
| 4. Sitemap Integration | Add `https://yourdomain.com/llms.txt` to your `sitemap.xml` for crawler discovery. | Verify inclusion in Google Search Console and Bing Webmaster Tools | Medium |
| 5. Quarterly Review | Synchronize links whenever pricing tiers, product features, or docs change. | Automated CI/CD link-checker test to prevent broken links in llms.txt | High |
Is Your Brand Being Cited by ChatGPT & Claude?
Run a real-time Generative Engine Optimization audit to inspect your schema health, entity recognition, and AI Share of Voice across 50+ buyer prompts.
Run Free AI Audit→Related Learning Guides
View All Guides →From SEO to AEO: Understanding the Shift
Learn the core differences between traditional Search Engine Optimization and modern Answer Engine Optimization.
What is Answer Engine Optimization (AEO)?
A beginner-friendly guide to optimizing for AI-driven direct answers instead of blue links.
Keywords vs. Entities: The Building Blocks
Why LLMs care more about concepts and relationships than exact-match keyword density.