AI SEARCH

What is llms.txt? Format, examples and whether you need one

llms.txt is a proposed standard, published by Jeremy Howard in September 2024, for a markdown file at /llms.txt that gives AI agents a short, curated guide to a website: what it is and which pages to read. It is used most for software documentation. Google Search ignores it, so it will not change your rankings, but it is cheap to publish and some agents and tools do read it.

By Buzzed Technologies ยท Published

What matters

The short version.

  1. 01

    llms.txt is a curated map, not a permission file. robots.txt says who may crawl, sitemap.xml lists every URL, and llms.txt points agents to the few pages worth reading.

  2. 02

    Google says Google Search ignores llms.txt. It neither helps nor hurts rankings or visibility in AI Overviews and AI Mode.

  3. 03

    Generate it from the same content source as your pages so it never drifts, then spend your real effort on the pages it links to.

llms.txt compared with robots.txt, sitemap.xml and structured data

What each file or format is for, who reads it and whether it affects Google Search, based on the llms.txt proposal and Google's documentation as of October 2026.

llms.txt compared with robots.txt, sitemap.xml and structured data
File or formatPurposeWho reads itEffect on Google Search
robots.txtTells crawlers which paths they may fetch, per user agent.Search engines and AI crawlers that honor it; some user-triggered fetchers may not.Controls crawling by Googlebot. A disallowed page is not crawled.
sitemap.xmlLists every indexable URL, with optional last-modified dates.Search engines, including Google and Bing.Helps discovery and recrawling; does not guarantee indexing.
llms.txtA short markdown guide to the site and the pages worth reading.AI agents and tools that look for it, mostly for documentation.None. Google says Google Search ignores it.
llms-full.txtThe full text of key content in one markdown file.Agents that want everything in one request; generated by some docs platforms.None.
Structured data (JSON-LD)Machine-readable facts about the page and its entity, embedded in the page.Search engines and other parsers.Helps Google understand pages and can make them eligible for rich results; not required for AI features.

01

What is llms.txt?

llms.txt is a markdown file, usually served at the root of a website as /llms.txt, that gives large language models and AI agents a concise overview of the site and links to the pages most worth reading. It was proposed by Jeremy Howard of Answer.AI on September 3, 2024, and the proposal at llmstxt.org was revised to version 2 in August 2026.

The problem it addresses is practical. Web pages are built for people, wrapped in navigation, scripts and layout, and converting them back to clean text is imprecise. Context windows are still too small to read most sites whole, and every wasted token costs time and money. An llms.txt file gives an agent a short, expert-written starting point: what this site is, how to interpret it, and where the detail lives.

It is a proposal, not a ratified web standard, and adoption is uneven. The proposal itself says llms.txt files are used most heavily for software documentation, where coding agents follow them to find API references and tutorials. Business sites can use the same structure, but with lower and less certain returns.

02

What goes in an llms.txt file: the format

The format is plain markdown in a fixed order, so a model can read it and ordinary code can parse it. The file can also live below the root, such as /docs/llms.txt, in which case it covers only the pages under that path, and agents are meant to use the most specific file that applies.

The proposal also recommends offering clean markdown versions of important pages at the same URL with .md added, and announcing them with an alternate link of type text/markdown in the page head or an HTTP Link header. The sections of the file itself, in order, are:

  • An H1 with the name of the project or site. This is the only required section.
  • A blockquote with a short summary containing the key information needed to understand the rest of the file.
  • Optional paragraphs or lists, with no headings, that explain the project and how to interpret the linked pages.
  • Zero or more sections under H2 headings, each a markdown list of links, with an optional colon and a one-line note after each link.
  • An optional section headed Optional, for secondary links an agent can skip when it needs a shorter context.

03

What is llms-full.txt?

llms-full.txt is a companion convention, not part of the llmstxt.org proposal. Where llms.txt is a short index of links, llms-full.txt puts the full text of the important content into one file, so an agent can load everything in a single request instead of following links. Documentation platforms popularized it. Mintlify, for example, generates both files automatically and describes llms-full.txt as combining an entire documentation site into a single file.

