AI Search guide

llms.txt: What It Is, How to Write One, and Whether It Helps

llms.txt is a proposed file that points AI models to your best pages. Learn the format, see a full example, how to create one in 20 minutes, and what Google says.

By the Zutrix teamUpdated September 12, 202611 min read

Key takeaways

  • llms.txt is a proposed standard from September 2024. It is a markdown file at your site root that lists your most useful pages for AI models.
  • It is not a ranking factor and not a crawl rule. Google's John Mueller has said no major AI system uses it, and compared it to the old keywords meta tag.
  • The cost is about 20 minutes. The upside is uncertain. That makes it a reasonable "why not" for docs-heavy sites and a low priority for everyone else.
  • The format has one required line, an H1 with your site name, and a few optional parts: a summary, H2 sections with link lists, and an "Optional" section.
  • Whatever you decide, measure it. Track whether AI assistants mention you before and after, and do not expect the file alone to move that number.

llms.txt is a plain markdown file you place at the root of your website. It gives large language models (the AI behind ChatGPT, Claude, and Gemini) a short summary of your site and a curated list of links worth reading. It is a sitemap written for a reader with a tiny attention span and no patience for menus, cookie banners, or scripts.

This guide is for site owners, developers, and SEOs deciding whether to bother. You will learn what the file is and how it differs from robots.txt and sitemaps. You will also see whether anyone actually uses it, how to write one correctly, and how to tell if it did anything.

We are going to be direct about the evidence. It is thin. That does not make the file useless, but it should set your expectations.

What is llms.txt?

llms.txt is a proposed standard for a markdown file at the root of a website that tells AI language models what the site is about and which pages matter most. It was proposed by Jeremy Howard of Answer.AI in September 2024. The file uses a fixed structure: a title, a short summary, and lists of links with one-line notes.

The idea behind it is simple. Web pages are built for browsers. They carry navigation, ads, scripts, and layout that a language model has to strip away before it can read the words. A model also has a limited context window, which is the amount of text it can hold at once. The file skips all that. It hands the model a clean list of your best pages, in a format it reads natively.

The proposal has two companions. The first is markdown copies of your pages, served at the same URL with .md on the end. The second is llms-full.txt, a community convention where you put the full text of your documentation into one large file. Both are optional. Most sites that adopt the idea start with the small index file and stop there.

llms.txt vs robots.txt vs sitemap.xml

People mix these up, so here is the split. robots.txt tells crawlers what they may fetch. A sitemap tells them what exists. The third file tells a language model what is worth reading and what it means. Only the first two are supported by Google.

FileWho reads itWhat it doesStatus
robots.txtEvery well-behaved crawler, including Googlebot, GPTBot, and OAI-SearchBotAllows or blocks paths per crawlerFormal standard (RFC 9309), universally supported
sitemap.xmlSearch engine crawlersLists every URL you want indexed, with datesLong-standing protocol, supported by Google and Bing
llms.txtLanguage models and AI agents, in theoryA curated, annotated list of your most useful pagesProposal from 2024, no confirmed use by major AI companies
llms-full.txtLanguage models, in theoryThe full text of your docs in one markdown fileCommunity convention, mostly used by documentation sites
How the three root files compare.

One practical point follows. If you block an AI crawler in robots.txt, it will not read the file either. The files do not override each other. They stack. Our technical SEO checklist covers robots and sitemap setup if you need to fix those first.

Is llms.txt actually used?

By websites, yes. By the AI companies it was written for, not that anyone has confirmed. That is the whole debate in two sentences.

On the adoption side, documentation platforms such as Mintlify and GitBook generate the file for every site they host. Many developer tool companies publish one. Google's Lighthouse tool now includes a check for the file in its audits for agentic browsing, which shows the idea has some weight at Google's Chrome team.

On the usage side, the evidence points the other way. In 2025, Google's John Mueller said that no AI system he knew of currently used the file. He compared it to the keywords meta tag, which told search engines what a site claimed to be about and was ignored for that reason. OpenAI and Anthropic have not documented reading the file either. Server logs shared by site owners rarely show AI crawlers fetching it.

How to create an llms.txt file

