Skip to content
Built for AI agentsConnect yours
Answer engine optimization

What is llms.txt, and does it work

llms.txt is a proposed standard for giving AI agents a clean summary of your site. What it is, who actually reads it, and what the evidence says.

Jamie Partridge · Published · 7 min read

  • Measurement
  • Citations
What is llms.txt, and does it work, set beside the logos of ChatGPT, Claude, Gemini, Perplexity and Google

llms.txt is the most argued-about file in AI search, and most of the arguing is between people selling it as a ranking factor and people dismissing it because it is not one.

Both are missing what it actually does. What follows is what the file is, where it came from, who uses it, whether it works, how to write one, and an example you can copy.

What is an llms.txt file?

llms.txt is a proposed standard for a markdown file at the root of your site that gives AI agents a concise, expert-level summary of what the site is and where its important pages are. That is the whole idea.

The reasoning is plain enough that it has survived two years without needing a rewrite. Web pages are built for people. An HTML page wraps its information in navigation, ads and JavaScript, and converting that back into clean text is both difficult and lossy. Context windows, while larger than they were, are still too small for most sites in their entirety, and every wasted token costs time and money. So: put a concise version somewhere predictable.

Who proposed llms.txt, and is it a standard?

Jeremy Howard of Answer.AI proposed it on September 3, 2024. The proposal reached a second version in 2026, revised on the strength of two years of adoption rather than theory.

It is a convention, not a specification any AI vendor is obliged to follow. Nobody has to read it, and nothing breaks if you do not publish one.

Who uses llms.txt today

This is where most writing on the subject is out of date, so here is the current state as the proposal itself describes it.

Thousands of sites now publish an llms.txt file. Documentation platforms generate them automatically. The AI labs publish them for their own developer documentation, including OpenAI, Anthropic and Google.

And the detail that matters most: Chrome's Lighthouse now audits sites for one as part of its agentic browsing checks. When a mainstream developer tool starts checking for a convention, the convention has stopped being a proposal and started being an expectation.

None of that is the same as evidence that it changes answers. For the wider discipline this sits inside, see what answer engine optimization is and what generative engine optimization is.

Does llms.txt work?

Depends entirely on what you mean.

If you mean "will it get me cited by ChatGPT," there is no evidence that it will. No major assistant has publicly confirmed that reading an llms.txt file changes whether a brand gets named in an answer. Anyone selling it to you on that basis is overreaching, and you should ask them for the measurement.

Being cited depends on retrieval, and retrieval depends on the things it has always depended on: being crawlable, being relevant to the question, and answering that question in prose a model can lift. Google is explicit that its generative features are rooted in core Search ranking and quality systems rather than running on a separate signal, and that there is no special markup you need to add for generative AI search. An llms.txt file is not an exception hiding in that guidance.

If you mean "does it do something useful," yes, and the useful thing is underrated. Any agent that fetches it gets your description of your own product, in clean form, in your words. That matters because the alternative is worse. In most categories the pages describing you are mostly not yours, which means roundups, comparison posts and forum threads are briefing the model before your site does. An llms.txt file is one of the very few places you control that text exactly.

If the answer you want is whether any of this changed your visibility, that is a measurement question rather than a file question.

llms.txt vs robots.txt

The similar name causes genuine confusion, so it is worth being blunt.

robots.txt controls access. It tells crawlers what they may and may not fetch, and the assistants use named crawlers you can allow or block: Google publishes its list including Google-Extended, OpenAI documents its crawlers separately by purpose, and Perplexity documents PerplexityBot.

llms.txt controls nothing. It is a briefing document for a reader that has already arrived.

One is a gate. The other is a handout. If your robots.txt blocks the crawler, your llms.txt will never be read, which is the order most audits get backwards.

How to create an llms.txt file

The file lives at the root of your domain, at /llms.txt, and it is plain markdown. The format is a title, a blockquote summary, then sections of links with one-line descriptions. That is it. The interesting decisions are about content, not syntax.

Write sentences a model can quote and be correct. The test is whether any single line, lifted alone, still says something true and specific about you. "Industry-leading AI visibility platform" fails that test. "Tracks six assistants, reports each separately, never blends them into one score" passes.

Put your prices in it. Pricing is the fact assistants most often get wrong about a brand, usually because they are working from a comparison post written eighteen months ago. Your own file is the cheapest correction available.

Put your constraints in it. This is the counterintuitive one. List what you do not do. We say plainly that we do not yet cover Microsoft Copilot, Grok, Meta AI or DeepSeek, and that we offer no historical backfill. A model that repeats those limitations is describing us accurately, and accurate beats flattering when the alternative is a trial user discovering it on day two.