The tradeoff is size. A full-text file for a large site can exceed what many context windows hold, which defeats the purpose. It works best for focused sites and documentation sets. If you publish one, generate it from the same source as your pages and leave out boilerplate such as navigation, legal text and repeated calls to action.

04

Who reads llms.txt, and who doesn't

Google is explicit. Its guide to optimizing for generative AI search says you don't need AI text files, markup or markdown to appear in Google Search, including AI Overviews and AI Mode, because Google Search itself doesn't use them. It adds that keeping an llms.txt file for other services is fine and will neither harm nor help your visibility or rankings. Google added that clarification to its documentation in June 2026.

The readers that exist are agents working on demand: coding assistants fetching library documentation, and chat assistants or browser agents that look for a site's llms.txt while helping a user. The proposal notes that documentation platforms generate the file automatically, that Chrome's Lighthouse checks for one as part of its agentic browsing audits, and that OpenAI, Anthropic and Google's Gemini team publish llms.txt files for their own developer docs. Publishing a file is not the same as reading other sites' files, though.

As of October 2026, the crawler documentation from OpenAI, Anthropic and Perplexity that we checked does not say their search crawlers use llms.txt for indexing or ranking. Treat any claim that llms.txt boosts AI citations as unproven unless the vendor can point to documentation that says so.

05

llms.txt vs robots.txt vs sitemap.xml

The three files sit side by side at the root of a site and are often confused, but they answer different questions. robots.txt says which automated clients may crawl which paths; it is about permission. sitemap.xml lists every indexable URL so search engines can discover and recrawl them; it is about completeness. llms.txt is a short, human-written guide to the pages an agent should read first; it is about curation.

None replaces the others. llms.txt does not block or allow anything, so it cannot keep content out of training or search; that is robots.txt's job, per user agent. A sitemap is no substitute for llms.txt either. As the proposal points out, a sitemap usually lacks LLM-readable versions of pages, cannot point to useful external resources, and lists far more than fits in a context window. The table on this page compares all three, plus llms-full.txt and structured data.

06

How to write an llms.txt file, step by step

A useful llms.txt takes an hour or two for a small site. The hard part is deciding what to leave out, because a file that lists every URL is just a worse sitemap.

  1. Pick the scope: one file at the root for the whole site, or separate files under paths such as /docs/ if sections serve different audiences.
  2. Write the H1 and summary. Use your exact business or product name, then a one- or two-sentence blockquote saying what you do and for whom.
  3. Add interpretation notes: short paragraphs with facts an agent might get wrong, such as services you do not offer, regions you serve, naming conventions or which version is current.
  4. Choose your key pages, usually a few dozen at most. Group them under H2 headings such as Services, Pricing, Guides or Documentation, and give each link a one-line note saying what the page answers.
  5. Move secondary links into an Optional section so agents with tight context limits can skip them.
  6. Link to clean content. Where you can, point to markdown versions of pages, or at least to pages whose main content is in the server-rendered HTML.
  7. Serve it as plain text at /llms.txt with a 200 status, and check that robots.txt and bot protection do not block it.
  8. Generate it instead of hand-maintaining it. Build the file from your CMS or content data at deploy time so new and retired pages are reflected automatically.
  9. Test it. Give an assistant only your llms.txt, ask it questions about your business, and fix whatever it gets wrong.

07

A real example: how buzzedtech.com builds its llms.txt

Our own site publishes both /llms.txt and /llms-full.txt, and neither is written by hand. Both are generated at build time from the same content registries that render the website: services, use cases, guides, case studies and field notes. When we add or retire a guide, both files change with the next deploy, so they cannot drift from the pages.

The short file follows the proposal's shape. It opens with an H1 for the company name and a blockquote summary, then H2 sections for what we do, services grouped by category, our process, use cases, guides, case studies and field notes. Each entry is a link with a one-line description taken from that page's own metadata. The full file expands each service with what is included, how the work runs and examples, so an agent can answer detailed questions without visiting every page.

We pair it with a robots.txt that explicitly allows OpenAI's and Anthropic's search, user-request and training crawlers. We treat all of this as low-cost context for agents. We do not expect it to move Google rankings, and Google has said it will not.

