Skip to content
seobesttoolsSubmit

llms.txt Guide: What It Is, Whether It Matters & How to Write One

By John Rush · Updated · 4 min read

llms.txt is a proposed convention: a Markdown file at yoursite.com/llms.txt that summarises your site and links to the pages you most want language models to read. It is not an official web standard, and the evidence that it improves visibility in AI answers is weak. It is cheap to create, so it can be worth adding, but it should not be a priority.

Where llms.txt came from

Jeremy Howard of Answer.AI proposed it in September 2024. The reasoning: language models have limited context windows, and converting a typical HTML page with navigation, scripts and ads into clean text is hard. A short Markdown index lets a model or agent find the right documents quickly. The proposal is hosted at llmstxt.org.

It is not a W3C or IETF standard, and no major AI search provider has committed to using it for retrieval or ranking.

Is it worth it? An honest assessment

What supports it:

  • Many developer-documentation sites publish llms.txt, and tools that help coding assistants read docs can use it. Some documentation platforms generate it automatically.
  • It forces you to decide what your most important pages are.
  • It costs almost nothing and does no harm.

What counts against it:

  • Google has said it is not used. Google representatives have stated that Google does not support llms.txt for its search features and AI Overviews, and compared it to the old keywords meta tag. Google's AI features guidance says no special files are needed.
  • No confirmed adoption by the major AI search products. OpenAI, Anthropic, Perplexity and Microsoft have not documented llms.txt as an input for their web search or citation systems. Server logs from site owners often show little or no requests for the file from major AI crawlers, though reports vary and this is anecdotal.
  • No demonstrated benefit. Published analyses comparing sites with and without llms.txt, such as one by SE Ranking in 2025, did not find a clear link to AI citations. These studies are correlational and limited, so they do not prove it never helps, but nobody has shown that it does.
  • It can duplicate or conflict with your real pages. Anything in llms.txt should already be in indexable HTML.

Verdict: treat llms.txt as optional documentation hygiene, not as AEO or GEO strategy. Spend time first on crawlability, direct-answer content, evidence and third-party mentions; see what GEO is and the AEO and GEO tools category. Check current vendor documentation, because this may change.

When it is most useful

  • Developer docs and APIs: coding assistants and agents may fetch a clean index.
  • Large documentation sites with many versions, where pointing to the canonical pages helps.
  • Sites that offer clean Markdown versions of pages.

It is least useful for small marketing sites hoping to be recommended by chatbots.

The format

The proposal specifies a Markdown file with this structure, in order:

  1. An H1 with the name of the project or site (the only required section).
  2. A blockquote with a short summary.
  3. Optional paragraphs or lists with extra detail (no headings).
  4. Zero or more H2 sections containing lists of links in the form - [Name](URL): optional note.
  5. An H2 titled Optional for secondary links that can be skipped when context is limited.

A companion convention, llms-full.txt, contains the full text of key documentation in one file. It is not part of the minimal proposal and some sites skip it because the file can be very large.

Template

# Example Co

> Example Co makes invoicing software for freelancers. This file lists our most useful documentation and policies.

Pricing is per user per month. Support is available by email on weekdays.

## Docs

- [Getting started](https://example.com/docs/start.md): Set up an account and send a first invoice
- [API reference](https://example.com/docs/api.md): Endpoints, authentication and rate limits

## Policies

- [Pricing](https://example.com/pricing): Current plans and limits
- [Refund policy](https://example.com/refunds): Conditions and timelines

## Optional

- [Blog](https://example.com/blog): Product news and tutorials

How to write and publish one

  1. List your 10-30 most important pages: documentation, pricing, key guides, policies. Skip thin and duplicate pages.
  2. Write the summary in two or three plain sentences. State what you do and who it is for. Avoid marketing language.
  3. Group links under clear H2 headings and add a short note on each link.
  4. Prefer clean sources. If you can serve a Markdown version of a page (for example by appending .md), link to that; otherwise link to the normal HTML URL.
  5. Save as llms.txt and upload it to the root, so it loads at https://yoursite.com/llms.txt. Serve it as plain text or Markdown with a 200 status.
  6. Keep it in sync. Generate it from your sitemap or CMS where you can, and review it when pages change. Many CMS plugins and documentation platforms can generate it.
  7. Check your logs after a few weeks to see who requests it.

What llms.txt does not do

  • It does not block or allow AI crawlers. Use robots.txt and your firewall or CDN settings for that, and see each vendor's documentation for bot names.
  • It does not replace sitemaps, structured data or good internal linking.
  • It does not guarantee citations or traffic.

What to do instead

If AI visibility is the goal, these have more evidence behind them:

Frequently asked questions

What is llms.txt?

llms.txt is a proposed standard: a Markdown file at your site root (/llms.txt) that gives large language models a curated summary of your site and links to your most useful pages. It was proposed by Jeremy Howard of Answer.AI in September 2024.

Does llms.txt help you rank in AI answers?

There is no solid evidence that it does. Google has said it does not use llms.txt for its AI features, and analyses of AI citations have not shown a clear benefit. It may help tools and agents that deliberately fetch it, mainly with developer documentation.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may fetch. llms.txt is not an access-control file; it offers a readable guide to your content and does not block or permit anything.

Should I add llms.txt to my site?

It is low-cost, so it is reasonable for documentation-heavy or developer-focused sites. Do not expect it to improve rankings or citations, and do not put it ahead of crawlability, content quality and brand mentions.

Keep reading