llms.txt is a plain Markdown file at the root of a website (yourdomain.com/llms.txt) that gives AI models a short summary of the site and a curated list of its most useful pages. It was proposed by Jeremy Howard of Answer.AI in September 2024 as a way to help language models find the right content without wading through navigation, ads and scripts.
The llms.txt format
The proposal is deliberately simple:
- An H1 with the site or project name (required).
- A blockquote with a one or two sentence summary.
- Optional paragraphs with extra context.
- One or more H2 sections containing Markdown lists of links, each with an optional description after a colon.
- An optional section titled "Optional" for secondary links that can be skipped when context is short.
# Example Plumbing
> Gas Safe registered plumbers serving Leeds and West Yorkshire since 2009.
> Boiler servicing, repairs, installations and emergency call-outs.
## Services
- [Boiler servicing](https://example.com/boiler-service): Annual service, prices and what's included
- [Emergency plumber](https://example.com/emergency): 24/7 call-out, response times and fees
## Help
- [Prices](https://example.com/prices): Full price list for 2026
- [FAQ](https://example.com/faq): Common questions about bookings and guarantees
## Optional
- [About us](https://example.com/about)
Some sites also publish llms-full.txt, a single file containing the full text of their key pages in Markdown.
Does llms.txt actually work? The honest answer
Adoption has grown fast, but usage by AI systems has not kept up. In June 2026 Ahrefs analysed 137,210 domains and found that about 28% published an llms.txt file, but 97% of those files received zero requests in the month studied. Of the requests that did happen, most came from SEO tools and other bots; AI bots made up about a fifth, with GPTBot the most frequent (Ahrefs llms.txt study).
No major AI company has publicly committed to using llms.txt as a ranking or retrieval signal. So:
- Don't expect llms.txt to boost your AI visibility on its own.
- Do publish one anyway if it takes you ten minutes. It's harmless, helps AI coding tools and agents that do read it, and positions you well if adoption grows.
- Prioritise robots.txt, sitemaps, server-rendered HTML and answer-first content, which demonstrably affect retrieval today.
How to create an llms.txt file
- Open our free llms.txt Generator.
- Enter your site name, a one-sentence summary and your key pages grouped into sections.
- Download the file and upload it to your web root so it's served at /llms.txt.
- Make sure it's served as
text/plainortext/markdown, not wrapped in an HTML template. - Optionally reference it with a Link header or
<link rel="alternate">tag.
Serving it from PHP
If your site is PHP and MySQL, you can generate llms.txt dynamically from your pages table so it never goes stale. Add a rewrite rule in .htaccess:
RewriteRule ^llms\.txt$ /llms.php [L]
Then output header('Content-Type: text/plain; charset=utf-8'); followed by your Markdown.
llms.txt vs robots.txt vs sitemap.xml
| File | Purpose | Read by |
|---|---|---|
| robots.txt | Tells crawlers what they may and may not fetch | All major crawlers, including AI crawlers |
| sitemap.xml | Lists every canonical URL with lastmod dates | Search engines and many AI crawlers |
| llms.txt | Curated, human-readable summary and key links for LLMs | Some AI agents and tools; adoption still limited |
llms.txt doesn't control access. To allow or block AI crawlers, use robots.txt (see robots.txt for AI crawlers).
Frequently asked questions
Is llms.txt an official standard?
No. It's a community proposal published at llmstxt.org. It isn't an IETF or W3C standard, and no major AI provider has formally committed to reading it.
Does Google use llms.txt?
Google has not said it uses llms.txt for search or AI Overviews. Google's AI features rely on its normal search index and crawling.
Where do I put llms.txt?
In the root of your domain, so it loads at https://yourdomain.com/llms.txt, the same place as robots.txt.
Should llms.txt list every page?
No. It's meant to be curated. List the 10 to 50 pages that best explain what you do and answer common questions. Your XML sitemap is the place for every URL.