Skip to content
Lalit On Digital Get in touch

What is llms.txt and do you need one?

Getting found by AI beginner Verified 2026-09-05

In short

llms.txt is a plain markdown file at the root of a website that lists its most important pages, with a line about each, so an AI model can find them without crawling the whole site. It was proposed in September 2024. No major AI company has confirmed using it for ranking or citations, so treat it as cheap documentation.

Key points

  • It is a markdown file at yoursite.com/llms.txt: your key pages, one line each, grouped under headings.
  • Jeremy Howard of Answer.AI proposed it in September 2024. OpenAI, Google, Anthropic and Perplexity had no part in it.
  • None of those four has said its crawlers read it as a ranking or citation signal.
  • It takes about twenty minutes to write and cannot hurt you if you keep it current.
  • Do it for completeness and for agents pointed straight at your site. Do not expect traffic from it.
01

The short version

llms.txt is a plain markdown file at the root of your site. It lists your most important pages, with a sentence about each, so an AI model can find them without crawling everything. It was proposed in September 2024. No major AI company has confirmed using it for ranking or citations, so treat it as cheap, useful documentation. It is not an SEO tactic.

Most of what has been written about llms.txt oversells it, usually by people with a tool to sell. This page is short because the honest answer is short.

02

Who created llms.txt?

Jeremy Howard of Answer.AI published the proposal at llmstxt.org on 3 September 2024. It is a community proposal. OpenAI, Anthropic, Google and Perplexity did not write it, did not ask for it, and have not committed to reading it.

That matters more than it sounds. robots.txt works because crawler operators agreed, decades ago, to obey it. sitemap.xml works because the search engines agreed to read it. Nobody has made that kind of agreement about llms.txt. It is a sensible idea still waiting for someone to adopt it.

Google's John Mueller said much the same in April 2025. As far as he knew, none of the AI services had said they were using llms.txt, and he compared it to the keywords meta tag, which sites kept filling in for years after search engines had stopped reading it.

03

llms.txt, robots.txt and sitemap.xml: what each file does

robots.txt, sitemap.xml and llms.txt compared Three root files. robots.txt answers whether a crawler is allowed in and is honoured by all major crawlers. sitemap.xml answers what pages exist and is honoured by search engines. llms.txt answers which pages matter most and has no confirmed consumer. A request arrives at yoursite.com robots.txt "Are you allowed in?" Honoured by all crawlers sitemap.xml "What pages exist?" Honoured by search engines llms.txt "Which pages matter?" No confirmed consumer Access control Discovery Priority, to whoever chooses to read it
Three root files, three different jobs. Only two of them are honoured by anyone today.
File Answers the question Honoured by
robots.txt"Are you allowed in?"Every major crawler
sitemap.xml"What pages exist?"Search engines
llms.txt"Which pages actually matter?"No confirmed consumer yet

People often treat llms.txt as a replacement for one of the other two. It is not. To control AI crawler access, use robots.txt. To get your pages discovered, use sitemap.xml and internal links. llms.txt only states a preference, to whoever chooses to read it.

04

What does an llms.txt file look like?

The format is markdown, and deliberately plain. Here is a trimmed version of the file on this site, which you can read in full at lalitondigital.com/llms.txt:

# Lalit Patel

> SEO and performance marketing specialist, Mumbai, 12+ years in search.
> Now focused on AI search: GEO, AEO and AI SEO.

## Learn

