Farasu on TelegramJoin
SEO Learn
SEO for AI Search

llms.txt, Explained Honestly

Written by 4 min read

A file called llms.txt is often recommended as the new must-have for AI search, sometimes described as "robots.txt for AI". It is neither of those things. This page explains what the file actually is, what Google has said about it, and how to decide whether to make one.

What llms.txt is

llms.txt is a proposal, published in 2024, for a plain-text file at the root of a website (yoursite.com/llms.txt) written in Markdown, a simple text format where # marks a heading and - starts a list item. The idea is a short, human-written guide to the site for large language models (LLMs, the systems behind tools like ChatGPT and Gemini): a one-paragraph summary, then links to the pages that matter most, each with a line saying what it is.

A small accounting firm's file might look like this:

# Rahimi Accounting
> Bookkeeping and tax filing for small shops in Shiraz.

## Services
- [Monthly bookkeeping](https://example.com/bookkeeping): what is included and how pricing works
- [Tax filing](https://example.com/tax): deadlines and the documents we need

That is the whole format: a title, a summary, and annotated links.

Two misunderstandings come with the name. It is not like robots.txt: robots.txt tells crawlers what they may fetch, while llms.txt grants and refuses nothing. And it is not a standard. No search engine or AI company is obliged to read it, and the proposal itself is a suggestion, not an agreement between the companies that run crawlers.

What Google says

Google has answered this directly in its documentation on generative AI features. It says you don't need to create new machine-readable files, AI text files, markup, or Markdown to appear in Google Search. About sites that keep such files for other services, it says that doing so will neither harm nor help visibility or rankings in Google Search, because Google Search ignores them.

So for Google, both the ordinary results and AI Overviews and AI Mode, the answer is settled: the file makes no difference. What does make a difference is the same as for every other page in this course: the page is indexed, eligible for a snippet, and worth citing. AI Overviews and AI Mode covers those requirements.

Other AI products are a different question, and here there is no equivalent public answer. A given tool or service may read the file, or may not, and that can change without notice. Claims that a particular assistant "uses llms.txt for ranking" are rarely backed by anything that company has published.

What to do

  • Spend effort first on what Google documents: crawlable pages, a clean sitemap, and content that answers questions clearly.
  • If you want a llms.txt anyway, treat it as a cheap extra: an hour of writing, not a project. Google says it will not hurt you in Search.
  • If you make one, keep it accurate. Link only to pages that exist and that you would want quoted, and update it when those pages move.
  • Do not put anything in it you would not publish. It is a public file anyone can read, and it does not hide or protect any page.
  • To control how AI systems may use your content, use real controls instead; see controlling how AI uses your content.

Common mistakes

Treating it as an AI ranking factor. Google says Search ignores it. No other company has published that it ranks or selects sources with it.

Using it to block AI. A line in llms.txt refuses nothing. Blocking a crawler is done in robots.txt, by that crawler's name, and even that only works for crawlers that choose to obey it.

Paying for it. Generating the file is a few minutes of work with a text editor. A service that sells llms.txt as "AI optimisation" is selling something Google has said it ignores.

Be suspicious of any audit that marks a missing llms.txt as an error. Google's documentation says the opposite: no special file is needed to appear in Google Search, its AI features included. A tool that flags it is following a trend, not the documentation.
Watch (YouTube, in English): Should I use markdown for my site?, Google Search Central, 2026.

Sources: Optimizing your website for generative AI features on Google Search and Google's generative AI controls.

Was this useful?

Counts appear once there are 5 votes.

Not sure whether this affects your site?

Send me the address and I'll check it against this and the rest of the list, then reply with what I find. No cost.

Request a free audit

Related posts