llms.txt guide: what it does and does not do
Learn the llms.txt format, when it can help AI agents, why Google Search ignores it, how to implement it safely and how to measure the result.

The promise of llms.txt is appealing: give AI agents a clean, curated entry point instead of asking them to extract meaning from navigation, scripts and design chrome. The risk is equally clear. Marketers can mistake a small technical convenience for an optimization that guarantees citations.
The useful position is between those extremes. Implement the file when agents or documentation workflows may consume it, keep it accurate and inexpensive to maintain, and measure outcomes separately.
What is llms.txt?
The current llms.txt proposal defines a Markdown file named llms.txt that can live at the site root or within a subpath. It starts with an H1, may include a blockquote summary and can group curated links beneath H2 headings. The proposal also recommends clean Markdown versions of important pages and standard Link relationships for discovery.
Its intended job is orientation. An agent reads a short map, chooses the relevant source and fetches the detail only when needed. The file should stay small enough to process quickly.
What llms.txt does not do
It does not grant crawl permission. That is the role of server access, authentication and crawler directives.
It does not replace an XML sitemap. Sitemaps enumerate canonical URLs for search discovery and freshness signals.
It does not make thin content authoritative. A link in the file is still only a link.
It does not improve Google Search rankings. Google's 2026 guidance states that Search does not use llms.txt, and that creating one neither helps nor harms visibility in Google's generative search features. Read the exact statement in Google's official AI optimization guide.
A practical file structure
Use one factual summary and a short list of high-value destinations.
# Example Analytics
> Example Analytics helps ecommerce teams understand product demand and inventory risk.
## Core pages
- [Product](https://example.com/product): What the platform measures and who it serves.
- [Pricing](https://example.com/pricing): Current plans, limits and billing terms.
- [Methodology](https://example.com/methodology): Data sources, definitions and limitations.
## Guides
- [Demand forecasting guide](https://example.com/guides/demand-forecasting): A practical workflow with formulas and examples.
- [Inventory risk glossary](https://example.com/glossary/inventory-risk): Canonical definitions used across the product.
## More
- [Sitemap](https://example.com/sitemap.xml)
The descriptions matter. They help an agent choose a link without fetching every page. Keep them literal and avoid promotional claims such as "the world's best platform."
Which pages should you include?
Select pages that answer stable, high-value questions about the organization, product and subject-matter expertise.
Key takeaways
- Homepage and product overview
- Pricing and plan limits
- Methodology and definitions
- Authoritative guides with original evidence
- Documentation and support entry points
- Policies that an agent may need to answer accurately
- The XML sitemap for broader discovery
Exclude tag archives, search results, thin campaign pages, duplicate translations without clear language labels, private routes and content you do not want retrieved.
For a multilingual site, label the language in the link title or group each locale in a separate section. Point to the canonical URL for each version and preserve normal hreflang signals in HTML and the sitemap.
Generate it from the content source of truth
Manual files drift. A safer implementation builds llms.txt from the same collection that powers the blog, docs or product pages. That keeps new canonical articles in sync and removes unpublished drafts automatically.
The generator should:
- include only published and public records
- use canonical absolute URLs
- escape malformed titles and descriptions
- group links by useful content type
- keep a deterministic order
- return
text/plain; charset=utf-8 - cache or statically generate the response
SeoWave follows this pattern: its content adapter feeds the sitemap, RSS and llms.txt from one typed collection. That reduces the chance that the AI index points to stale or missing pages.
Should you create Markdown page variants?
The proposal recommends clean Markdown alternatives when agents benefit from them, especially for documentation. This can be valuable when HTML is heavily interactive or contains substantial navigation noise. It is optional for a server-rendered editorial site whose main content is already clear in HTML.
If you add Markdown variants, preserve the same facts, canonical identity and update process. Do not create a second, contradictory version written only for bots.
How to validate llms.txt
Check the file like any other public production surface.
- request the exact
/llms.txtURL and confirm status 200 - verify the content type and UTF-8 encoding
- follow every listed URL and reject redirects to login or 404 pages
- confirm no draft, private or noindex URL is present
- compare the file with the canonical sitemap and content inventory
- keep the response concise enough to scan
- add a regression test if the file is generated
Do not call the implementation successful because the file exists. Success means a compatible agent can reach accurate pages, and the brand's measured mentions or citations improve after the broader content work.
How to measure the result
There is no universal llms.txt performance report. Use server logs to see whether named agents request the file, then track the answer outcomes that matter: mention rate, citation rate and cited URLs across a stable prompt set.
If nothing changes, the likely bottleneck is not the file. Revisit content quality, entity clarity, third-party corroboration and crawler access using the AI visibility audit and AI crawler guide.
Frequently asked questions
- Does llms.txt improve Google rankings or AI Overviews visibility?
- No. Google's current official guidance says Google Search ignores llms.txt and that the file neither helps nor harms visibility or rankings in Google Search. Standard crawlability, indexing and useful content still matter.
- Is llms.txt an official web standard?
- It is an open proposal with a published format at llmstxt.org, not a replacement for robots.txt, XML sitemaps or established web standards. Adoption varies by agent and platform.
- What should an llms.txt file contain?
- Keep it concise: a site name, a short factual summary and curated sections linking to canonical, high-value pages with useful descriptions. Do not dump every URL or repeat the full website.
- Should llms.txt include private or noindex pages?
- No. The file is public and should point only to content that is intentionally public, canonical and appropriate for agents to retrieve. It is not an access-control mechanism.
Keep reading
- AI crawlers and robots.txt: a practical guideConfigure robots.txt for ChatGPT, Claude, Perplexity and Google while separating search visibility, user-requested retrieval and model training controls.
- How to track AI referral traffic in GA4Track visits and conversions from ChatGPT, Perplexity, Claude and other AI assistants in GA4, then connect referral data with mentions and citations.