Tiffany Chen
Marketing
Share this article
Tiffany Chen
Marketing
Share this article

llms.txt is a plain Markdown file served at /llms.txt that gives AI tools a structured outline of your docs. Agents fetched it about 10.8 million times across Mintlify-powered sites in August 2026, and in Mintlify's benchmark it cut failed page requests from 2.23 per task on HTML to 0.11. It helps agents reach the right docs faster; it does not improve search rankings or AI citations.
This post was updated on November 18, 2026.
llms.txt is a file format for structuring web content in plain Markdown so large language models (LLMs) can understand and navigate docs more effectively. Served at /llms.txt, the file gives compatible AI tools a clear outline of your docs, helping models find and retrieve relevant information more efficiently.
Jeremy Howard, co-founder of Answer.AI, first proposed /llms.txt in September 2024. Two months later, Mintlify rolled out automatic llms.txt generation across its platform, giving thousands of hosted docs sites, including Anthropic, immediate support for the format.
If you manage docs for a SaaS company with APIs, this guide explains what llms.txt does, how it works, and whether your team needs one. You'll also learn how to create and maintain the file or have Mintlify automatically generate and update it as your docs change.
What is llms.txt?
llms.txt is a plain Markdown file hosted at /llms.txt on your website that provides a structured summary of your most important content for large language models. Think of it as a docs table of contents for AI: It tells LLMs what your site is about, what content matters most, and where to find it, without the noise of HTML, JavaScript, or ads.
The llms.txt file helps AI agents locate the right docs faster without searching through your entire site. For example, when a developer asks an AI coding assistant how to authenticate an API request, an agent using llms.txt can follow the link to the authentication guide and retrieve the relevant instructions.
Here's what an llms.txt file can include:
- An H1 title (this is the only required section for the file)
- A short summary of the site, usually in a blockquote
- Details about how the site is structured or how to interpret provided files
- H2 sections, each with Markdown-formatted lists of important links
- An "Optional" section for secondary links or supplementary resources
Here's an example of what an llms.txt file looks like:
# Example Product Docs
> Learn how to get started, use the API, and explore tutorials.
## Guides
- [Getting Started](https://example.com/docs/start): Intro guide
- [Install](https://example.com/docs/install): Setup steps
## Reference
- [API](https://example.com/docs/api): Endpoint list and usage
Many AI agents fetch llms.txt on their own, but some coding assistants still need you to point them to it. To make sure an assistant consults the file, include the llms.txt URL in your prompt.
llms.txt is one of three machine-readable formats that help AI tools work with your docs:
| File | What it contains | Primary benefit |
|---|---|---|
| llms.txt | Links to docs pages with short descriptions | Helps AI agents find relevant docs |
| llms-full.txt | Full docs content combined into one Markdown file | Provides broader context across multiple pages |
| .md pages | Full content of an individual docs page in Markdown | Enables faster, more targeted retrieval |
What is llms-full.txt?
An llms-full.txt file is a single Markdown file that combines the full content of all your published docs pages, including API references, setup instructions, integration guides, and tutorials. The file gives agents access to docs covering multiple topics at once, so they can see how features and instructions relate to each other.
However, an llms-full.txt file may take longer to load and process because of the volume of documentation it contains.
Mintlify developed llms-full.txt in collaboration with Anthropic and automatically generates the file for its hosted documentation sites.
What are Markdown (.md) pages?
A Markdown (.md) page is an individual file containing the full content of a single docs page, rather than the entire docs collection.
Adding .md to a docs URL lets an AI coding assistant retrieve a single API reference or integration guide in Markdown format, which is usually faster than loading an llms-full.txt file. The downside is that individual .md pages provide limited context, which can make it harder for AI assistants to understand relationships between different features and instructions.
Mintlify automatically generates .md versions of published docs pages, eliminating the need to create and maintain separate files.
How is llms.txt different from robots.txt?
While robots.txt tells search engine crawlers which parts of your site they can crawl, llms.txt provides AI tools with a structured guide to your content. Unlike robots.txt, llms.txt can also live in a subdirectory.
| robots.txt | sitemap.xml | llms.txt | |
|---|---|---|---|
| Purpose | Control crawler access | List all URLs for indexing | Curate key content for LLMs |
| Format | Custom syntax | XML | Markdown |
| Audience | Search engine bots | Search engine bots | LLMs and AI agents |
| Content | Allow/disallow rules | URL list with metadata | Structured links with descriptions |
| Scope | What not to crawl | Everything to index | Curated subset of key content |
The simplest analogy: If your site were a physical library, sitemap.xml is the complete catalog, robots.txt marks the restricted shelves, and llms.txt is the librarian's recommended reading list.
Marketing teams might use robots.txt to control SEO crawling, while developers building with and for AI agents use llms.txt to help those agents find and retrieve relevant documentation.
Why should you use llms.txt?
When Howard proposed llms.txt, he wanted LLMs to get a site's key information from one place instead of parsing HTML, which is slow and error-prone. Plain Markdown is easy for both people and models to read, which gives llms.txt two main benefits: faster content parsing and more efficient token usage.
Faster content parsing with fewer errors
For instance, llms.txt helps ChatGPT or Claude immediately understand your documentation structure without crawling multiple pages or parsing complex navigation elements. It also filters out ads, HTML markup, or JavaScript-rendered elements to optimize token usage.
For developers using AI coding assistants or building agents, this means the assistant reaches the right guidance faster, with fewer failed requests along the way.
Take Vercel as an example: Its llms.txt file includes descriptions and links to documentation resources, helping agents identify which information to retrieve.
Efficient token usage
HTML pages contain navigation elements and JavaScript that use up tokens without adding useful context for AI tools. Providing documentation in a simpler, Markdown-based format helps AI tools use their context windows more efficiently.
Mintlify's research on agents found that agents used 26–60% fewer tokens across five models when they fetched docs as Markdown with llms.txt instead of HTML. But the savings depend on how you generate your llms.txt. Turborepo's llms.txt used about 116,000 tokens, which defeats the purpose of a lightweight index.
Windsurf, for example, uses Mintlify to host all their docs with /llms.txt to reduce token usage and save agents time.
![]()
Does llms.txt actually work?
Yes. AI agents are actively using llms.txt, and Mintlify's research shows that the file helps them find relevant docs faster and with fewer failed requests.
What the evidence shows
AI agents are now using llms.txt at scale. According to our 2026 State of Knowledge report, agents requested llms.txt files approximately 10.8 million times across Mintlify-powered sites in August 2026. The report also found that 83% of AI agent traffic that month came through requests for machine-readable resources, including individual Markdown pages (.md), llms.txt files, and agent skills. Agents requested these formats directly, indicating they knew the resources were available.
Mintlify's research shows that llms.txt makes docs retrieval more efficient. In Mintlify's benchmark of how agents navigate docs, Claude Code and Codex ran 2,400 tests across 20 docs sites, each served in several formats. Failed page requests dropped from 2.23 per task on HTML to 1.42 on plain Markdown and 0.11 when Markdown pages linked to llms.txt. Agents also found the right docs faster and used fewer tokens, while answer accuracy stayed at 94–99% across every format. Mintlify open-sourced the benchmark, so you can run it against your own docs.
![]()
For SaaS companies with extensive technical docs, the findings support using llms.txt alongside Markdown pages to make documentation easier for agents to access and use.
llms.txt helps agents do the work, not rank your site
The llms.txt file has a narrow job, and getting your site found isn't part of it:
- It doesn't improve Google Search rankings. Google's guidance for AI search confirms that Search doesn't use the file, including for AI Overviews and AI Mode.
- There's no proven link between llms.txt and AI citations: SE Ranking analyzed about 300,000 domains and found no correlation between llms.txt and AI citations.
Critics point to these limits as proof that llms.txt doesn't work, but they're judging it as a visibility tactic, and that's not what it's for. The original llms.txt proposal describes it as a resource models use when someone asks for help, not a way for your site to get found.
As Mintlify's benchmark shows, the payoff is efficiency: agents reach the right page with far fewer failed requests, and the pattern held across every model tested.
So judge llms.txt by how quickly agents reach the right page, not by where your site ranks.
llms.txt example use cases
Teams are already putting llms.txt into practice to make their content easier for AI tools to understand and use.
You can browse hundreds of live examples at llmstxt.site and directory.llmstxt.cloud.
![]()
Here are top examples for llms.txt:
- Documentation: Companies like Pinecone and Windsurf use llms.txt (via Mintlify) for their developer documentation, making their API references, SDKs, and tutorials discoverable and ingestible by AI. This helps AI applications find the right page in your up-to-date docs when they answer questions about your product.
- Website structure: Companies like Svelte.dev and Rainbowkit use llms.txt as a file structure for important links in their site.
- Website messaging: Companies like Wordlift and Tiptap add llms.txt to their marketing site with both link structure and additional context about their messaging, to guide AI applications in how to interpret and position their product.
How to get started
If you're using a documentation platform like Mintlify, /llms.txt, /llms-full.txt, and .md versions of your docs are generated automatically.
If you're setting it up manually:
- Create the file in Markdown
- Start with a
#heading (site title) - Add a short blockquote with a summary
- Include sections (
##) for key content areas - Under each, list important links using standard Markdown bullets and links
- Optionally, include an "Optional" section for lower-priority pages
- Start with a
- Host it at /llms.txt
- Place it in the root directory of your site, just like robots.txt (or in a relevant subpath like /docs/llms.txt if needed)
- Make sure the raw text is accessible at that URL
You don't need to start from scratch. Mintlify's free llms.txt generator lets you create a starter file by entering your documentation URL.
For more details or to follow updates to the spec, visit llmstxt.org.
llms.txt helps you create AI-native documentation
llms.txt won't move your search rankings, but the practical benefit is clear: agents working from well-structured llms.txt files reach the right docs faster and waste fewer requests. For many companies, llms.txt is part of a broader strategy for AI-friendly documentation that includes:
- Structured Markdown to paste directly into ChatGPT, Claude, or Cursor without reformatting
- Model Context Protocol (MCP) servers that let connected AI coding assistants search your docs and retrieve relevant content as needed
- skill.md docs that give agents instructions on your product's capabilities, best practices, and limitations so they can use it correctly
- AI assistants embedded directly in documentation for instant troubleshooting
That's the approach Coinbase took with its docs. Coinbase added AI-native features so developers of all skill levels can work with its docs in their favorite AI tools. "AI-native docs aren't just helpful. They're now essential when you're building with tools like MCP and x402," says Kevin Leffew, AI GTM Lead at Coinbase.
You get to decide what's next for llms.txt
AI-focused companies are already moving forward with interesting product implementations based on llms.txt. Vercel proposed embedding llms.txt-style instructions directly in HTML responses, so agents hitting protected pages get authentication steps directly in the 401 error. LangChain built mcpdoc, an MCP server that exposes llms.txt to IDEs like Cursor and Claude Code so developers get full control over how agents fetch and audit documentation context.
Waiting for llms.txt to become a universal standard misses the point. If you want developers and their agents to work with your content more easily, llms.txt is a simple step forward. Mintlify generates and hosts llms.txt, llms-full.txt, and an MCP server for your docs on every site, and updates them as your docs change. For more control over what agents see, you can provide a custom llms.txt file.
Start for free with Mintlify to make your docs easier for AI tools to access.
Frequently Asked Questions
Is llms.txt an official standard?
No. llms.txt is a community proposal, not a formal standard like robots.txt, which is published as an IETF RFC. Jeremy Howard of Answer.AI proposed the format at llmstxt.org in September 2024, and companies like Anthropic and Vercel now serve the file.
What are large language models (LLMs)?
Large language models (LLMs) are AI systems that understand and generate text and code. Developers use LLMs like Claude and ChatGPT to answer technical questions and work with documentation.
What's the purpose of an llms.txt file?
An llms.txt file helps AI tools find and understand your website's content more quickly by providing a structured Markdown overview of your site with descriptions and links to relevant pages. Instead of navigating complex HTML, compatible AI tools can use the file to identify and retrieve the information they need. Developers point AI coding assistants directly to the file to find and use the documentation.
Do AI agents actually use llms.txt?
Yes. Agents requested llms.txt files about 10.8 million times across Mintlify-powered sites in August 2026, according to Mintlify's 2026 State of Knowledge report. That same month, 83% of agent traffic to those sites came through machine-readable formats like llms.txt, Markdown pages, and agent skills. Those direct requests suggest agents know these files exist.
Should I add llms.txt to my website?
Yes, if you publish technical docs or API references for developers who use AI tools. If your site is small and has no API references, you'll likely see less benefit.
Will an llms.txt file help your SEO?
No, an llms.txt file doesn't affect your Google search rankings or visibility in Google AI Overviews. There's also no reliable evidence that publishing the file increases citations in AI-generated answers.
Where should llms.txt live on my site?
Host your llms.txt file at the root of your domain, such as https://platform.claude.com/llms.txt. If your docs live on a subpath, you can place the file at https://www.mintlify.com/docs/llms.txt instead to cover pages inside your docs folder. Make sure the URL serves raw Markdown text directly rather than an HTML page.
What's the difference between llms.txt and llms-full.txt?
An llms.txt file links to your docs pages with short descriptions, while an llms-full.txt file merges your complete docs into one plain Markdown file. Putting everything at a single URL lets you load broad product context into an AI tool all at once, but large files can take longer to load and process.
What is a .md documentation page?
A .md documentation page delivers the raw Markdown text of a single docs page without site formatting. Adding .md to a URL lets AI coding assistants fetch one specific guide or endpoint quickly, but single pages offer less context across related features.
How often should I update llms.txt?
Update your llms.txt file whenever you ship major changes to your docs content or site structure to keep links and descriptions accurate.
If you host your docs on Mintlify, llms.txt updates automatically as your docs change, so the file always matches your latest content.
More blog posts to read

How do agents use documentation, and how can we help them?
Together with the Ora research lab, we traced 11,000+ agent journeys on 20+ documentation sites to learn what makes documentation work for agents. Here are thirteen practices, in four areas, each backed by our experiments.
December 3, 2026Mintlify
mintlify.com
Ora Research Lab
ora.ai

The assistant now files support tickets for you
When the Mintlify assistant can't answer a question, it can now create a ticket in Plain or Zendesk with the user's details and conversation attached. Available on Enterprise plans.
November 19, 2026Denzell Ford
Engineering