New: The $100M AI Visibility Roadmap, built from 7,960 live pages and 197 A/B tests. Get it free →

Home / Blog / Do I Need an llms.txt File? What the 2026 Data Says

AI Search · 10 min read

Do I Need an llms.txt File? What the 2026 Data Says

Most websites do not need an llms.txt file: Google ignores it, no AI provider requires it and studies find no link to AI citations. Shopify stores already serve one by default.

Robert Battle · Updated

Key takeaways
  • Google says Search does not use llms.txt, and maintaining one neither helps nor hurts your rankings or AI Overview visibility.
  • In Ahrefs' study of 137,210 domains (May 2026), 28% published llms.txt but 97% of those files received zero requests.
  • AI retrieval bots made up just 1.1% of llms.txt requests in Ahrefs' data; SEO audit tools were the largest single group.
  • SE Ranking found no correlation between having llms.txt and AI citations across about 300,000 domains.
  • Shopify stores already serve a default llms.txt that mirrors /agents.md, and Shopify advises keeping that default in most cases.

No, most websites do not need an llms.txt file. Google says Search does not use these files, no major AI provider lists llms.txt as a requirement for being crawled or cited, and the largest studies so far find no link between having the file and getting cited more by AI answers. It is worth publishing, or customizing, only when an AI agent you care about will actually read it and someone will keep it accurate.

This guide is for e-commerce and Shopify teams deciding whether llms.txt deserves a slot on the roadmap. You'll get what the file is, what Google, OpenAI, Anthropic and Perplexity say about it, what the 2026 data shows about who reads it, the twist for Shopify stores (you probably already have one), a decision table and the fixes that matter more for AI visibility.

What is an llms.txt file?

llms.txt is a proposed standard written by Jeremy Howard and first published on September 3, 2024. The proposal was updated to version 2 in 2026 (llmstxt.org shows a last modified date of August 10, 2026). It describes a Markdown file that gives AI agents a short introduction to a site and a curated list of links to the most useful resources. Think of it as a reading guide, not a copy of your site and not a set of rules.

The format

  • An H1 with the site or project name. This is the only required part.
  • An optional blockquote summary that explains what the site is.
  • Optional paragraphs or lists with extra detail, without headings.
  • Optional H2 sections with link lists, each link written as [name](url) with an optional note.
  • An optional section named "Optional" for secondary links an agent can skip when it needs less context.

The file usually lives at /llms.txt, but v2 also allows files under a subpath such as /docs/llms.txt, where the most specific file covers the URLs under it. The proposal also suggests offering clean Markdown copies of key pages (for example page.md) so agents can read them without HTML clutter.

What it was designed for

The author expected llms.txt to be used mainly at inference time, when an agent fetches content on demand to help a user, rather than for model training. Adoption has been strongest on software documentation sites, where coding agents use the file to find API references. That origin matters: the use case was "help a developer's AI assistant find the right docs page," not "rank a product in ChatGPT."

Do Google and ChatGPT use llms.txt?

For Google, the answer is a clear no. Google's guide to optimizing for generative AI features in Search (updated July 10, 2026) lists llms.txt under things you can ignore. It says you don't need to create AI text files, special markup or Markdown to appear in Google Search, that Search itself doesn't use them, and that maintaining one will neither harm nor help your visibility or rankings. Google's page on AI features and your website says a page only needs to be indexed and eligible to show with a snippet to appear in AI Overviews or AI Mode.

For ChatGPT, OpenAI's crawler documentation explains robots.txt controls for GPTBot, OAI-SearchBot and ChatGPT-User. It does not mention llms.txt. Anthropic's and Perplexity's crawler documentation also explain robots.txt controls, not llms.txt. That does not prove those companies never read the file, but nobody can honestly promise that publishing one improves your visibility in their products.

