Guide · LLM SEO

llms.txt: what it is and how to write one

What is an llms.txt file?

An llms.txt file is a Markdown file placed at the root of a website (/llms.txt) that gives AI models and agents a short, curated map of the site: a title, an optional summary, and optional sections of links with one-line descriptions. It is a proposed convention, not a standard that AI search engines are known to require.

llms.txt gets oversold. It is a tidy idea that takes minutes to implement, and we add one to every site we work on as an LLM SEO agency — but it is not a ranking lever, and this guide will not pretend it is.

Where does llms.txt come from?

The proposal was published by Jeremy Howard in September 2024 and is maintained at llmstxt.org. The reasoning: language models have limited context, and websites are full of navigation, scripts, and markup. A short Markdown file pointing to the pages that matter is easier for a model or agent to use.

What is the llms.txt format?

According to the specification, the file is Markdown with:

  • an H1 with the name of the site or project — the only required element;
  • an optional blockquote with a short summary;
  • optional further detail in plain paragraphs or lists;
  • zero or more H2 sections, each containing a list of links, with an optional description after each link.

A minimal example:

# Example Dental Group

> Family and cosmetic dentistry in Austin, Texas. Three locations.

## Services
- [Dental implants](https://example.com/implants/): Procedure, timeline, and cost ranges
- [Invisalign](https://example.com/invisalign/): Eligibility and pricing

## Company
- [About](https://example.com/about/): Dentists, credentials, and locations

Ours is live at /llms.txt, grouped by topic pillar.

Does llms.txt improve AI visibility?

There is no public evidence that it does for AI search. Google says you do not need to create new machine-readable files or AI text files to appear in AI Overviews or AI Mode. We are not aware of any major AI search engine confirming that it uses llms.txt to select or rank sources.

Where it does help is with AI agents and coding tools that are pointed at a site and need to find the right page quickly. That is a real but narrow benefit.

Should you add one?

Yes — it is nearly free, and it forces a useful exercise: listing your most important pages with a one-line description each. Just keep it in proportion. The work that changes what models say about you is covered in What is LLM SEO?, and none of it is a text file.

Written and maintained by AI SEO Agency HQ. Last reviewed November 2026. Statistics link to their original sources.

Related guides

  • What is LLM SEO?How language models learn about brands, memory vs. retrieval, and what you can influence.

Frequently asked questions

Where does the llms.txt file go?

At the root of the domain, so it is reachable at yourdomain.com/llms.txt.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may access. llms.txt is a curated guide to your most useful content. It grants and restricts nothing.

Does Google use llms.txt?

Google’s documentation says you do not need to create AI text files to appear in its AI features.

What should I include in llms.txt?

Your key pages grouped under clear headings — services, pricing, guides, company — each with a one-line description. Leave out thin, duplicate, or purely navigational pages.

How often should llms.txt be updated?

Whenever you add, remove, or rename a key page. Generating it from the same data as your sitemap keeps it accurate automatically.

See who AI recommends in your market — free

The AI Visibility Audit runs 8–12 buyer prompts across ChatGPT, Google AI Overviews, and Perplexity, shows you the raw answers, and hands you a prioritized fix list. No cost, no obligation.

Want a quick look first? Run the free AI rank check — one prompt, two engines, no email needed.

Book a Call Free Audit