What is llms.txt? The file explained, with real examples
By Omar AlDabbas, co-founder of xfixLast updated:
llms.txt is a proposed Markdown file, usually at yoursite.com/llms.txt, that gives AI tools a short summary of a site and links to its most useful pages. Jeremy Howard of Answer.AI proposed it on llmstxt.org in September 2024. It is a proposal, not an official standard, and no major AI company has confirmed using it to rank or cite pages.
Where it comes from
Jeremy Howard published the proposal at llmstxt.org on 3 September 2024, and the page was last revised on 10 August 2026. It describes the file as a way to help agents use a website, and says the specification is open for community input.
What goes in the file
The proposal sets the parts of the file in a fixed order, written in Markdown:
- An H1 with the name of the site or project. This is the only required part.
- A blockquote, a line starting with >, with a short summary.
- Optional paragraphs or lists with more detail, without headings.
- Optional sections, each under an H2 heading, listing links as - [name](url), with a note after a colon if you want one.
- By convention, a section named Optional for secondary links that an agent can skip when it needs a shorter context.
The file usually sits at the root of the site. The current proposal also allows one inside a folder, such as /docs/llms.txt, covering the pages under it, and suggests offering a clean Markdown copy of each page at the same address with .md added. A small file for a shop could look like this:
# Example Store
> Handmade leather bags, shipped from Riyadh across the Gulf.
## Products
- [Bags](https://example.com/bags): every bag, with sizes and prices
- [Shipping](https://example.com/shipping): costs and delivery times by country
## Optional
- [About us](https://example.com/about)Real llms.txt examples
Three public files, fetched on 20 October 2026. Each uses the format a little differently.
- llmstxt.org/llms.txt, the proposal's own file: the H1 # llms.txt, a summary that begins "A proposal that those interested in providing LLM-friendly content add a /llms.txt file", and one ## Docs section with three links to .md pages.
- developers.cloudflare.com/llms.txt, an index of indexes: under headings such as ## Application performance, each Cloudflare product links to its own llms.txt, for example the cache docs at developers.cloudflare.com/cache/llms.txt.
- docs.stripe.com/llms.txt: after the H1 # Stripe Documentation, it skips the blockquote and opens with plain instructions for coding assistants, such as checking the npm registry for the latest package version, then lists .md pages under ## Docs.
llmstxt.org also says that OpenAI, Anthropic and Google's Gemini publish llms.txt files for their own developer docs.
Who reads it
Publishing a file and reading one are different things. The proposal says llms.txt is used on demand, when an agent needs information while helping a user, for example a coding assistant looking up a library's documentation. No major AI company has confirmed that its search or chat product uses llms.txt to decide which pages to rank or cite.
llms.txt, robots.txt and sitemap.xml
- robots.txt says what crawlers may fetch. It controls access.
- sitemap.xml lists the pages you want search engines to index.
- llms.txt is a short reading list with context. It controls nothing: a bot that cannot fetch your pages is not helped by it.
Should you add one?
It takes minutes and does no harm when it is accurate, and it is most useful for documentation, developer tools and sites with a clear set of key pages. It will not fix a page that crawlers cannot read, so check crawler access and the text in your HTML first.
- See whether you already have one, and whether it follows the format, with the free llms.txt checker.
- No file yet? Build a first draft from your sitemap with the free llms.txt generator, then edit it.
- On Shopify, your store may already serve a file you did not write: Shopify wrote an llms.txt for your store.
Rather have us fix it?
We make the fixes on your page, then re-check it to prove they work. From $300 per page; exact quote after we see your page. We reply within one working day. Run the full check and ask for a quote under the result.
Questions
Is llms.txt an official standard?
No. It is a proposal published at llmstxt.org in September 2024 by Jeremy Howard, and its specification is open for community input.
Does ChatGPT use llms.txt?
No major AI company, OpenAI included, has confirmed using llms.txt to rank or cite pages. Whether ChatGPT search can use a page depends first on whether OAI-SearchBot may crawl it and whether its text is in the HTML.
Where do I put llms.txt?
At the root of the site, so it opens at yoursite.com/llms.txt. The current proposal also allows a file inside a folder, such as /docs/llms.txt, covering the pages under that folder.
What is the difference between llms.txt and robots.txt?
robots.txt tells crawlers what they may fetch. llms.txt suggests what is most worth reading. One controls access, the other is a reading list.