The llms.txt file: what it is for and how to write it
Updated · GEO/AEO Scanner
llms.txt is a text file at the root of a site that gives AI agents and assistants a clear summary and links to the useful pages. It is a proposed standard, not a requirement: here is what it really brings.
Where llms.txt comes from
The format was proposed by Jeremy Howard on 3 September 2024 (version 2 published in August 2026 on llmstxt.org). According to the project page, thousands of sites publish one, documentation platforms generate it automatically, and OpenAI, Anthropic and Google publish one for their developer documentation.
The format
- A level-1 heading with the name of the site or project (the only required element).
- A short summary as a blockquote (a line starting with ">").
- Optionally a few paragraphs of explanation.
- Level-2 sections with lists of links "name: description". An "Optional" section groups what can be skipped.
# Example SA
> Example SA édite un logiciel de facturation pour les PME suisses et françaises.
Points clés : essai gratuit de 30 jours, données hébergées en Suisse, support en français.
## Produit
- [Fonctionnalités](https://www.example.com/fonctionnalites.md): ce que fait le logiciel
- [Tarifs](https://www.example.com/tarifs.md): formules et prix
## Aide
- [Démarrer](https://www.example.com/aide/demarrer.md): créer un compte et la première facture
## Optional
- [Blog](https://www.example.com/blog.md)What it does, and what it does not
- It helps an agent understand your site quickly, without wading through pages full of menus and scripts.
- It does not replace robots.txt: it neither grants nor refuses access to any crawler.
- It is not a shortcut: for its AI Overviews and AI Mode, Google says no special optimisation is required. An llms.txt does not make up for a site closed to crawlers or unreadable without JavaScript.
- The proposal also recommends a Markdown version of useful pages (page.md), announced by a rel="alternate" type="text/markdown" link.
Make it and check it
Our own site publishes an llms.txt, a Markdown version of every public page and an llms-full.txt file with all the text. The free test checks yours; paid plans generate a ready-to-publish llms.txt from your pages. For every setting, see the AI search optimisation guide.
Frequently asked questions
- Is llms.txt mandatory?
- No. It is a proposed standard, useful to agents, but neither Google nor the assistant publishers make it a condition for appearing in their answers.
- Where do I put the file?
- At the root of the site (https://www.example.com/llms.txt). Version 2 of the proposal also allows one file per folder, covering the pages in that folder.
- llms.txt versus robots.txt?
- robots.txt tells crawlers what they may crawl; llms.txt summarises the site and points to the useful pages. One does not replace the other.