RankDossier
Guide

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 is llms.txt · Author: The RankDossier team · Updated:

Check your own site Start the free pre-check

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.

Diagram: llms.txt is a summary and key links for AI tools, read by AI tools and agents that choose to; it does not allow or block bots and is a proposal published at llmstxt.org. robots.txt sets rules for which bots may crawl which paths, is read by crawlers that follow the robots exclusion rules, allows or blocks bots that respect it and is standardised in RFC 9309. The XML sitemap lists the URLs that should be indexed, is read by search engines, does not allow or block bots and is a protocol supported by the major search engines. llms.txt Purpose: a summary and key links for AI tools Read by: AI tools and agents that choose to Allows or blocks bots: no Status: a proposal (llmstxt.org) robots.txt Purpose: rules for which bots may crawl which paths Read by: crawlers that follow the robots exclusion rules Allows or blocks bots: yes, for bots that respect it Status: standardised in RFC 9309 XML sitemap Purpose: a list of the URLs that should be indexed Read by: search engines Allows or blocks bots: no Status: a protocol supported by the major search engines Diagram: llms.txt is a summary and key links for AI tools, read by AI tools and agents that choose to; it does not allow or block bots and is a proposal published at llmstxt.org. robots.txt sets rules for which bots may crawl which paths, is read by crawlers that follow the robots exclusion rules, allows or blocks bots that respect it and is standardised in RFC 9309. The XML sitemap lists the URLs that should be indexed, is read by search engines, does not allow or block bots and is a protocol supported by the major search engines. llms.txt Purpose: a summary and key links for AI tools Read by: AI tools and agents that choose to Allows or blocks bots: no Status: a proposal (llmstxt.org) robots.txt Purpose: rules for which bots may crawl which paths Read by: crawlers that follow the robots exclusion rules Allows or blocks bots: yes, for bots that respect it Status: standardised in RFC 9309 XML sitemap Purpose: a list of the URLs that should be indexed Read by: search engines Allows or blocks bots: no Status: a protocol supported by the major search engines
llms.txt, robots.txt and the XML sitemap do different jobs

Where 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 block GPTBot, ClaudeBot or PerplexityBot, you do it in robots.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.txt is 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.txtrobots.txtXML sitemap
PurposeA summary and key links for AI toolsRules for which bots may crawl which pathsA list of the URLs that should be indexed
Who reads itAI tools and agents that choose toCrawlers that follow the robots exclusion rulesSearch engines
Allows or blocks botsNoYes, for bots that respect itNo
StatusA proposal (llmstxt.org)Standardized in RFC 9309A 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.txt files 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 an llms.txt audit 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.txt rules for OAI-SearchBot, GPTBot, ClaudeBot, Claude-SearchBot and PerplexityBot; it does not announce that their search uses llms.txt.
  • Assistants and agents working for a user can open /llms.txt like 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:

  1. A first-level heading with the name: # Name.
  2. A quote block with a one- or two-sentence summary: > What the site is and for whom.
  3. Optional paragraphs or lists with important details – without headings in this part.
  4. Second-level sections with lists of links: each item is - [Name](URL), optionally followed by a colon and a short note.
  5. A section named ## Optional for 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.txt for the documentation of one product.
  • As text: status 200, Content-Type: text/plain or text/markdown with charset=utf-8, and no chain of redirects.
  • With absolute URLs of pages that return 200 and can be indexed – not redirects, 404 pages or pages with noindex.
  • 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 fileWhat it tells an AI tool
Name# Example Dental ClinicThe 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.
DetailsOpening hours: Monday to Friday, 8:00–19:00.Facts that must match the website exactly.
Section## ServicesA group of related links.
Link- [Dental implants](https://example.com/implants): treatment steps and aftercareThe page and a short note about what it answers.
Optional## OptionalLinks 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.txt is 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:

  1. Write the first heading with the official name of the site or company, exactly as on the site and in the Organization structured data.
  2. Add a summary of one or two sentences: what you offer, for whom and where.
  3. Choose five to twenty pages that answer the most common questions: services or products, how pricing works, contacts, terms and the most useful guides.
  4. Group the links into sections and add a short note after each link.
  5. Upload the file to the root, check that it opens with status 200 as 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, 404 pages or pages with noindex.
  • 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.

FindingWhat is checked
File is missingLLMS_MISSING/llms.txt returns an error or is empty.
FormatLLMS_FORMATThe first line is a heading with #, there is a summary with > and at least one link [text](URL).
Content typeLLMS_CONTENT_TYPEtext/plain or text/markdown, in UTF-8.
LinksLLMS_BROKEN_LINKSEvery link returns 200 without a redirect and is not noindex.
DataLLMS_DATA_MISMATCHPhones, e-mail addresses, postal codes and the name are compared with the website.
Full fileLLMS_FULL_MISSINGAn 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.

  1. 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.
  2. Then: content that can be read without JavaScript, clear definitions and facts, and structured data about the organization.
  3. 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

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.txt with 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.txt and 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.txt and, 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.txt is a short index with links; llms-full.txt is 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.txt in the browser and check the status, the Content-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

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 →