Blogs/Do I Need an llms.txt File?

Do I Need an llms.txt File?

Nov 27, 20267 min read
Pulkit Khurana

Founder, SproutMe

A settings card with toggles, one switched on and linked to a result tile, in blue: illustration for "Do I Need an llms.txt File?".

An SEO audit or a client has flagged that your site has no llms.txt file, and they want to know why you're not showing up in ChatGPT answers. The file takes an hour to write. The expensive part is the promise riding on it, which pulls attention away from the pages AI search actually reads.

For most marketing sites, you don't need an llms.txt file. Google has said it doesn't use one, and no major AI assistant has confirmed reading it. Its one clear use is helping AI agents navigate technical documentation. Add it if you publish docs. Otherwise, spend the hour on page structure and crawler access.

Need llms.txt? Let a skill check what AI reads.

GET IT FREE IN CLAUDE

What does an llms.txt file actually do?

An llms.txt file is a Markdown document at the root of your domain. It was proposed in 2024 as a way to give language models a curated map of a site. It usually opens with a one-line summary of who you are, then lists your most important pages with a sentence describing each.

The idea is reasonable. A model reading raw HTML has to get through navigation, cookie banners and scripts before it reaches the content. A Markdown map skips all of that and points straight at what matters.

What the file does not do is control anything. It sits beside robots.txt in name only. robots.txt holds directives that crawlers have agreed to honour, so it can allow or disallow access. llms.txt allows nothing and blocks nothing. It is a suggestion, and it only works if the system reading your site chooses to look for it.

If your real concern is deciding which AI bots may use your content, that is a robots.txt job. Splitting training crawlers from search crawlers works through a different mechanism entirely.

This distinction matters because audits often bundle the two together. A missing llms.txt is not a gap in your crawler policy, and adding one doesn't change who can crawl you.

Does Google or ChatGPT read llms.txt?

Google has been unusually direct. Someone on Reddit asked about llms.txt and a variant called llms-author.txt. Google's John Mueller replied: "Google doesn't use llms.txt or llms-author.txt. I don't know of any other crawler / llm confirming they're using these (other than SEO tools)." Search Engine Journal reported the exchange on July 6, 2026.

Read the second sentence carefully. It reflects one Googler's knowledge of the field, not a survey, so it doesn't prove that no assistant ever fetches the file. It does mean nobody with a search product has publicly committed to using it. A signal nobody has committed to reading is not something to plan around.

The mechanics point the same way. Most AI search features retrieve pages through a search index before they summarise anything. When an assistant answers a question about your category, it pulls the pages that matched a query, not a sitemap of your choosing. Your llms.txt is not in that path. Your headings, your copy and your crawlability are.

The file has the shape of the old meta keywords tag. It is cheap to add, invisible to visitors, and only as useful as the systems that agree to read it.

There's also a measurement trap. Suppose you add the file and later see requests for it in your server logs. That tells you something fetched it. It doesn't tell you the file shaped an answer, earned a citation or produced a single enquiry. SEO tools check for the file routinely, so a fetch is just as likely to be an audit crawler as an assistant.

When is an llms.txt file worth adding?

The argument holds up in one case: technical documentation. The proposal was written with developer docs in mind, and it shows.

Coding assistants and agents increasingly fetch documentation directly while they work. They read an API reference or check a configuration option without going through a search engine first. For that job, a clean index of pages and Markdown versions of them is genuinely useful. The agent is navigating your site on a user's behalf, not ranking it.

If you run a software product with API docs, a developer portal or a large help centre, add the file. Generate it from the same source as your docs so it never drifts out of date. Serve Markdown copies of the pages it lists.

Be clear about what the evidence in this area measures. The tests published so far come from documentation vendors. They check whether agents find the right page, often with web search switched off. They say nothing about search rankings or how often a brand turns up in AI recommendations. That benefit is real for a developer audience, but it is not the one most marketing teams are being sold.

Everyone else has a weaker case: an e-commerce store, a B2B services site, a local business with a few service pages. An agent visiting those sites has little to navigate. The file is optional for them, and it belongs near the bottom of the list.

What should most sites do instead?

If the request is really about visibility in AI answers, put the hour into what retrieval actually reads:

  • Answer one question per page, clearly. Use a heading that mirrors how people phrase the question, and put the answer near the top. A page that matches the query closely beats a cleverly formatted file.
  • Add truthful structured data. Organisation, product, FAQ and article markup give machines facts without guesswork, as long as the markup describes what is actually on the page.
  • Check that AI search crawlers can reach you. A blanket block on AI bots in robots.txt costs far more AI visibility than a missing llms.txt ever could. Whether to let AI crawlers in at all is the decision that actually changes what those systems can see.
What to do with the hour instead of llms.txt

If you do add llms.txt, treat it like any other published asset:

  • Give it an owner.
  • Regenerate it when pages are added or retired.
  • Never use it to say something your pages don't. A summary that contradicts the site is worse than no summary at all.

If an audit tool flags the missing file as an error, treat that as noise. A 404 at /llms.txt does not mean your site is broken. It means you haven't published an optional file that the biggest search engine has said it ignores.

Conclusion

An llms.txt file is a sensible idea that has not yet become a working signal. Google doesn't use it, and no major AI assistant has confirmed reading it for search. Server logs can't show that it earns citations even when something fetches it.

The exception is documentation. When agents navigate your site to complete a task, a clean Markdown map earns its place. For everyone else, the file is optional, and the effort is better spent on pages that answer questions clearly and on a crawler policy that lets AI search see them.

Frequently Asked Questions

No. llms.txt is a community proposal from 2024, not a specification adopted by a standards body. No major AI provider has confirmed using it for search. Google's John Mueller has said Google doesn't use it. He also said he knows of no other crawler or LLM confirming they do, apart from SEO tools. Treat it as a convention, not a requirement.

llms-full.txt is a companion file some sites publish alongside llms.txt. llms.txt is a short map listing key pages with one-line descriptions. llms-full.txt gathers the full text of the site into a single Markdown document, so an agent can read everything in one request. It suits documentation sets best and carries the same caveats about who actually reads it.

Not in Google. Google has said it doesn't use llms.txt, so the file plays no part in how Google Search ranks or surfaces your pages. The real risk is indirect. A stale file pointing at retired pages, or a summary that contradicts your site, can mislead any agent that does read it. Keep it maintained or leave it out.

Get weekly AI search tips straight to your inbox.

Ready to Unlock Your Growth at Zero Cost?

We can help you turn these findings into a measurable growth system. Let’s walk through the recommendations and build a plan to act on them.

Try SproutMe Skills