LLM Optimisation

llms.txt: What It Is, an Example, and Whether You Need One

llms.txt: What It Is, an Example, and Whether You Need One

llms.txt is a proposed Markdown file, placed at the root of a website (/llms.txt), that gives AI agents a short summary of the site and links to its most useful pages. It was proposed by Jeremy Howard in September 2024 (llmstxt.org). It’s easy to add, but no major AI search provider has said it uses llms.txt to choose which sources to cite.

Here’s what it is, an example you can copy, and my honest take on whether it’s worth your time.

Why it was proposed

AI agents struggle with full web pages: navigation, ads, scripts and layout get in the way of the content. The idea behind llms.txt is to give agents a clean, Markdown summary and a curated list of links, so they can find the right information quickly.

Think of it as a hand-written table of contents for machines, as opposed to a sitemap, which lists every URL without explaining any of them.

The format

Annotated structure of an llms.txt file showing H1, blockquote summary, notes and H2 link lists

According to the specification, sections go in this order (llmstxt.org):

  1. An H1 with the site or project name. This is the only required part.
  2. A blockquote with a short summary.
  3. Optional paragraphs or lists with more detail (no headings).
  4. H2 sections with link lists, each link written as [name](url) with an optional note after a colon.
  5. An “Optional” H2 section for links an agent can skip if it needs less context.

An example llms.txt

Here’s a version for a site like this one:

# Answer Engine Land

> Practical guides to answer engine optimization (AEO), generative
> engine optimization (GEO) and AI search, written by Shubham Khurana.

All guides are free. Pages are updated when platforms change their
documentation.

## Start here
- [What is AEO?](https://answerengineland.com/what-is-aeo/): plain-English definition
- [SEO vs AEO vs GEO](https://answerengineland.com/seo-vs-aeo-vs-geo/): how the three differ
- [Answer engine optimization guide](https://answerengineland.com/answer-engine-optimization-guide/): full method

## Platform guides
- [How to rank in ChatGPT](https://answerengineland.com/how-to-rank-in-chatgpt/)
- [How to rank in Google AI Overviews](https://answerengineland.com/how-to-rank-in-google-ai-overviews/)
- [Perplexity SEO](https://answerengineland.com/perplexity-seo/)

## Optional
- [AI search optimization 90-day plan](https://answerengineland.com/ai-search-optimization-90-day-plan/)

Save it as plain text at https://yourdomain.com/llms.txt.

Does llms.txt help you get cited?

My honest answer: probably not much, today.

  • The llms.txt site notes that OpenAI, Anthropic and Google publish llms.txt files for their developer documentation. That shows the companies use the format for their own docs. It doesn’t say their search products read your llms.txt to decide citations.
  • Google’s guidance on appearing in AI Overviews lists normal indexing and SEO requirements, and says no special optimisation is needed (Google). llms.txt isn’t mentioned.
  • OpenAI’s documentation for appearing in ChatGPT search focuses on allowing OAI-SearchBot (OpenAI).

Where it can help: coding assistants and AI agents that are pointed at your site, especially for software documentation.

Should you add one?

My rule:

  • Software, API or documentation site: yes. Agents genuinely use these.
  • Content site or business site: optional. It takes 20 minutes; just don’t expect it to move citations.
  • If you only have time for one thing: fix robots.txt for AI search crawlers and rewrite your top pages answer-first instead.

llms.txt generators

Several free generators build a draft from your sitemap. They save typing, but the value of llms.txt is curation: choosing the 10–20 pages that matter and describing them well. Edit any generated file by hand.

Related guides

FAQ

What is llms.txt?
A proposed Markdown file at /llms.txt that summarises a website and links to its key pages for AI agents.

Who created llms.txt?
Jeremy Howard proposed it in September 2024. The project is hosted by Answer.AI.

Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may access. llms.txt describes what’s useful. It doesn’t grant or block access.

Do ChatGPT and Google use llms.txt?
Neither has said its search answers use your llms.txt to pick sources. Their official guidance focuses on crawler access and normal SEO.

Sources

Shubham Khurana

Written by

Shubham Khurana

Founder, DigiBounce · Performance Marketing & AEO Strategist

Shubham Khurana is the founder of DigiBounce and an experienced digital marketing & SEO consultant with over 9 years of experience. He specialises in Answer Engine Optimisation (AEO), Generative Engine Optimisation (GEO), performance marketing, and scaling high-growth brands across modern AI and search engines.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *