GEO Agency Hub

What Is llms.txt? What It Does, Who Reads It and Whether You Need One

llms.txt explained: the format, how it differs from robots.txt, what Google says, who actually requests the file according to Ahrefs data, and when to add one.

A dark card showing an llms.txt file in Markdown with a title, summary and link sections, connected to a white card where an agent fetches and checks the listed links

Agencies to consider

A rotating selection from the directory.

Compare all agencies
  1. Geeky Tech

    Surrey, United Kingdom

    Surrey B2B agency offering GEO, SEO and paid search for SaaS and tech companies.

    • SaaS & Technology
    • B2B
  2. GTMLab

    Jakarta, Indonesia

    B2B SEO, GEO Agency and performance marketing run as one lead-generation system for brands across Asia.

    • B2B
    • Healthcare
    • SaaS & Technology
    • +4
  3. Rocket Agency

    Sydney, Australia

    Sydney and Melbourne agency offering GEO and AI search work next to technical and local SEO.

    • Professional Services
  4. ThatWare

    Kolkata, India

    Kolkata agency focused on AI search optimisation, GEO, AEO and entity SEO.

    llms.txt is a Markdown file placed at the root of a website, at /llms.txt, that gives AI agents a short summary of the site and a curated list of links to clean, readable versions of its most useful pages. It was proposed by Jeremy Howard in September 2024. It helps AI coding tools and agents find documentation quickly, but it does not control crawling, and Google says its search and AI features ignore it. For most businesses it is a cheap, optional extra, not a way to get cited in AI answers.

    This guide explains what the file contains, who actually reads it, what Google and the data say, and whether your site needs one.

    Key takeaways

    • llms.txt is a guide for AI agents, not a permission file. Access is still controlled by robots.txt.
    • Google says it does not use llms.txt and that creating one “will neither harm nor help” your visibility in Google Search, including AI Overviews and AI Mode.
    • An Ahrefs study of 137,210 domains found 28% published an llms.txt file, and 97% of those files received no requests at all in May 2026.
    • It is most useful for developer documentation, APIs and complex product information that agents need to read precisely.

    What llms.txt is

    The llms.txt proposal starts from a simple problem. Web pages wrap their information in navigation, ads and JavaScript, which makes them hard for language models to read, and most sites are too large to fit in a model’s context window. The proposal offers a single, small file that points agents to the parts that matter.

    Version 2 of the proposal, last modified on 10 August 2026, says it was updated after two years of adoption: “thousands of sites publish an llms.txt file, documentation platforms generate one automatically, and Chrome’s Lighthouse audits sites for one as part of its agentic browsing checks.” OpenAI, Anthropic and Google publish llms.txt files for their own developer documentation.

    What goes in an llms.txt file

    The format is plain Markdown in a fixed order. Only the first heading is required:

    1. An H1 with the name of the site or project.
    2. A blockquote with a short summary.
    3. Optional paragraphs or lists with more detail, without headings.
    4. Optional sections under H2 headings, each a list of links in the form [name](url): notes.

    A section called “Optional” is used by convention for links an agent can skip when it needs a shorter context. A simple example for a software company:

    # Acme Analytics
    
    > Product analytics for mid-size SaaS teams. Plans start at $49 a month.
    
    Acme tracks events, funnels and retention. All prices are in USD.
    
    ## Docs
    
    - [Getting started](https://acme.com/docs/start.md): install and first event
    - [API reference](https://acme.com/docs/api.md): endpoints and limits
    - [Pricing](https://acme.com/pricing.md): plans and usage fees
    
    ## Optional
    
    - [Changelog](https://acme.com/changelog.md)

    The proposal also recommends offering a Markdown version of important pages at the same URL with .md added, and pointing to them with standard link relations: rel="alternate" type="text/markdown" for the Markdown copy and rel="describedby" for the llms.txt file that covers a page. A file can sit at the root or in a subfolder, such as /docs/llms.txt, and covers the pages under its path.

    llms.txt vs robots.txt

    robots.txt llms.txt
    Purpose Tells crawlers what they may fetch Tells agents what is worth reading
    Status Long-standing standard honoured by major crawlers Proposal, adopted voluntarily
    Blocks or allows bots Yes No
    Used by Google Search Yes No
    Format Directives such as User-agent and Disallow Markdown headings, summary and links

    If you want to control which AI systems can read your site, robots.txt is the tool. Our guide to AI crawlers lists the user agents and what each one does.

    What Google says about llms.txt

    Google is unusually direct. Its guide to optimising for generative AI features, published in May 2026, lists llms.txt among things you can ignore for Google Search: “You don’t need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search (including its generative AI capabilities), as Google Search itself doesn’t use them.”

    It adds that it is “completely fine” to maintain an llms.txt file for other services, and that doing so “will neither harm nor help your site’s visibility or rankings in Google Search, as Google Search ignores them.”

    Google’s Chrome team, meanwhile, added an llms.txt check to Lighthouse’s experimental agentic browsing audits. Asked about the contradiction, Google’s John Mueller said llms.txt is “not done for search” and described it as a “temporary crutch, perhaps to save some tokens” for AI coding tools reading developer documentation, Ahrefs reported. In short: Search ignores it, agents may use it.

    Who actually reads llms.txt files

    In June 2026 Ahrefs published an analysis of server logs from 137,210 domains. It found that 28% of those domains published an llms.txt file, a figure Ahrefs treats as an upper bound because its customers skew technical. Of the roughly 38,000 valid files, 97% received no requests at all in May 2026.

    Bar chart of requests to llms.txt files by bot type: SEO audit tools 21.7%, other or unidentified 14.9%, general web crawlers 13.1%, tech profiling tools 11.6%, AI agents 10.5%, AI training crawlers 5.3%, AI retrieval bots 1.1%.
    Who requests llms.txt files, among the 3% of files that received any traffic. Data: Ahrefs, June 2026.

    Among the files that were read, 96% of requests came from bots, and 77% of those bots were not AI tools at all: SEO audit tools, general crawlers and technology profilers made up most of the traffic. Named AI bots accounted for 19.5% of requests, led by AI agents at 10.5%. AI retrieval bots, the kind that fetch pages for search answers, made up just 1.1%. Ahrefs also found that no AI bot requested llms.txt from sites that did not have one, so they are not going looking for it.

    The pattern matches the proposal’s own description: llms.txt is used most for software documentation, where coding agents follow it to API references and tutorials.

    Should you add an llms.txt file?

    Add one if you publish developer documentation, an API, technical product data or long policies that agents need to read accurately. A good llms.txt and Markdown copies of key pages make life easier for coding agents and assistants that browse on a user’s behalf, and documentation platforms can generate both for you.

    Do not expect it to help if your goal is to appear in ChatGPT, Gemini, Perplexity or Google’s AI answers. Those systems find and cite pages through crawling and search indexes. Your time is better spent on the work in our guides on how to get cited by ChatGPT and the technical GEO checklist.

    Be wary of agencies that sell it as a fix. An agency that leads with llms.txt is selling the easiest deliverable, not the one that moves visibility. See our guide to choosing a GEO agency for better questions to ask.

    How to create an llms.txt file

    1. Pick the pages that matter. Ten to fifty links is usually enough: product overview, pricing, documentation, policies and contact details.
    2. Write the summary. One or two sentences that state what you do, for whom and any key facts an agent should not get wrong.
    3. Group links under H2 sections with a short note after each link.
    4. Link to clean versions where you can. Markdown copies are ideal; otherwise link to pages whose main content is in the HTML.
    5. Upload it to /llms.txt and check it loads as plain text.
    6. Consider keeping it out of search results. Mueller has said that noindexing the file can make sense so it does not appear in Google; an X-Robots-Tag: noindex header does this for a text file.
    7. Keep it current. An out-of-date llms.txt that lists old prices is worse than none.

    Frequently asked questions

    What is llms.txt used for?

    It gives AI agents and coding tools a short summary of a website and a curated list of links to the most useful pages, ideally in clean Markdown. It is used most heavily for software documentation.

    Does llms.txt help SEO or AI Overviews?

    No. Google says Google Search, including AI Overviews and AI Mode, ignores llms.txt, and that the file will neither help nor harm your visibility.

    Does ChatGPT read llms.txt?

    OpenAI has not said that ChatGPT’s search uses llms.txt to choose sources. In Ahrefs’ study, GPTBot was the most frequent named AI bot fetching llms.txt files, but AI retrieval bots made up just 1.1% of requests. Allowing OAI-SearchBot matters far more for ChatGPT citations.

    Is llms.txt the same as robots.txt?

    No. robots.txt tells crawlers what they may access. llms.txt only suggests what is worth reading and has no effect on access.

    Where do I put llms.txt?

    At the root of your domain, so it loads at https://yourdomain.com/llms.txt. A file can also sit in a subfolder, such as /docs/llms.txt, to cover just that section.