Generate it, do not hand-write it. Ours is rendered at build time from the same source files the pricing page reads. A hand-maintained file is one price change away from lying, and a file that lies to a model is worse than no file. We learned that from the version of ours that quietly advertised a plan ladder we had retired.

An example llms.txt file

Here is a short one for an invented company, in the shape the proposal describes:

# Contoso

> Contoso makes appointment scheduling software for dental practices.
> Plans start at $49 a month per practice. There is no on-premises version.

Contoso connects to the three most used practice-management systems, and
every plan includes text reminders.

## Product

- [Pricing](https://contoso.example/pricing): every plan and what it includes
- [Integrations](https://contoso.example/integrations): the systems it connects to

## Docs

- [Getting started](https://contoso.example/docs/start): setting up a practice

Every line in it still says something true and specific when it is lifted on its own: what the product is, what it costs, and what it does not do.

You can also read ours. It states what the product is in a form designed to be quoted, lists the plans with their real prices, names the six engines it covers and the four it does not cover yet, and says where the API, the command-line client and the MCP server are documented.

None of this is a growth tactic. We sell an AI visibility platform that helps brands get recommended by AI, built on AI visibility measurement, so a site that assistants cannot read cleanly would be an argument against the product. The file is the dogfood.

Should you add an llms.txt file?

Add one. It takes twenty minutes, it costs nothing, and it puts your own description of yourself where an agent can find it.

Do not expect it to move a number, and do not let anyone charge you for it as an AI search service. If you want to know whether anything you do moves the number, that is a measurement question, and the answer involves running a fixed prompt set on a schedule and reporting each engine separately rather than trusting a file to do the work.

For the discipline this sits inside, see what generative engine optimization actually is. For the definition underneath all of it, see what AI visibility is. And if you want to get recommended by AI and see whether anything you changed made a difference, the plans are here.

Share this articleXLinkedInemail

Questions about llms.txt

What is llms.txt?
llms.txt is a proposed standard for a markdown file at the root of your site, at /llms.txt, that gives AI agents a concise, expert-level summary of what the site is and where its important pages are. It was proposed by Jeremy Howard of Answer.AI in September 2024 and reached a second version in 2026. It is a convention, not a specification any AI vendor is obliged to follow.
Does llms.txt actually work?
It depends what you mean by work. No major assistant has publicly confirmed that reading llms.txt changes whether your brand gets named in an answer, and you should treat anyone claiming a ranking benefit with suspicion. What it demonstrably does is give any agent that fetches it a clean, accurate description of your product in your own words, which is worth having whether or not it moves a metric.
Is llms.txt the same as robots.txt?
No, and the similar name causes real confusion. robots.txt controls access and tells crawlers what they may fetch. llms.txt controls nothing. It is a courtesy document that summarizes your site for a reader that has already arrived. One is a gate, the other is a briefing.
Who actually publishes an llms.txt file?
Thousands of sites now do, documentation platforms generate them automatically, and the AI labs publish them for their own developer docs, including OpenAI, Anthropic and Google. Chrome's Lighthouse now audits sites for one as part of its agentic browsing checks, which is the strongest signal so far that the convention has stuck.
What should go in an llms.txt file?
A title, a short blockquote summary of what the site is, then sections of links with one-line descriptions. Write it so a model can quote a sentence and be correct. Put your prices, your constraints and the things you deliberately do not do in it, because those are the facts an assistant most often gets wrong about a brand.
Will llms.txt get me cited by ChatGPT?
There is no evidence that it will, and anyone selling it on that basis is overreaching. Being cited depends on retrieval, and retrieval depends on being crawlable, relevant and quotable in the page itself. llms.txt is worth adding because it is cheap and it makes your own description of yourself available in clean form. Treat it as hygiene, not as leverage.
Jamie Partridge, Founder of RankHound

Founder, RankHound

Builds RankHound. Spends most of his time reading AI answers that name someone else, and working out why.

More from JamieWhy we built this

More on answer engine optimization

Related reading

All guides

7-day trial

See where AI recommends a competitor instead of you

RankHound tracks your AI mentions and helps you get recommended by ChatGPT, Claude and Google AI Overviews. Add your brand and the prompts your buyers type, and the first answers are readable in full within minutes.

Card required, nothing charged for 7 days.

On every plan

  • Every answer stored in full, with its citations.
  • Every rate shown with the number of checks behind it.
  • Cited-but-not-named reported as its own state.