What is llms.txt and what is it for (data from 10,160 sites)
Published on
llms.txt is a Markdown text file placed at /llms.txt in the site root, with the site name, a summary and a list of links to the main pages. It gives a language model a short description of the site without having to parse the HTML. It is a proposal, not a standard: none of the AI companies consulted confirm they use it to choose sources. In the AEO Portugal study 2026, 11.0% of the 10,160 .pt sites analysed have a valid llms.txt.
Data from the AEO Portugal study 2026, collected on 9 and 10 November 2026 from 13,000 randomly drawn .pt domains. The results describe 10,160 active sites, weighted to correct sample bias.
Where does llms.txt come from?
It was proposed by Jeremy Howard, of Answer.AI, on 3 September 2024. The llmstxt.org site describes the format and accepts contributions. No body approves it and there is no final version.
How do you write an llms.txt?
The format defines these parts, in this order:
- An H1 title with the name of the site or project. It is the only required part.
- A blockquote (a line starting with
>) with the site summary. - Free text, optional, with more detail, without headings.
- H2 sections with lists of links. Each line has a
[name](url)link and, if you want, a note after a colon. - A section named "Optional", by convention, for secondary links an agent can skip when it needs less text.
Example for a small business:
# Company name
> What the company does, for whom and where, in two sentences.
## Services
- [Service A](https://example.com/service-a): short description
- [Service B](https://example.com/service-b): short description
## Contact
- [Contacts](https://example.com/contacts): address, phone and email The proposal also suggests publishing a Markdown version of the main pages at the same address with .md appended, for example page.html.md. The file can sit at the root or in a subfolder, such as /docs/llms.txt. You can see this site's llms.txt at rodrigosilvano.pt/llms.txt.
How many Portuguese sites have llms.txt?
The study counts an llms.txt as valid when it returns a 200 status code, as text (not HTML) and with more than 20 characters. 11.0% of sites meet this. Without Wix and Shopify sites, the rate drops to 7.4%. 9.5% of sites answer /llms.txt with a generic HTML page, which was discarded.
| Platform | Share of sample | With a valid llms.txt |
|---|---|---|
| Shopify | 2.6% | 92.8% |
| Wix | 1.6% | 92.3% |
| WordPress | 48.9% | 8.0% |
| WooCommerce | 18.2% | 7.5% |
| PrestaShop | 1.3% | 5.8% |
| Joomla | 2.0% | 0.5% |
| None detected | 41.2% | 6.4% |
On Shopify and Wix, the platform generates the file by default. In the other cases, someone decided to create it. By sector, excluding the platforms that generate it, SaaS and technology leads with 14.2%. E-commerce drops from 29.0% to 12.3% when Shopify is removed. Institutions and associations have 5.9%.
What is it for?
- A summary for agents. An AI agent visiting the site finds in one file what the business does and where the main pages are.
- Technical documentation. According to llmstxt.org, this is where the file is used most: coding agents follow it to find API references and tutorials.
- A list of the pages you want to highlight. Writing the file makes you choose the pages that answer your customers' questions.
Does llms.txt help you appear in ChatGPT or Google?
There is no confirmation. Google says you do not need to create machine-readable files, AI text files or special markup to appear in AI Overviews or AI Mode. OpenAI, Anthropic and Perplexity document the crawlers they use and their robots.txt rules, but none says it reads llms.txt to choose sources.
Creating the file takes little time and does no harm. What decides whether an assistant can read the site is robots.txt, and what decides whether it cites it are pages that answer specific questions. The guide how to make your brand appear in ChatGPT covers those parts.
How do you create llms.txt on your site?
- Open
your-domain.com/llms.txt. If a page of the site appears instead of text, the file does not exist. - If you use Wix or Shopify, the file already exists: check that the text describes your business.
- Otherwise, write the file with the title, the summary and links to your service, pricing and contact pages.
- Save it as
llms.txt, in plain text (UTF-8), and upload it to the site root. - Open the address again and check that the browser shows text and not an HTML page.
- Update the file whenever you add or remove a service page.
To see how your site compares with the 10,160 in the study, run the AEO audit or read the full study.