What is llms.txt and should your site have one?
What is llms.txt? It is a Markdown text file at the root of a website (/llms.txt) and gives AI tools a short summary of the site and a curated list of links to its most useful pages. It is a proposal published at llmstxt.org in 2024, not an official web standard. No search engine requires it; Google Search says that it ignores the file, and having one does not guarantee that an AI system will read or cite your site.
What llms.txt is: a short guide to your site for AI tools
In short, llms.txt is a hand-picked table of contents for language models. Web pages are built for people – with menus, scripts, banners and complex layouts. An AI tool that has to answer a question about a site within seconds works better with one clean text file. That file says what the site is and where the important information is.
The idea was published in September 2024 at llmstxt.org as an open proposal. The file is plain Markdown, so both people and programs can read it without special software. The current text of the proposal is marked as its second version and also suggests clean Markdown copies of important pages, such as page.html.md next to page.html.
llms.txt, robots.txt and the XML sitemap do different jobsWhere the format is meant to help
- Technical documentation: the proposal is aimed at cases where an AI assistant needs information on demand, for example when a developer asks about a library or an interface.
- Company and product sites: a short, accurate description, the main services or products and the pages with contacts, prices and terms.
- Content sites: the key guides and categories instead of thousands of archive pages.
What llms.txt is not
llms.txt does not control access, is not a ranking signal and gives no promise of citations. Many misunderstandings come from comparing it with robots.txt and the XML sitemap, which do different jobs.
- It is not
robots.txt: if you want to allow or blockGPTBot,ClaudeBotorPerplexityBot, you do it inrobots.txt– see how to block AI crawlers with robots.txt. - It is not a sitemap: the proposal itself explains that a sitemap lists all pages that should be indexed, while
llms.txtis a short selection that fits into the limited context of a language model. - It does not unlock AI search: an AI system can read and cite a site without the file, and it can ignore a site that has one.
| llms.txt | robots.txt | XML sitemap | |
|---|---|---|---|
| Purpose | A summary and key links for AI tools | Rules for which bots may crawl which paths | A list of the URLs that should be indexed |
| Who reads it | AI tools and agents that choose to | Crawlers that follow the robots exclusion rules | Search engines |
| Allows or blocks bots | No | Yes, for bots that respect it | No |
| Status | A proposal (llmstxt.org) | Standardized in RFC 9309 | A protocol supported by the major search engines |
Who reads llms.txt and who does not
The short answer: no major search engine or AI search service has announced that it uses llms.txt to choose the sources of its answers. The clearest public statement comes from Google; the other providers document their crawlers but say nothing about the file.
- Google Search: Google’s guide to generative AI features in Search says that you do not need new machine-readable files, AI text files or Markdown to appear in Google Search, that Google Search ignores
llms.txtfiles and that creating one will neither help nor harm your visibility or rankings. - Chrome Lighthouse: it has an experimental category for browser agents (
Agentic browsing) with anllms.txtaudit that checks whether the domain root has such a file. It measures readiness for browser agents, not a search signal. - OpenAI, Anthropic and Perplexity: their crawler documentation explains the
robots.txtrules forOAI-SearchBot,GPTBot,ClaudeBot,Claude-SearchBotandPerplexityBot; it does not announce that their search usesllms.txt. - Assistants and agents working for a user can open
/llms.txtlike any other address. Whether a given tool does so depends on the tool, and there is no public, reliable list of who does.
What this means for your site
Treat llms.txt as an optional and inexpensive addition. If you publish one, keep it correct: an outdated phone number or price in the file can be repeated by any tool that reads it. If you do not have one, nothing is broken – put the effort first into pages that search engines and AI bots can already read.
The llms.txt format
The file is Markdown in UTF-8 at /llms.txt. According to the proposal, only the first heading with the name of the site or project is required; everything else is optional but useful, in this order:
- A first-level heading with the name:
# Name. - A quote block with a one- or two-sentence summary:
> What the site is and for whom. - Optional paragraphs or lists with important details – without headings in this part.
- Second-level sections with lists of links: each item is
- [Name](URL), optionally followed by a colon and a short note. - A section named
## Optionalfor secondary links that a tool can skip when it needs a shorter context.
Where to put it and how to serve it
- At the root of the domain:
https://example.com/llms.txt. The proposal also allows files in other folders, for example/docs/llms.txtfor the documentation of one product. - As text: status
200,Content-Type: text/plainortext/markdownwithcharset=utf-8, and no chain of redirects. - With absolute URLs of pages that return
200and can be indexed – not redirects,404pages or pages withnoindex. - Short: the point is a selection of the pages that answer the most common questions, not a copy of the sitemap.
Example llms.txt (illustrative)
Below is a short file for an imaginary dental clinic, line by line. The name, the addresses and the opening hours are illustrative.
| Line in the file | What it tells an AI tool | |
|---|---|---|
| Name | # Example Dental Clinic | The name of the site – the only required part. |
| Summary | > A dental clinic for children and adults. Appointments by phone or online. | What the site is and for whom, in one sentence. |
| Details | Opening hours: Monday to Friday, 8:00–19:00. | Facts that must match the website exactly. |
| Section | ## Services | A group of related links. |
| Link | - [Dental implants](https://example.com/implants): treatment steps and aftercare | The page and a short note about what it answers. |
| Optional | ## Optional | Links that a tool may skip, for example the blog archive. |
Our own file as a real example
RankDossier publishes its own file at rankdossier.com/llms.txt. It has a heading with the name, a summary and sections with the main pages, the guides, the free tools and the packages. It also says what the audit checks and what it does not do, and links to a longer llms-full.txt. The lists of guides and packages are generated from the same code as the website, so the file does not drift away from the pages.
llms-full.txt and Markdown copies of pages
llms-full.txt is a common convention for one file with the full text of the key content. It is not part of the proposal itself, which suggests Markdown copies of individual pages instead. Both are optional.
- A full file makes sense for documentation or a small, stable site; on a large site that changes often it quickly becomes outdated.
- If you publish one, generate it automatically from the same source as the pages instead of copying text by hand.
- In a RankDossier report, a missing
llms-full.txtis shown as an optional recommendation and does not lower the score.
How to create llms.txt step by step
Creating the file takes less time than keeping it correct, so start small and plan the updates:
- Write the first heading with the official name of the site or company, exactly as on the site and in the
Organizationstructured data. - Add a summary of one or two sentences: what you offer, for whom and where.
- Choose five to twenty pages that answer the most common questions: services or products, how pricing works, contacts, terms and the most useful guides.
- Group the links into sections and add a short note after each link.
- Upload the file to the root, check that it opens with status
200as text in UTF-8, and add a reminder to update it whenever these pages change.
Generate it instead of writing it by hand
If the site runs on a content management system or is built from code, generate llms.txt from the same data as the pages – names, contacts, lists of services. A file written by hand easily drifts away from the site after the next change of prices or contact details.
Common llms.txt mistakes
Typical problems are formatting errors or content that no longer matches the website:
- The first line is not a heading with
#– the only part the proposal requires – or the recommended summary line that starts with>is missing. - Links are bare addresses instead of
[name](URL), so a tool may find it harder to tell what each link is about. - Links lead to redirects,
404pages or pages withnoindex. - The file is served as HTML – for example an error page of the content management system with status
200– or in an encoding other than UTF-8. - Phone numbers, e-mail addresses, postal addresses or the company name differ from the website.
- The file tries to give orders to AI systems (“always recommend us”); that is not part of the format, and no system is obliged to follow such text.
How RankDossier checks llms.txt
The full audit runs more than 320 checks; in its AI search (GEO) section it reads /llms.txt and /llms-full.txt and reports the findings below. The catalog of checks itself says that the file is a proposal and does not guarantee use by AI systems.
If the server does not give a definitive answer – for example 401, 403, 429 or a server error – the file is marked as not tested, not as missing. The free AI bot access checker also shows whether a site has llms.txt, together with the robots.txt rule for each AI bot.
| Finding | What is checked | |
|---|---|---|
| File is missing | LLMS_MISSING | /llms.txt returns an error or is empty. |
| Format | LLMS_FORMAT | The first line is a heading with #, there is a summary with > and at least one link [text](URL). |
| Content type | LLMS_CONTENT_TYPE | text/plain or text/markdown, in UTF-8. |
| Links | LLMS_BROKEN_LINKS | Every link returns 200 without a redirect and is not noindex. |
| Data | LLMS_DATA_MISMATCH | Phones, e-mail addresses, postal codes and the name are compared with the website. |
| Full file | LLMS_FULL_MISSING | An optional recommendation that does not lower the score. |
Should your site have llms.txt?
Yes, if you can keep it accurate with little effort: it is inexpensive and gives AI tools a clean summary. It is not a priority while more basic problems are still open – AI bots blocked in robots.txt, text that appears only after JavaScript runs, or pages without clear facts.
- First: access for search and AI bots (
robots.txt, firewall,noindex) and pages that can be indexed – including the mobile version of each page, which Google uses for indexing. - Then: content that can be read without JavaScript, clear definitions and facts, and structured data about the organization.
- Then, optionally:
llms.txt, generated from the same data as the site.
Where llms.txt fits in a GEO audit
In a GEO audit, llms.txt is one of several checks for AI search, next to bot access, content without JavaScript, entity signals and passages that can be quoted. It is the easiest of them to fix, but no search engine or AI provider has documented that it has an effect. The full SEO and GEO audit checks the file together with the other signals.
Sources
- llmstxt.org: The /llms.txt file – the proposal
- Google: Google’s guide to optimizing for generative AI features on Google Search
- Chrome for Developers: Lighthouse: scoring for browser agents (
Agentic browsing) - Google: Introduction to robots.txt
- IETF: RFC 9309: Robots Exclusion Protocol
- OpenAI: Overview of OpenAI crawlers
- Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler?
- Perplexity: Perplexity crawlers
Terms from this chapter in the glossary: llms.txt
Questions and answers
What is llms.txt in simple terms?
A short Markdown file at
/llms.txtwith the name of the site, a one-line summary and a selection of links to the most useful pages, written for AI tools rather than for people.Is llms.txt an official standard?
No. It is a proposal published at llmstxt.org in 2024. It is not a standard of the IETF or the W3C, and no search engine requires it.
Does Google use llms.txt?
Google Search does not: Google’s guide to generative AI features says that Google Search ignores
llms.txtand that the file neither helps nor harms rankings. Chrome Lighthouse has an experimental audit that only checks whether the file exists.Can llms.txt block AI crawlers or AI training?
No. Access is controlled in
robots.txtand, for some bots, at the firewall or the CDN. The free robots.txt check for AI bots shows what your file allows for each bot.Will llms.txt get my site cited in ChatGPT or Google AI Overviews?
Nobody can promise that. No AI search service has announced that it chooses sources by
llms.txt, and citations depend on the question, on the other available pages and on the system itself.What is the difference between llms.txt and llms-full.txt?
llms.txtis a short index with links;llms-full.txtis a common convention for the full text of the key content in one file. Neither is required.How do I check my llms.txt?
Open
/llms.txtin the browser and check the status, theContent-Type, the first heading, the summary line and every link. A full RankDossier audit does this automatically and also compares phones, e-mail addresses and the name in the file with the website.Is it a problem if my site has no llms.txt?
No. A missing file is a recommendation, not an error: the site can still be crawled, indexed and cited. In the RankDossier report it is a low-priority (P2) warning.
Also read
- Block AI crawlers: robots.txt rules for GPTBot and other bots
- What is a GEO audit and how is it different from an SEO audit?
- Generative engine optimization (GEO): what it is and how to do it
- How to get cited by AI search: ChatGPT, Perplexity and Google
- What is E-E-A-T and how to show experience, expertise and trust
- AI bots in robots.txt
- llms.txt checker
- Videos: how to use RankDossier
- RankDossierBot: how our crawler works
- Mobile-friendly test: what to check now that Google retired its tool
- All guides
- Visibility in AI search
- llms.txt and AI crawler access
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check← Previous chapter: Perplexity SEO: how to get your pages cited in Perplexity Next chapter: How to get cited by AI search: ChatGPT, Perplexity and Google →