llms.txt: what it is, an example, and whether it works

llms.txt is a proposed standard: a Markdown file at your site root that gives AI agents a short, curated overview of your site with links to key pages. It was proposed in 2024. Major search engines and AI vendors have not confirmed they use it, and Google has said it is not needed.

By Xeostack · Published · Updated

What llms.txt is

llms.txt is a plain-text convention, written in Markdown, that tells language-model-based tools what your site is and where its most useful content lives. According to llmstxt.org, the proposal was published by Jeremy Howard of Answer.AI on September 3, 2024. The motivation is that web pages are built for people, with navigation, scripts and layout, and converting them into clean text for an AI agent is difficult. A short curated file is meant to shortcut that.

It is easy to confuse with two older files. Robots.txt tells crawlers what they may fetch. A sitemap lists URLs for search engines to discover. llms.txt does neither: it is a human-readable guide for an agent that is already allowed to read your site and wants to know where to start.

The format

The llmstxt.org specification asks for a Markdown file, placed at /llms.txt on your domain (or at a subpath, where it covers URLs under that path; agents should use the most specific file that applies). The sections come in a fixed order:

  1. An H1 with the name of the project or site. This is the only required section.
  2. A blockquote with a short summary of the site.
  3. Optional paragraphs or lists with more detail, without headings.
  4. Zero or more H2 sections, each containing a list of links. Each item has a name and URL and, optionally, a colon followed by notes about the link.
  5. An optional section titled Optional, for secondary links an agent can skip when it needs shorter context.

The proposal also suggests that pages can offer clean Markdown versions, at the same URL with .md added, and link to them. That is a separate step from publishing the index file, and many sites skip it.

An example llms.txt

Here is a small example for a fictional company. It is illustrative only: replace the names, links and descriptions with your own, and use only URLs that exist.

Notice what the file does: it names the business, says in two sentences what it is and who it is for, and points to a handful of pages worth reading. It does not try to list every URL.

Does llms.txt work?

The honest answer is that nobody outside the vendors can show that it does, and the vendors who have commented have been cool on it.

What Google has said

Google's documentation on AI features says you do not need to create new machine-readable files, AI text files or markup to appear in AI Overviews or AI Mode. Search Engine Journal reported on June 2, 2026 that Google's John Mueller, in a Reddit discussion, called llms.txt purely speculative for now and said none of the AI systems use it. In the same discussion, as reported, he said that if an AI platform that brings you customers says it needs the file, it is worth taking the time to create one, and that the most basic step is making sure agents are not blocked from your site. These are statements from one Google employee in a forum, reported secondhand, not formal policy. Check current Google documentation before relying on them.

What OpenAI and Perplexity say

OpenAI's crawler documentation covers OAI-SearchBot, GPTBot and ChatGPT-User, and Perplexity's covers PerplexityBot and Perplexity-User. Neither page, as reviewed for this guide, mentions llms.txt as something the crawler reads. That absence is not proof that the file is ignored, but it means there is no vendor confirmation to point to.

What is plausible

Some AI coding tools and agents that fetch documentation on demand may read an llms.txt file when a developer points them at it, and developer documentation sites are the most common adopters. That is a different use from search engines using the file to decide what to cite. Whether any given tool reads it is for that tool's documentation to say.

What you can measure yourself

Check your server logs for requests to /llms.txt and note the user agents. If requests only come from your own tools and curious humans, you have learned something. If a documented AI crawler requests it regularly, that is evidence of interest, though not of any effect on answers.

Should you publish one?

Reasonable people differ. The case for it: it takes an hour, costs nothing to host, forces you to decide which pages matter, and may help agent tools that do read it. The case against: no confirmed benefit from major vendors, one more file to keep accurate, and a risk of overstating its importance and neglecting work with better evidence behind it.

A sensible rule is to publish one only after the basics are in place: crawlable pages, clear content, accurate structured data and a current sitemap. If you do publish, keep it short, accurate and maintained.

Common mistakes

  • Listing hundreds of URLs. The point is curation. A dump of every page is what a sitemap is for.
  • Linking to pages that are blocked, redirected or noindexed.
  • Marketing copy in the summary. State what you do and who it is for in plain words.
  • Setting it and forgetting it. Stale links and descriptions are worse than no file.
  • Expecting it to replace robots.txt. It controls nothing. If you want to restrict agents, use robots.txt and server-level controls.
  • Hiding content in it that does not exist on the site. Keep it consistent with your visible pages.

How to create and check one

  1. List the 5 to 20 pages that best explain your product, pricing, documentation and policies.
  2. Write the H1 and a two-sentence blockquote summary.
  3. Group links under a few H2 headings with a short note each.
  4. Put secondary pages under Optional.
  5. Save as llms.txt, serve it from your site root as plain text or Markdown, and open the URL in a browser to confirm it loads with a 200 status.
  6. Re-check the links each time you change your site structure.

Xeostack offers a free llms.txt generator that helps you produce a file in this format. You can also write the file by hand, as the example above shows. Either way, the file is optional and its value is unconfirmed.

llms.txt versus other tasks that matter more

If you are choosing where to spend limited time, the documented items come first. Google's guidance for AI features is the ordinary SEO fundamentals: allow crawling, link pages internally, keep important content as text, and keep structured data consistent with the visible page. OpenAI's guidance for ChatGPT search is to allow OAI-SearchBot. Those are the actions with a vendor-stated link to inclusion. An llms.txt file is an inexpensive extra beside them, not a substitute.

Frequently asked questions

What is llms.txt?

llms.txt is a proposed convention for a Markdown file at your site root that gives AI agents a short, curated overview of your site: a title, a summary, and annotated links to the most useful pages. It was proposed by Jeremy Howard of Answer.AI in September 2024 and is described at llmstxt.org.

Does Google use llms.txt?

Google says you do not need new machine-readable files or AI text files to appear in AI Overviews or AI Mode. Google's John Mueller has been reported calling llms.txt purely speculative for now and saying no AI systems use it. Those are informal statements, so check Google's current documentation.

Does llms.txt help me get cited by ChatGPT or Perplexity?

There is no confirmation that it does. OpenAI's and Perplexity's crawler documentation does not describe reading the file. Some agent and developer tools may use it when pointed at it, but that differs from influencing search citations. Publish it if you wish, but do not expect measurable results.

Where do I put the llms.txt file?

Place it at the root of your domain, for example example.com/llms.txt. The proposal also allows files at subpaths, such as /docs/llms.txt, which cover URLs under that path, with agents expected to use the most specific applicable file. Serve it as plain text or Markdown with a 200 status.

What is the difference between llms.txt, robots.txt and a sitemap?

Robots.txt tells crawlers which URLs they may fetch. A sitemap lists URLs for search engines to discover. llms.txt is a curated Markdown guide for AI agents, explaining what the site is and where the best content lives. Only robots.txt controls access; the other two are informational.

llms.txt: What It Is, an Example, and Does It Work?