PlatformWhat its documentation saysWhat controls access
Google Search, AI Overviews, AI ModeSearch does not use llms.txt; it neither helps nor hurtsrobots.txt (Googlebot), Google-Extended for Gemini use
ChatGPT (OpenAI)Crawler docs do not mention llms.txtrobots.txt rules for OAI-SearchBot, GPTBot, ChatGPT-User
Claude (Anthropic)Crawler docs do not mention llms.txtrobots.txt rules for ClaudeBot, Claude-SearchBot, Claude-User
PerplexityCrawler docs do not mention llms.txtrobots.txt rules for PerplexityBot, Perplexity-User
Shopify storefrontsServes a default llms.txt that mirrors /agents.mdTheme templates (agents.md.liquid, llms.txt.liquid)

What the 2026 data says about llms.txt

Two large studies now answer the questions every store owner asks: how many sites have one, does anyone read it, and does it lead to citations?

Adoption is real, but readers are rare

Ahrefs looked at all 137,210 domains in Ahrefs Web Analytics that received traffic in May 2026. Its llms.txt study (June 15, 2026) found that 28% of those domains publish an llms.txt file, and 97% of those files received zero requests in May. The remaining 3%, about 1,100 domains, received all of the measured llms.txt traffic, roughly 22,000 requests, and 96% of those requests came from bots.

llms.txt in Ahrefs' May 2026 data137,210 domains using Ahrefs Web Analytics that received traffic in May 2026
28%Domains with llms.txtof 137,210 domains
97%Files with zero requestsin May 2026
96%Requests from botsof requests that did arrive

Source: Ahrefs, We Analyzed 137K Sites: 97% of llms.txt Files Never Get Read, June 2026

Keep the sample in mind: these are sites that installed an SEO vendor's analytics script, so they skew toward marketers who follow SEO trends. That likely explains why adoption is higher than in other samples.

Most bots fetching llms.txt are not AI search bots

The more telling finding is who does the fetching. In Ahrefs' data, SEO audit tools were the largest single category of requests, and Ahrefs reports that 77% of the bots fetching llms.txt are not AI tools at all. AI retrieval bots, the ones that fetch pages to answer a user's question in tools like ChatGPT and Perplexity, made up just 1.1% of requests.

Who requests llms.txt files, by bot categoryShare of about 22,000 llms.txt requests in May 2026; top 8 of 12 categories shown
SEO audit tools21.7%
Other and unidentified14.9%
General web crawlers13.1%
Tech profiling tools11.6%
AI agents10.5%
GEO/AEO tools5.8%
AI training crawlers5.3%
AI retrieval bots1.1%
View the data
Value
SEO audit tools21.7%
Other and unidentified14.9%
General web crawlers13.1%
Tech profiling tools11.6%
AI agents10.5%
GEO/AEO tools5.8%
AI training crawlers5.3%
AI retrieval bots1.1%

Source: Ahrefs, We Analyzed 137K Sites: 97% of llms.txt Files Never Get Read, June 2026

Within the AI categories, GPTBot (OpenAI's training crawler) was the biggest single fetcher, and Claude-Code (Anthropic's coding agent) ranked second among named AI tools. That fits the original design: coding agents reading documentation. It does not suggest shopping assistants are reading store llms.txt files to decide what to recommend.

No measurable link to AI citations

SE Ranking analyzed about 300,000 domains for its llms.txt research and found the file on 10.13% of them. Using Spearman correlation, an XGBoost model and SHAP analysis, it found no correlation between having llms.txt and how often a domain is cited by AI. Removing the llms.txt variable from the model actually improved its accuracy. Adoption was also flat across traffic levels, so big brands are not quietly winning with it.

Share of domains with llms.txt, by traffic tierAbout 300,000 domains; traffic tiers as defined by SE Ranking
10.1% All domains 9.9% Low traffic 10.5% Mid traffic 8.3% High traffic
View the data
Value
All domains10.1%
Low traffic9.9%
Mid traffic10.5%
High traffic8.3%

Source: SE Ranking, Does LLMs.txt impact your AI visibility and citations?, 2026

Both studies are correlational, so they cannot prove the file never helps anyone. But combined with silence from every major AI provider, the burden of proof sits with anyone selling llms.txt as a visibility tactic.

