TR Sign in Sign up

llms.txt Explained: How to Create One and What It Actually Does

Published: · Author: · 7 min read

llms.txt is a Markdown text file, placed at a site's root or under a subpath, that gives large language models and AI agents a short summary of the site and links to its most important pages. It is a 2024 proposal, not a standard. As of October 2026, Google's official documentation states plainly that Google Search ignores it.

The useful question, then, is not whether llms.txt improves rankings but who actually reads it, and how much your brand should prioritise it.

Where did llms.txt come from, and what problem does it solve?

Jeremy Howard published the proposal on llmstxt.org on 3 September 2024. The page was revised on 10 August 2026, and the author describes this revision as version 2, updated on the basis of two years of adoption.

The motivation is practical. Web pages are built for people, and navigation, scripts and layout make it hard for a language model to extract clean text. Context windows have grown, but the proposal notes they are still too small for most websites in full. llms.txt therefore offers a curated index small enough to fit in context, plus links to clean Markdown pages for detail.

Howard expected llms.txt to be useful mainly at inference time, when a user or agent needs specific information, rather than for training, though he notes training runs could use it too. llms.txt is a convenience for machines reading your site, not a shortcut to the visibility in AI answers that generative engine optimisation (GEO) aims at.

The file format: what goes into llms.txt?

The file is plain Markdown. The proposal chose Markdown over XML or another structured format because both people and language models can read it, and standard parsers can process it. Sections appear in a fixed order:

OrderElementRequired?Purpose
1H1 heading (#)Yes, the only required elementName of the project or site
2Blockquote (>)NoShort summary of the site
3Paragraphs or lists without headingsNoDetail on how to interpret the file
4H2 file lists (##)NoLinks as [name](url), optionally followed by : and a note
5## Optional sectionNoSecondary links an agent can skip when it needs a shorter context

A sample llms.txt

The example below is a fictional site, written only to illustrate the format:

# Example Brand

> Example Brand makes cloud bookkeeping software for small businesses. This file points to Markdown versions of our product, pricing and support pages.

Prices exclude VAT and are billed monthly.

## Product
- [Features](https://example.com/features.md): Invoicing, accounts and reporting modules
- [Pricing](https://example.com/pricing.md): Plans and user limits

## Support
- [Setup guide](https://example.com/support/setup.md)
- [FAQ](https://example.com/faq.md)

## Optional
- [Company history](https://example.com/about.md)

The proposal also asks that pages an agent may need are available as clean Markdown at the same address: either with .md appended (page.html.md) or with the extension replaced (page.md); URLs without a file name use index.html.md or index.md. The file can sit at the root or at any path within the site, in which case it covers the pages beneath that path.

Version 2 also defines discovery. A page points to its Markdown version with rel="alternate" type="text/markdown", and to the llms.txt that covers it with rel="describedby". Both can be expressed as an HTML <link> element or an HTTP Link: header.

What is llms-full.txt, and how does it differ?

llms-full.txt is not part of the proposal on llmstxt.org; it is a convention popularised by documentation platforms. According to Mintlify's documentation, llms-full.txt combines an entire documentation site into a single file, with each page's title, source URL, description and full Markdown content, and Mintlify generates both files automatically.

llms.txt is a table of contents from which the agent chooses; llms-full.txt is the content itself, delivered in one request but liable to exceed the context window on a large site. The proposal's early FastHTML example handled this trade-off with two files generated by the llms_txt2ctx tool: llms-ctx.txt without the "Optional" links and llms-ctx-full.txt with them (llmstxt.org).

How do you create an llms.txt file?

StepWhat to doWhat to watch
1. Choose the scopeIdentify the pages an agent needs to answer accurately about you: products, prices, policies, documentation, contactDo not copy the sitemap; selectivity is the point
2. Write the summaryUse the H1 and blockquote to describe what the brand does in one factual paragraphA verifiable definition, not a slogan
3. Group the linksOrganise links under H2 headings, each with a short noteNotes must match the page content exactly
4. Provide Markdown versionsPublish clean .md versions of the linked pagesIf that is not feasible, link to the simplest HTML version
5. Publish and testPlace the file at /llms.txt and confirm it loadsIt must not return a server error; review robots.txt and firewall rules for bot blocking
6. Plan maintenanceUpdate the file whenever prices, products or policies changeA stale file can do more harm than no file

The proposal's site lists Mintlify, GitBook, Yoast SEO, AIOSEO and Wix among platforms that can generate the file; if your CMS offers this, generate automatically and review the output. Controlling crawler access is a separate subject, covered in our guide to AI crawlers and robots.txt.

Which systems support llms.txt? (October 2026)

Confusion here usually comes from blurring publishing the file with consuming it. What can be verified:

SystemVerified positionSource
Google Search and its generative AI featuresIgnores the file; it neither helps nor harmsGoogle Search Central, July 2026
Chrome LighthouseIncludes an llms.txt audit in the experimental "Agentic Browsing" categoryChrome for Developers, May 2026
Documentation platforms (e.g. Mintlify)Generate the file automaticallyMintlify documentation
AI labsAccording to the proposal's site, OpenAI, Anthropic and Gemini publish llms.txt files for their developer docsllmstxt.org

Google's guide to optimising for generative AI features in Search states that you don't need to create new machine-readable files, AI text files, markup or Markdown to appear in Google Search, and that llms.txt files will neither harm nor help a site's visibility or rankings in Google Search, because Google Search ignores them. It adds that maintaining them for other services is "completely fine".

Chrome's Lighthouse documentation describes llms.txt as "an emerging convention". The audit only flags a problem when a server error occurs while fetching the file; if the file is missing (a 404), the audit is marked not applicable, because providing it is "optional at the moment". According to the category documentation, the category is experimental, requires Chrome 150 or later and produces no weighted score; neither page mentions search rankings.

The two Google positions do not conflict: Search does not consult the file, while Lighthouse assesses how usable a site is for agents running in a browser. And an AI lab publishing llms.txt for its own documentation does not show that its chat product consults the file when choosing web sources. As of October 2026, we could not find official documentation from OpenAI, Anthropic or Perplexity describing llms.txt as a signal their crawlers or answer systems use.

Does llms.txt actually work? The limits

When should your brand prioritise it?

Site typePriorityRationale
Developer documentation, APIs, software productsHighAccording to the proposal's site, llms.txt files are used most heavily for software documentation, and its own example is the documentation of a Python library (FastHTML)
SaaS or e-commerce with complex products and pricingMediumA short route to accurate prices and features is valuable to agents
Corporate brochure site, local businessLowFew pages; clean HTML and accurate information matter more

Either way, treat llms.txt as one small technical step within a broader plan; our step-by-step GEO implementation plan shows where it fits. Once the file is live, checking server logs for clients requesting /llms.txt lets you observe usage instead of guessing.

The real measure is how your brand appears in AI answers, which only repeated measurement reveals. Tools such as GEOJET re-ask the same questions every 1–3 days across ChatGPT, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Claude, Grok and DeepSeek, which makes it possible to compare the period before and after a change like this.

Sources

← All articles