- [Learn AI](https://lalitondigital.com/learn/): A free course in using AI well, and in being found by it.
- [Getting found by AI](https://lalitondigital.com/learn/getting-found/): Access, readability and discovery for AI crawlers.

## Profile

- [Lalit Patel](https://lalitondigital.com/): Full professional profile, expertise and FAQ.

## Optional

- [Extended profile](https://lalitondigital.com/llms-full.txt): The complete profile text in one file.

There are four rules. One H1 with the site name. One blockquote summary. H2 sections that hold lists of links. A short description after each link. Anything under an ## Optional heading is understood to be safe to skip when space is tight.

llms-full.txt is the companion file. It covers the same pages but puts their full text inline instead of linking to them, which helps when you want a model to get everything in one fetch.

05

How to write one

  1. List the pages you would want quoted if someone asked an AI about your subject. That is usually ten to thirty. If you cannot choose, that is the real problem, and no file will fix it.
  2. Write one sentence per page saying which question it answers. Write it for a person. You are describing the page, not stuffing it with keywords.
  3. Group the links under H2 headings that match the way people ask.
  4. Put anything non-essential under ## Optional.
  5. Save it as llms.txt in the site root, so it loads at yoursite.com/llms.txt.
  6. Serve it as text/plain or text/markdown. Check that it returns a genuine 200, and not your 404 page with a 200 status, which happens more often than it should.

That is about twenty minutes, once. Re-read the file whenever your important pages change.

06

Common mistakes

  • Listing everything. A file with 400 links expresses no priority at all. It is just a sitemap with worse formatting.
  • Writing descriptions for robots. "AI SEO services company best consultant Mumbai" helps nobody. Write the sentence you would say to someone who asked what the page was about.
  • Using it for access control. It grants nothing and blocks nothing. That job belongs to robots.txt and your firewall.
  • Assuming it replaces a sitemap. Search engines do not read llms.txt. Keep the sitemap.
  • Publishing it and forgetting it. A stale file pointing at moved pages is worse than no file at all.
  • Claiming results from it. If your citations went up after you added llms.txt, something else caused it. Anyone selling you that correlation is selling you something.
07

When this does not apply

Small sites gain the least. With fewer than about ten pages, llms.txt adds nothing your navigation does not already say. A model that reaches your home page has already seen your priority list. If your content sits behind a login, the file cannot help. And if what you want is more traffic, this is the wrong lever. The pages under Writing content AI will cite are where that work happens.

08

Should you bother?

Yes, as long as you do it for the right reason and expect the right result.

Do it because it takes twenty minutes, it cannot hurt you, and it forces a useful decision about which of your pages matter. It is also handy for any AI agent that is given your URL directly, which happens more often now that people paste links into assistants. If adoption ever comes, your file is already in place.

Do not do it because you expect more citations, more traffic or a ranking boost. There is no public evidence for any of those. Anyone pitching llms.txt as an AI visibility tactic is either mistaken or selling something.

Twenty minutes and no downside, but no promises either. That is the whole answer.

09

FAQ

Does Google use llms.txt? No. Google has not announced support for it. In April 2025 John Mueller of Google said that, as far as he knew, no AI service had said it was using the file, and he compared it to the keywords meta tag. Assume Google ignores it.

Does ChatGPT or Claude use it? Neither OpenAI nor Anthropic has said that its crawlers or browsing tools read llms.txt as a ranking or selection signal. If you hand an assistant the URL directly, it will read the file the same way it reads any page you give it.

Is llms.txt a ranking factor? No. There is no evidence that it affects search rankings or which sources get chosen for AI answers.

What is the difference between llms.txt and robots.txt? robots.txt controls access, and every major crawler obeys it. llms.txt suggests priority, and no crawler has committed to reading it. They solve unrelated problems, and you need the first far more than the second.

What is the difference between llms.txt and sitemap.xml? A sitemap lists every page, in XML, for search engines. llms.txt lists the pages that matter most, in markdown with a sentence per page, for language models. Search engines read sitemaps. Nobody has confirmed reading llms.txt.

What is llms-full.txt? The same idea, but with the full text of each page included instead of a link, so a model gets everything in one request rather than following links.

Which sites publish one? Mostly developer documentation sites. Anthropic's documentation, Cloudflare's developer docs and every site hosted on Mintlify have one, and Mintlify generates it automatically. That shows how cheap the file is to add. It is not evidence that anyone reads it.

Can it hurt my site? No, as long as its links are correct and you keep it current. A file pointing at dead or moved pages is the only real risk.

How do I know whether it is working? For now, you mostly cannot. Your server logs will show whether anything fetched the file, and that is the only direct evidence available. Treat any claimed effect on citations with suspicion until one of the AI companies says it reads the file.

10

Sources


Last verified . This page is reviewed on a fixed cycle. Changes:
  • Wording refreshed for clarity and search; facts unchanged.
  • Rewritten. Added dated sources, named examples of sites that publish one, and this site's own file as a worked example.
  • First published.