See what is really stopping AI tools from citing your store

We benchmark your store against your top three competitors on Google and AI answers, then show the prioritized fixes that matter more than llms.txt.

Get my AI visibility report →

Shopify stores already have an llms.txt

Here is the part most llms.txt articles miss. If you run a Shopify store, the question is not "should I add one?" because Shopify already serves one for you.

According to Shopify's developer changelog (May 28, 2026), every store includes a default agents.md file at /agents.md, and the paths /llms.txt and /llms-full.txt serve the same content by default. When we checked two large Shopify stores, Allbirds and Chemical Guys, on October 27, 2026, both returned a Shopify-generated Markdown file at /llms.txt titled "Agent Instructions." It points shopping agents to the Shop skill and the store's Universal Commerce Protocol (UCP) endpoints for product discovery, carts and checkout.

In other words, Shopify's default file is not a curated reading list of your best content. It is a machine-facing instruction sheet for AI shopping agents, maintained by Shopify.

Should you customize the Shopify default?

Shopify's own llms.txt.liquid documentation says that in most cases you shouldn't add a custom llms.txt template. It recommends keeping the Shopify-managed default unless you have an advanced reason for /llms.txt to differ from /agents.md, and notes that if you add one you must maintain it yourself. A few constraints worth knowing:

  • The lookup order is llms.txt.liquid, then agents.md.liquid, then the Shopify default. To change all three agent files at once, edit agents.md.liquid.
  • The template runs in a restricted context. Standard objects such as shop, collections and articles are not available, so you can't loop through your catalog the way you would in a normal theme template.
  • The file is served on your primary domain only and has no localized versions, so Shopify Markets prefixes don't apply.

What llms.txt cannot do

Most of the confusion around llms.txt comes from expecting it to work like robots.txt or a sitemap. It doesn't.

FileJobDoes it control crawling?Used by Google Search?
robots.txtTells crawlers which paths they may fetchYes, for crawlers that follow itYes
XML sitemapLists the URLs you want discovered and indexedNoYes
llms.txtOptional reading guide for AI agentsNoNo
agents.md (Shopify)Instructions for AI shopping agentsNoNot documented
  • It does not block crawling or training. Access rules live in robots.txt. To opt out of training, use each provider's documented control, such as a GPTBot or ClaudeBot rule, or the Google-Extended token. Our guide to llms.txt vs robots.txt covers the difference, and should I block GPTBot? covers the trade-offs.
  • It does not fix blocked or broken pages. If product pages return errors, sit behind a bot challenge or load key details only through JavaScript, a guide file cannot get them read.
  • It does not protect private content. Everything in it is public. Never list URLs you want kept private.
  • It does not override what your pages say. If your return policy says 30 days on one page and 14 on another, a summary file will not resolve that for an AI model.

When adding llms.txt makes sense

The file earns its keep when you have a specific reader and an owner. Use this table to decide.

Your situationRecommendationWhy
Shopify store, standard catalog and policiesKeep Shopify's defaultAlready served and maintained; Shopify advises against overriding it
Small store on WordPress or another platform, a few dozen pagesOptional, low priorityNo documented benefit; your sitemap and clear pages do the work
Brand with an API, app or developer docsWorth addingCoding agents are the readers the format was built for
Large help center (sizing, care, warranty, B2B ordering)Consider a subpath file such as /help/llms.txtA curated index can help agents find the right answer page
Goal is better Google rankings or AI OverviewsSkip itGoogle says Search does not use the file

For a non-Shopify site, our llms.txt generator can draft the file, and our step-by-step guide on how to create an llms.txt file walks through the structure. Review every description and link by hand. Generated text is a starting point, not proof that your business details are correct. Adding the file because a competitor did is not a use case.

Skip the llms.txt hype. Get the AI visibility playbook.

Our free $100M AI Visibility Roadmap, built from 7,960 live pages and 197 A/B tests, covers what actually gets brands cited by ChatGPT, Google AI Overviews and Perplexity.

