LA Ranks AI
Menu

What is llms.txt?

llms.txt is a plain Markdown file at the root of a website (/llms.txt) that gives language models a short summary of the site and a curated list of links to its most useful pages. It is a proposal published at llmstxt.org, not a standard that ChatGPT or Google has adopted. LA Ranks AI tracks what ChatGPT actually says and cites, and in our 37,800 answers across 126 LA trades the pages it cited were ordinary HTML pages.

llms.txt in four facts

  • Where it lives

    At the site root: https://example.com/llms.txt, next to robots.txt and sitemap.xml.

  • What it is

    A Markdown file: the site's name, a one-paragraph summary, then lists of links with a short note on each.

  • Who proposed it

    Jeremy Howard of Answer.AI, in September 2024, at llmstxt.org.

  • What it is not

    Not a crawl rule. It cannot allow or block a bot; that is still the job of robots.txt.

The llms.txt format, line by line

  1. H1 with the name

    # Example Plumbing — the name of the site or project. The only required line.

  2. A blockquote summary

    > Licensed plumbers serving Pasadena, CA… — one short paragraph with the facts a model needs to understand the rest.

  3. Optional notes

    Plain paragraphs or lists with no headings: service area, what you do not do, how to read the links.

  4. H2 sections of links

    ## Services, ## Prices, each followed by a list of - Page name: one-line note.

  5. An "Optional" section

    A section titled ## Optional holds links a model may skip when it needs a shorter context.

The proposal fixes the order of the parts. Only the first one is required.

An llms.txt example for a local business

Below is a complete file for a made-up plumbing company. Every link points to a real HTML page on the same site, and every fact in the summary is also printed on those pages.

Read more

``` # Example Plumbing

> Licensed plumbing company in Pasadena, CA. Emergency repairs, water heaters, drain cleaning and repiping for homes in the San Gabriel Valley.

Prices and hours on the linked pages are the current ones. We do not do commercial new construction.

## Services

## Areas

## Company

  • Prices: "from" prices by job
  • About: license, owner, service area

## Optional

- Blog ```

Three things make this file useful rather than decorative. First, the summary carries the facts a model is most likely to be asked about: what the business does, where, and what it does not do. A file that only says "Welcome to our website" adds nothing a crawler did not already have. Second, each link has a note that says what the page answers, so a model with a small context window can pick the right page without opening all of them. Third, nothing in the file is unique to it. The prices, the area list and the license sit on the HTML pages too, because those pages are what an assistant fetches and quotes.

Some sites also publish llms-full.txt: one long Markdown file with the full text of the pages instead of links. It grew up around software documentation, where a developer pastes the whole manual into a coding assistant. For a service business with a dozen pages it is rarely worth maintaining; if you publish it, regenerate it from the pages every time they change, so the two never disagree.

llms.txt vs robots.txt vs sitemap.xml

FileWhat it doesWho documents reading it
robots.txtAllows or blocks crawlers by user agent and pathOpenAI, Google, Anthropic, Perplexity and every major search engine
sitemap.xmlLists every URL you want crawled, with last-modified datesGoogle and Bing; it is referenced from robots.txt
llms.txtSummarizes the site and links its key pages for a language modelThe proposal at llmstxt.org; no major AI search provider documents using it

Does ChatGPT or Google use llms.txt?

Neither documents it. OpenAI's page on its crawlers covers robots.txt and the user agents GPTBot, OAI-SearchBot and ChatGPT-User; it does not mention llms.txt. Google's documentation for AI Overviews and AI Mode says no special file or markup is needed.

Read more

When ChatGPT searches the web it works from pages its search crawler, OAI-SearchBot, has fetched, and it reads those pages as HTML. That is what OpenAI's bots documentation describes. Google's AI features run on the normal Google Search index built by Googlebot; its AI features page asks for the same things as regular search: indexable pages, text content, and structured data that matches the visible page.

Google staff have said in public that Google Search does not use llms.txt. Some AI products do fetch it: coding assistants and documentation tools read llms.txt files of software libraries, which is where the format took off. A model that browses a site during a chat may also open the file if it finds it, the same way it might open any other URL.

So the useful scope of llms.txt today is narrow. It helps where a person or an agent deliberately points a model at your site and wants a map of it. It does not get a business named in a ChatGPT answer about "best plumber in Pasadena", because nothing in how ChatGPT search is documented reads it for that purpose.

