Academy / AEO · answers

AEO · answers

llms.txt: what it is, what it is for and how to publish it

By Fernando BalcázarReviewed on 8 min read

The essentials

  • llms.txt is a Markdown file at the site root that gives language models a short map of your most important pages.
  • It is an open proposal, not a standard: some assistants and tools read it, and Google has said it does not use it for search.
  • It is cheap to publish and replaces nothing: robots.txt, content and structured data still matter more.
  • The format asks for an H1 title, a summary and sections of links.

What it is, without the hype

The llmstxt.org proposal starts from a simple idea: a web page is built for people, with menus, ads and scripts; a model appreciates a clean list of what is on the site and where. llms.txt is that list.

What it does not do: it does not control which bots get in (that is robots.txt), it does not guarantee an AI will cite you and it does not improve your Google rankings. Treat it as a business card for whoever wants to read it.

llms.txt, robots.txt and sitemap.xml

FileWhat for
robots.txtAccess rules: what each bot may crawl.
sitemap.xmlThe full list of URLs to index.
llms.txtA curated summary and the key links, so a model understands what the site is about.

They do not compete: robots.txt controls access, the sitemap lists everything and llms.txt explains and prioritizes.

What Google says

Google made it clear in its guidance on generative AI: its search does not need llms.txt, and having one neither helps nor hurts your visibility in search, AI Overviews and AI Mode included. Those features use the same index as regular search, so the usual things decide: Googlebot can crawl the page, it is indexed and it answers the query well.

If someone promises you more AI Overview citations for publishing an llms.txt, be skeptical.

What it is good for

  • Other systems. Some assistants, agents and developer tools read it to find their way around a site without parsing all the HTML.
  • Internal clarity. Writing it forces you to decide which pages matter most and to describe each in one line. That pays off even if nobody reads the file.
  • Low cost. It takes minutes and has no downside.

Lighthouse 13.3 added an experimental “Agentic Browsing” category with an llms.txt audit: it checks that the file exists and that the server does not error when it is requested. It does not measure visibility. If you publish one, make sure it does not return a 404 or a 500.

The format

PartWhat it holds
# NameRequired. The name of the site or business.
> SummaryOne or two sentences: what, where, for whom.
Free textOptional. Context that helps make sense of the rest.
## SectionGroups of links: services, products, guides.
- [Title](URL): noteEach important page, with a line on what it holds.
llms.txt · example to adapt
# Roma Dental Clinic

> Dental clinic in Roma, Mexico City. Implants, orthodontics and cleanings, with online booking.

## Services

- [Dental implants](https://yoursite.com/implants): what is included, how long they last and starting price.
- [Orthodontics](https://yoursite.com/orthodontics): braces and aligners, with treatment times.

## Information

- [Appointments and hours](https://yoursite.com/appointments): hours, location and how to book.

There is also llms-full.txt, with the site’s full content in one file. It is optional and only worth it if the content rarely changes.

How to publish it

  1. Pick the pages you really want an assistant to know: services, products, pricing, FAQs. Not the whole site.
  2. Write a short, concrete note for each link.
  3. Upload it to the root: yoursite.com/llms.txt, served as text/plain. Open it in the browser: you should see the raw text, not an HTML page.
  4. Update it when those pages change. A broken link here is worse than having no file.

The SEO Army llms.txt generator builds a draft from your sitemap and validates it line by line.

Check it

Check whether your site publishes llms.txt

Common mistakes

  • Pasting the whole sitemap. The value is in choosing and describing.
  • Forgetting the H1 title: without it, the file does not follow the format.
  • Serving it as HTML or behind a redirect to the home page.
  • Expecting miracles. Publish it, but spend more time on content and on letting AI search bots in.

Toolllms.txt generator and validator →