Call or WhatsApp us anytime

+1 (437) 967-2770

 

5 Examples of Well-Built llms.txt Files

5 Examples of Well-Built llms.txt Files

An llms.txt file is a plain text markdown file placed at the root of a domain that tells AI crawlers and coding agents which pages on a site are worth reading. The format was proposed in September 2024 and has since been adopted by developer tool companies, documentation platforms, and a growing share of SaaS and publishing sites. Rather than asking a language model to guess at site structure, an llms.txt file hands it a curated table of contents written specifically for machine consumption.

The file matters because language models such as Claude, ChatGPT, and Perplexity increasingly answer questions by fetching and reading web content in real time rather than relying only on what they learned during training. A well-built llms.txt file increases the odds that an AI system reads the right page instead of a stale cache or a marketing landing page. A poorly built one, cluttered with every URL on a sitemap, does the opposite: it buries the pages that actually answer a query.

This article walks through five llms.txt files that are widely referenced as strong implementations, breaks down what each one does differently, and turns those patterns into a checklist any team can apply to its own file.

Key Takeaways

  • Anthropic pairs a roughly 8,300-token curated index with a companion llms-full.txt file, using the short version for quick orientation and the full version for deep-context reasoning.
  • Stripe stands out for a dedicated instructions section that actively redirects models away from deprecated API patterns still lingering in older training data.
  • Cloudflare splits its documentation into modular, product-specific llms.txt files rather than one monolithic file, matching how developers actually navigate its dozens of distinct products.
  • The C.L.E.A.R. framework (Curated, Labeled, Entity-grounded, Actionable, Refreshed) gives any team a five-point checklist for auditing whether their own llms.txt file matches the standard set by these examples.

What Makes an llms.txt File Well-Built

The llms.txt spec is intentionally minimal: an H1 with the project or brand name, a blockquote summary of one to three sentences, a series of H2 sections that group links by category, and an optional section for secondary content. A well-built llms.txt file is curated, not comprehensive. It lists the pages a model actually needs, each with a short description, organized under clear category headings.

Across the strongest live implementations, three habits repeat. First, the blockquote reads like a factual entity definition, not a tagline. Second, links are grouped by what a reader is trying to accomplish, such as setup, reference, or troubleshooting, rather than by internal site architecture. Third, the file is maintained, meaning deprecated pages get removed instead of accumulating.

Across a wide range of client audits, the same failure pattern shows up again and again: a promising llms.txt file dies from neglect. It ships once, then nobody adds the two or three pages published every month afterward, and within a year it is quietly out of date. That gap between intent and maintenance is what separates the five examples below from the majority of files that get published once and forgotten.

Example 1: Anthropic Builds a Dual File Index

How the file is organized

Anthropic’s llms.txt runs to roughly 8,300 tokens and functions as a curated index rather than a full text dump. It opens with a blockquote summary of Claude’s documentation, followed by H2 sections for Core Docs and Guides and Tutorials, with each link carrying a one line description telling a model what it will find before it fetches anything.

Why the pairing with llms-full.txt matters

Anthropic also publishes a companion llms-full.txt file containing the complete text of key pages. The size difference between the two files reflects a deliberate bet. When a model’s context window is large enough, a single comprehensive file beats a navigation index, but not every interaction carries that much budget, so the short index handles quick lookups while the full file serves deep reasoning. The lesson for smaller sites is not to copy the file size, but to copy the division of labor: a short file for orientation, a longer one for depth, kept in sync with each other.

Example 2: Stripe Adds an Instructions Section

Organizing by product category instead of document type

Stripe structures its llms.txt around what developers need to accomplish rather than mirroring internal documentation folders, and each section links a small number of curated pages with descriptive text rather than bare titles. That structure effectively teaches a model how Stripe thinks about its own platform, which makes it easier for an AI tool to recommend the correct starting point instead of a generic answer pulled from training data.

Correcting for outdated training data

The detail that sets Stripe apart is a dedicated instructions section, a feature almost no other major llms.txt file uses. Stripe has accumulated more than a decade of API surface area, including deprecated payment primitives that still technically function, and developers along with the AI assistants helping them keep reaching for those older patterns because they show up in older documentation and pre-2022 training data. The instructions section exists specifically to redirect a model away from those legacy patterns toward the current recommended approach. Treating llms.txt as an active correction mechanism for model drift, rather than only a sitemap for crawlers, is the single most transferable idea from Stripe’s implementation.

Example 3: Cloudflare Goes Modular by Product Line

Splitting a large surface area into product specific files

Cloudflare’s combined llms.txt files span roughly 3.7 million tokens across separate files for each product line, rather than one file attempting to cover the entire platform. For a company with dozens of distinct products, from DNS to Workers to Zero Trust, a single monolithic file would force every model to wade through irrelevant sections to find the one it needs.

When modular beats monolithic

The modular pattern works because it matches how developers actually consume Cloudflare’s documentation, in isolated product silos rather than as one continuous read. Sites with a similarly broad footprint, such as multi-brand publishers or platforms with several distinct product lines, benefit from the same approach: one lightweight root llms.txt that points to product specific files, each maintained by the team that owns that product.

Example 4: Vercel Prioritizes Depth Over Brevity

A file large enough to be its own reference

Vercel’s llms.txt has grown large enough that people informally describe it as a reference on the scale of a four hundred thousand word document rather than a short index. That scale only works because Vercel treats the file as a living export of its documentation platform rather than a hand curated summary, regenerating it as docs change instead of letting it drift.

The trade-off worth understanding