What does move those answers is upstream: whether OAI-SearchBot can fetch your pages, whether the facts are in the HTML, and whether the page answers the question in the words the customer used. Our post on AI crawlers and robots.txt covers the first part, and how ChatGPT chooses businesses covers the rest.

Our verdict: proven, logic, open

  • Proven: llms.txt is a public proposal with a defined Markdown format, published at llmstxt.org.
  • Proven: OpenAI's crawler documentation and Google's AI features documentation do not list llms.txt as something they read.
  • Proven: in the median LA trade we measured, ChatGPT cited the website of a business it named in 98% of answers. Those citations are HTML pages.
  • Logic: a file no assistant documents reading cannot be the reason an assistant names you, so it comes after crawler access, HTML facts and page content.
  • Logic: the file costs minutes to write, so publishing a correct one is cheap insurance for tools that do read it.
  • Open: whether any assistant starts using llms.txt for search answers. Recheck the providers' docs, not blog claims.

How to create an llms.txt file

  1. List the pages that answer buyers

    Services, areas, prices, about and contact. Leave out tag pages, logins and thin posts.

  2. Write the summary from your data

    Name, what you do, where, and what you do not do. Copy the facts from the pages so the two match.

  3. Group links under H2 headings

    One line per page, with a note that says what the page answers.

  4. Upload it to the root

    Save as UTF-8 text at /llms.txt and open it in a browser to confirm it returns status 200 as plain text.

  5. Keep it current

    When a page moves or a price changes, update the file the same day, or remove it. A stale file is worse than none.

See whether ChatGPT names you before you add files

LA Ranks AI asks 3 of your customers' questions on ChatGPT and Google AI Mode and shows who was named, which pages were cited and whether you are in ChatGPT's map list. Free.

Check my business, free
  • AI crawlers and robots.txt

    Every major AI crawler and what it does, robots.txt rules to allow search bots and block training, and how to find AI bot traffic in your logs.

  • Structured data for AI search

    Does schema markup help you appear in ChatGPT and AI Overviews? What Google, Bing and OpenAI document, the best schema types and a JSON-LD example.

  • Technical GEO

    Technical GEO is what lets AI assistants fetch, read and cite your pages: crawler access, HTML without JavaScript, a flat structure, facts in text.

  • How ChatGPT chooses which businesses to recommend

    How ChatGPT picks the businesses and sites it cites: what OpenAI documents, and what 37,800 answers in 126 LA trades show.

  • How to write content AI assistants cite

    How to write content that ChatGPT and other AI assistants cite: answer first, the provider and a figure in the first paragraph, one intent per page, FAQ.

Questions

What is llms.txt?

LA Ranks AI defines it the way the proposal does: a Markdown file at /llms.txt with an H1 name, a one-paragraph summary and lists of links to a site's key pages, written for language models. In the 37,800 ChatGPT answers of the LA Ranks study, the pages cited were ordinary HTML pages, not llms.txt files.

Does ChatGPT use llms.txt?

OpenAI does not document it. Its crawler page covers robots.txt and the GPTBot, OAI-SearchBot and ChatGPT-User agents. ChatGPT search cites HTML pages that OAI-SearchBot has fetched.

Does Google use llms.txt for AI Overviews?

No. Google's AI features documentation says no special file is needed, and Google staff have said Search does not use llms.txt. AI Overviews draw on the regular Google index.

Where do I put the llms.txt file?

At the root of the domain, so it opens at https://yourdomain.com/llms.txt. It must be served as plain text with status 200.

What is the difference between llms.txt and llms-full.txt?

llms.txt links to pages with a short note on each. llms-full.txt contains the full text of those pages in one Markdown file. Both are conventions, not standards.

Should a small business add llms.txt?

It is cheap and harmless if it is accurate, but do it after the steps that are documented to matter: crawler access in robots.txt, facts in the HTML, and one page per service and area.

Can llms.txt block AI crawlers?

No. llms.txt has no allow or disallow rules. To block or allow a crawler, use robots.txt with the crawler's user agent.

See what ChatGPT says about your business

The questions your customers ask, what ChatGPT answers, who it names and the sites it cites. Free.

Check my business