By the PreIndex teamUpdated Based on Google Search Central documentation
In short
- llms.txt is a proposed Markdown file at /llms.txt that gives AI tools a short summary of your site and links to its key pages.
- Google has said its search doesn’t use llms.txt, so it won’t change rankings or AI Overviews.
- It’s most useful for documentation, developer tools and product sites that people explore with AI assistants.
- llms.txt doesn’t allow or block anything. Use robots.txt to control AI crawlers.
What is llms.txt?
llms.txt is a proposed standard, published in September 2024 by Jeremy Howard of Answer.AI. It is a Markdown file at /llms.txt that sums up a site for large language models: a title, a one-line summary, and lists of links to the pages that explain the site best.
Web pages are full of menus, scripts and ads that waste a model’s limited context window. llms.txt hands it the short version, in the same spirit as robots.txt giving crawlers rules and sitemap.xml giving search engines a list of pages.
The llms.txt format
The file is plain Markdown, in a fixed order:
- An H1 with the site or project name. This is the only required part.
- A blockquote with a one-line summary.
- Optional paragraphs with anything a model should know first.
- H2 sections, each a list of links:
- [Title](https://…): note. - An optional section called
Optional, for links that can be skipped when space is short.
# Acme Analytics
> Privacy-first web analytics for small teams.
Acme runs without cookies and is hosted in the EU.
## Docs
- [Quick start](https://acme.com/docs/start): install in five minutes
- [API reference](https://acme.com/docs/api): every endpoint
## Product
- [Pricing](https://acme.com/pricing): plans and limits
## Optional
- [Changelog](https://acme.com/changelog)The proposal also suggests an llms-full.txt with the full text of your docs in one file, and Markdown copies of pages at the same URL plus .md. Both are optional.
llms.txt vs robots.txt vs sitemap.xml
| robots.txt | sitemap.xml | llms.txt | |
|---|---|---|---|
| Purpose | Crawling rules | Every page to index | The few pages worth reading |
| Format | Plain text rules | XML | Markdown |
| Read by | All major crawlers | Search engines | Some AI tools, on request |
| Blocks access? | Yes, for crawlers that obey it | No | No |
| Official standard? | Yes (RFC 9309) | Yes (sitemaps.org) | No, a proposal |
Does llms.txt help SEO or AI visibility?
Be realistic. Google’s Gary Illyes said in 2025 that Google doesn’t support llms.txt and has no plans to, and that normal SEO is what gets pages into AI Overviews. John Mueller compared it to the old keywords meta tag. No major AI search engine has confirmed that it uses the file to choose sources.
It still has real uses. AI coding assistants and documentation tools read it, many developer platforms publish one, and it gives anyone who pastes your site into an AI chat a clean starting point. It costs a few minutes to make. If you add one, keep it short and keep it current.
What to put in your llms.txt
- An overview page that explains what the site or product is.
- Getting-started guides, key documentation and API references.
- Pricing, plans and limits, which AI assistants are often asked about.
- Policies people ask about: refunds, privacy, terms.
- A one-line note per link saying what the page answers.
Controlling AI crawlers is a different file
llms.txt can’t stop anyone from reading your site. To allow or block AI crawlers, use robots.txt with their user agents, for example GPTBot, ClaudeBot, PerplexityBot, or Google-Extended, which controls whether Google may use your content to train and ground its Gemini models without affecting Google Search.
To build the link list quickly, extract your pages with the Sitemap URL Extractor, or use the sitemap import in the generator above.
Frequently asked questions
Where do I put llms.txt?
In the root of your site, so it opens at https://yoursite.com/llms.txt, next to robots.txt.
Is llms.txt an official standard?
No. It is a community proposal from 2024. Some developer tools support it, but it is not an official web standard.
Does Google use llms.txt?
Google has said its search does not use llms.txt, so it has no effect on Google rankings or AI Overviews.
What pages should I include?
The ones that explain your product or site best: an overview, key guides or docs, pricing, and policies. Ten to fifty links is plenty for most sites.
Is llms.txt the same as robots.txt?
No. robots.txt sets crawling rules that crawlers obey. llms.txt doesn’t allow or block anything; it only points AI tools to useful content.
How do I block AI crawlers?
Add rules for their user agents, such as GPTBot, ClaudeBot or Google-Extended, to your robots.txt. llms.txt has no effect on access.