The size cuts against the general best practice of keeping a file under roughly 200,000 tokens so a model can ingest it in a single pass. Vercel’s bet is that its audience, largely developers working inside IDE agents with generous context windows, benefits more from completeness than from curation. That trade-off will not suit every site. A marketing site or a publisher chasing AI Overview citations should lean toward brevity. A documentation heavy developer platform can lean toward depth, provided the file stays current.

Example 5: Cursor Leads With Agent Capabilities

Structuring around the product’s core value

Cursor’s llms.txt leads with AI agent capabilities such as agent modes, background agents, and CLI tools, mirroring the company’s core value proposition of AI powered coding assistance rather than a generic product tour. That ordering signals to a model, within the first few lines, what Cursor actually is and what a user is most likely trying to do with it.

Built for the audience that reads it first

Cursor’s file also reflects a broader pattern among AI first developer tools. Because a large share of Cursor’s own users interact with the product entirely through IDE agents and assistants, the file has to answer setup, configuration, and troubleshooting questions in the moment. The practical takeaway is to order sections by what a first time user of the product needs most, not by how the internal team organizes its documentation site.

The C.L.E.A.R. Framework for Auditing an llms.txt File

These five examples point to a repeatable audit method.

  • Curated: every link earns its place, and low value pages are left out.
  • Labeled: each link carries a short, factual description, not just a title.
  • Entity-grounded: the opening blockquote defines what the brand is in plain, verifiable language.
  • Actionable: sections are organized by what a reader is trying to do, not by internal site architecture.
  • Refreshed: the file is reviewed on a set schedule so deprecated pages and dead links get removed.

A file that passes all five checks behaves like Anthropic’s, Stripe’s, or Cursor’s. A file that fails two or more checks behaves like the sitemap dumps that generators produce by default.

The C.L.E.A.R. Framework for Auditing an llms.txt File

How These Five Files Compare

The table below summarizes the structural differences across the five examples covered in this article.

CompanyFile StructureApprox. SizeSignature FeatureBest Model For
AnthropicIndex + full-text pair~8,300 tokens (index)llms.txt paired with llms-full.txtQuick orientation, then deep dive
StripeCategory-based with guardrailsThree files, two domainsDedicated instructions sectionPreventing outdated API patterns
CloudflareModular, per product line~3.7 million tokens combinedSeparate file pairs per productBroad, multi-product platforms
VercelSingle comprehensive fileVery large, reference-scaleDepth over brevityIDE agents with large context
CursorCapability-first orderingFocused, product-ledLeads with agent featuresFirst-time product onboarding

Common Mistakes That Undermine an Otherwise Good llms.txt File

The most common failure is treating llms.txt as a one time SEO checkbox rather than a maintained asset. A team publishes a solid first version, then leaves it untouched while the site keeps growing around it. The second most common mistake is dumping an entire sitemap into the file, which defeats the format’s core premise of curation and produces the kind of bloated output that generic generators are known for. A third mistake is writing the opening blockquote as marketing copy, with words like leading or best, rather than as a factual entity description a model can quote confidently.

Frequently Asked Questions

What is an llms.txt file?

An llms.txt file is a plain text markdown file hosted at a site’s root, such as example.com/llms.txt, that gives AI systems and coding agents a curated map of a site’s most important, citable pages, organized under a brand summary and category headings.

Do I need both llms.txt and llms-full.txt?

Not always. Smaller sites can ship a single curated llms.txt file. Documentation heavy platforms benefit from pairing it with an llms-full.txt file that contains the complete text of key pages for models that can process larger context in one pass.

How big should an llms.txt file be?

Most practitioners recommend keeping a single file under roughly 200,000 tokens so common models can load it in one pass. Sites with a large documentation footprint, such as Cloudflare, instead split content into several smaller, product specific files.

Does llms.txt improve AI search rankings?

Evidence remains mixed. Major AI engines have not confirmed it as a ranking signal, but IDE agents and coding assistants actively fetch it, so the strongest case for llms.txt today is developer experience rather than guaranteed citation gains.

Where should llms.txt be hosted?

The file belongs at the root of the domain, served as plain text with a text/plain content type, alongside robots.txt and sitemap.xml rather than replacing either of them.

What is the biggest mistake companies make with llms.txt?

Publishing the file once and never updating it. Pages get deprecated, products launch, and the file quietly drifts out of sync with what a model actually needs to read.

Can small businesses benefit from llms.txt, not just developer tool companies?

Yes. Any site that wants AI assistants to describe it accurately, from a SaaS product to a local service business, can benefit from a short, factual blockquote and a handful of curated links to its most important pages.

Final Verdict,

Teams that want a second set of eyes on their AI search presence, beyond just an llms.txt file, often look to established digital marketing partners. Stay Digital Marketers works with brands on the broader backlink and entity building work that supports AI and search visibility together, including guest posting, press release distribution, SaaS backlinks, niche edits, Wikipedia page creation, and Google Knowledge Panel creation.

Stay Digital Marketers

Need SEO, Link Building or Digital Marketing Services?

Request a Free Audit →
cropped Filza Taj Founnder Stay Digital Marketers Author Image 189x189

Filza Taj

Administrator

Filza Taj is an MPhil in Human Resources-turned SEO Specialist, Content Strategist, and Digital Marketing Consultant with over 5 years of experience helping businesses in 30+ countries grow online. As the Founder of Stay Digital Marketers (staydigitalmarketers.com), she delivers results-driven solutions in link building, guest posting, PR distribution, niche edits, multilingual backlinks, and content marketing. She publishes daily SEO insights and actionable strategies to help brands strengthen their online presence, attract the right audience, and convert clicks into loyal customers. Filza@staydigitalmarketers.com

Leave A Comment

Your email address will not be published. Required fields are marked *