08

Which platforms help implement llms.txt and structured data?

If you run on a common platform, you may not need to build anything. The llms.txt proposal lists several tools that generate the file automatically: Mintlify, which also creates markdown versions of every docs page; GitBook, for published docs sites; the Yoast SEO and AIOSEO plugins for WordPress; and Wix, which generates one for every Wix site. Several of the same tools handle structured data too. Yoast SEO and AIOSEO output schema.org markup for WordPress pages, Wix offers structured data settings, and many Shopify themes include basic product markup.

Custom sites built on frameworks such as Next.js, Astro or Nuxt usually generate both from code: a route that renders llms.txt from the content source, and JSON-LD components fed by the same data as the page. That takes more work up front but keeps the file, the markup and the visible page consistent.

Whichever route you take, check the output by hand. Auto-generated files often list every URL, including thin tag and archive pages, which defeats the point of a curated guide. And no platform's llms.txt or schema output will fix pages that do not answer the questions your buyers ask.

09

Is llms.txt worth doing?

It is low cost and low certainty. For most business websites an llms.txt file takes a few hours once, and nothing after that if it is generated. In return, agents that look for it get a cleaner starting point. What you should not expect is a ranking boost in Google, or proof that ChatGPT, Perplexity or Claude cite you more because of it.

Prioritize it if you publish developer documentation, run a SaaS product with an API, or expect customers to send AI agents to your site to compare plans or complete tasks. Deprioritize it if your basics are not done: crawlable pages, server-rendered content, accurate entity facts and pages that answer real questions. Those affect every AI engine. llms.txt, at best, helps some of them.

Related services

Related use cases

Continue reading

Questions

No. Google's guide to optimizing for generative AI search says Google Search does not use llms.txt or other AI text files, and that creating them will neither help nor hurt your visibility or rankings, including in AI Overviews and AI Mode. Google also says it is fine to maintain the file for other services or systems that use it.

At the root of your domain, so it loads at yourdomain.com/llms.txt as plain text with a 200 status. The proposal also allows files at subpaths, such as /docs/llms.txt, which cover only the pages under that path. Some platforms also serve a copy under /.well-known/, but the root location is the convention the proposal describes.

No. robots.txt tells crawlers what they are allowed to fetch. llms.txt is a curated reading list that tells AI agents what your site is and which pages matter. llms.txt cannot block anything, so if you want to stop AI training or crawling, use robots.txt rules for the specific user agents, such as GPTBot or ClaudeBot.

OpenAI's crawler documentation does not say that OAI-SearchBot or GPTBot uses llms.txt, and we found no official statement that ChatGPT search ranks or cites sites based on it. ChatGPT can read any public file when a user or agent fetches it, including llms.txt. Treat claims of a ChatGPT citation boost as unproven until OpenAI documents one.

Your business name as the H1, a one-sentence summary of what you do and where, a few notes that prevent common mistakes such as services you don't offer, then grouped links to your key pages: services, pricing, locations, case studies, FAQs and contact. Give each link a short description and keep the list to the pages you would want a new customer to read.

Yes. Yoast SEO and AIOSEO generate one for WordPress, Wix generates one for Wix sites, and Mintlify and GitBook create them for documentation sites. Online generators can also crawl a site and draft a file. Review any generated output, because tools tend to list every URL, and the value of llms.txt comes from choosing the few pages that matter.

If you publish documentation or content that agents use heavily, yes. The llms.txt proposal recommends serving a clean markdown version of each important page at the same URL with .md added, and linking to those versions from llms.txt. For a typical marketing site, server-rendered HTML with clear headings is usually enough.

Not in Google Search: Google says it ignores the file, so it cannot help or hurt rankings there. The realistic risks are small and practical, such as a stale file that sends agents to retired pages, or one that promotes URLs you would rather not feature. Generate it automatically and review it whenever your site structure changes.

Sources and further reading

Next step

Get your AI-readable files right

Send us your site and the pages you most want AI tools to read. We will check your robots.txt, sitemap, structured data and llms.txt together and fix whatever is missing or out of sync.

What Is llms.txt? Format, Examples and Who Uses It