You can write it in any text editor. The spec at llmstxt.org is short, and these steps follow it.

  1. 1

    Start with an H1 that names your site

    The first line is a markdown H1: a # followed by your project or company name. This is the only required part of the file. Keep it to the name alone, without a tagline.

  2. 2

    Add a one paragraph summary as a blockquote

    The second element is a blockquote, a line starting with >. Write two or three plain sentences about what the site is and who it is for. Include the words a model would need to decide whether your site answers a question.

  3. 3

    Add short context if it helps

    After the summary, you may add a few plain paragraphs or bullet points with details that do not fit a link list. Version notes, supported regions, or how to read the docs go here. No headings in this part.

  4. 4

    Group your best pages under H2 headings

    Each H2 (##) names a group, such as Docs, Guides, or Pricing. Under it, list links as markdown bullets: [Page title](https://example.com/page): a one-line note. The note tells the model what it will find. Prefer pages that answer questions over marketing pages.

  5. 5

    Put skippable links under an "Optional" heading

    The spec reserves an H2 called Optional for links a model can skip when it is short on space. Put changelogs, legal pages, and older material there. Everything above it should be the pages you would hand a new hire on day one.

  6. 6

    Save it as plain text and upload to the root

    Name the file llms.txt and put it at your domain root so it is reachable at your domain root. Serve it as plain text. Check that your robots.txt does not block it and that it returns a 200 status, not a redirect.

  7. 7

    Link to markdown copies if you have them

    If your platform can serve a .md version of each page, link to those instead of the HTML pages. Documentation tools do this automatically. If not, link the normal URLs. A clean HTML page is still fine.

  8. 8

    Re-check it every quarter

    Dead links in the file are worse than no file. Put a quarterly reminder in your calendar to test every URL and add new key pages. Our Content Tracker can watch the file itself and alert you when it changes.

A complete llms.txt example

Here is a small example for a made-up SEO software company. Read it top to bottom and you have the whole format.

PartWhat the line looks likeWhy it is there
H1 (required)# Acme SEONames the site. The only required line
Summary> Acme SEO is a rank tracking and keyword research tool for small agencies. Docs cover setup, reports, and the API.Two plain sentences a model can quote
ContextPrices and limits are on the pricing page. The API is REST and returns JSON.Facts that do not fit a link list
Section heading## DocsGroups the links below it
Link lineA hyphen, a space, then [Getting started](https://acme.example/docs/start.md): create a project and add keywordsOne page, one note about what it answers
Link lineA hyphen, a space, then [Rank reports](https://acme.example/docs/reports.md): how positions are collected and shownPrefer pages that answer questions
Section heading## PricingA second group
Link lineA hyphen, a space, then [Plans](https://acme.example/pricing): current plans and limitsPoint at the page with real numbers
Optional heading## OptionalReserved name. Models may skip what follows
Link lineA hyphen, a space, then [Changelog](https://acme.example/changelog): release notesUseful but not essential
An example file, line by line. Each row is one line or block in the file.

llms.txt and SEO: does it help you get cited?

No evidence says it does. Google has said it does not use the file for Search or for AI Overviews. The things that do get you cited are the same as ever. Pages that are indexable, answer the question directly, carry real facts with sources, and are mentioned by other sites. Our guide to AI search optimization walks through that work.

So where does the file fit? Treat it as hygiene, like a favicon. Add it, keep it current, and spend your real effort elsewhere. If you want to know whether AI assistants recommend you, you have to check the assistants, not the file.

Pair that with a site audit so the pages you list in the file are actually crawlable and fast. A curated list of blocked or broken pages helps nobody.

Common mistakes

Do
  • +Keep the file short: a summary plus 10 to 30 links with notes
  • +Put the pages that answer questions first, marketing pages last
  • +Use the reserved "Optional" heading for skippable links
  • +Serve it as plain text at the root with a 200 status
  • +Re-test every link each quarter
Don't
  • xPaste your whole sitemap into it
  • xBlock AI crawlers in robots.txt and expect them to read it anyway
  • xAdd headings inside the summary or context section
  • xExpect it to change your Google rankings or AI Overview citations
  • xSkip the one-line notes; they are the useful part

The last point deserves a line. A link list without notes is a sitemap. The notes are what make the file different, because they tell the model what each page answers before it spends any context reading it.

FAQ

Common questions

It is a markdown file at the root of a website that summarizes the site and lists its most useful pages for AI language models. It was proposed in September 2024 by Jeremy Howard of Answer.AI. The format has one required H1 line plus optional summary, sections, and links.

Written by the Zutrix team

Last reviewed September 12, 2026

Zutrix has built rank tracking and SEO software for more than eight years. Our guides come from the same team that runs the product, and every how-to is checked against what we see in real ranking data across the keywords our customers track. We write them for people who are new to SEO and for agencies who want a clear answer fast.

Search volume and difficulty figures come from live Google results and third-party keyword data.