Get the free roadmap →

What to fix before you touch llms.txt

If your real goal is to show up in AI answers, these steps matter far more than a guide file. Work through them in order.

  1. Check your robots.txt. Make sure you are not blocking search crawlers you want, such as Googlebot, OAI-SearchBot, Claude-SearchBot or PerplexityBot. Paste your file into our robots.txt and AI crawler tester to see how each bot is treated, or follow our guide to check if ChatGPT can crawl your website.
  2. Check your CDN and firewall. Bot-management settings can challenge or block crawlers even when robots.txt allows them. Look at server or CDN logs for real requests from AI bots and their status codes.
  3. Put key content in the HTML. Product names, prices, availability, sizing and policies should be in the page source, not only loaded by JavaScript after render.
  4. Remove contradictions. Make shipping times, return windows and product specs match everywhere they appear, including product feeds and marketplace listings.
  5. Keep structured data accurate. Product, Organization and breadcrumb markup won't get you into AI answers by itself, but Google still recommends it for rich results. Check it with our schema validator.
  6. Answer buying questions on the page. Comparison tables, FAQs and specific "who this is for" copy give AI systems something concrete to quote. Our guide to AI search visibility covers this in depth.
  7. Only then, decide on llms.txt. Use the decision table above, and give the file an owner if you publish one.

How to tell if llms.txt is doing anything

If you publish or customize one, write down what you expect it to change before launch. "A coding agent given our docs finds the right setup page" is testable. "Our AI citations will go up" is not a supported expectation.

  • Log the basics. Record the publish date, the links you included and the owner.
  • Read your logs, not your hopes. A request for /llms.txt shows the file was fetched, and the user agent tells you by whom. In Ahrefs' data, most fetchers were SEO tools, so expect the same on your site.
  • Don't credit it by default. If AI referral traffic moves, check everything else you changed in the same period, such as new content, fixed crawl blocks or press mentions, before giving the file credit.

The bottom line for store owners

For most e-commerce brands, llms.txt is a five-minute decision, not a project. Shopify merchants should leave the default in place. Everyone else can skip it unless they have developer docs or a large help center an agent would genuinely benefit from. The work that moves AI visibility is the unglamorous kind: letting the right crawlers in, making product and policy pages clear and consistent, and earning mentions on sites AI tools already trust.

If you want a second opinion on what to prioritize for your store's AI visibility, talk to our team or see how our AI search optimization work is scoped.

Want a clear AI search plan for your store?

Book a free 30-minute call. We'll show you where you stand against your top competitors, which pages are ready to move and the revenue math behind each fix.

Get my custom plan →
FAQ

Questions & answers

Can my website appear in AI search without llms.txt?
Yes. Google says AI Overviews and AI Mode only require a page to be indexed and eligible for a snippet, and OpenAI, Anthropic and Perplexity document robots.txt controls, not llms.txt. Access, content quality and authority matter far more.
Does my Shopify store already have an llms.txt file?
Yes. Shopify serves a default file at /llms.txt that mirrors /agents.md, with instructions for AI shopping agents. Shopify recommends keeping that default unless you have an advanced reason to change it.
Does llms.txt replace robots.txt?
No. robots.txt tells crawlers which paths they may fetch. llms.txt is an optional reading guide and does not allow or block anything.
Can I use llms.txt to block AI training?
No. Use each provider's documented robots.txt control instead, such as disallowing GPTBot for OpenAI or ClaudeBot for Anthropic, and the Google-Extended token for Gemini.
Should I list every URL in llms.txt?
No. The proposal describes a curated overview of your most useful resources. Leave full URL discovery to your XML sitemap.
Free custom plan

Find the revenue you're leaving on the table

A free 30-minute call where we build the first version of your plan with you. You leave with a plan either way.

  • Your score across Google, AI citations, branded demand, and reviews
  • The pages on your site that are ready to move right now
  • Your first Flagship page and the first three tests we'd run

Step 1 of 3

Get your free custom plan

Free. Takes about 30 seconds.