llms.txt is one of those AI search topics where both extreme takes are probably wrong.
It is not a magic file that makes ChatGPT, Google AI Mode, Perplexity, Claude, Gemini, or any other AI system recommend your brand. It is also not useless just because Google says it is not needed for AI Search visibility.
The better question is not whether llms.txt works in some universal way. It is what job you expect the file to do, and which AI systems you care about.
If the job is to control crawler access, use robots.txt and access controls. If the job is to rank in Google AI answers, llms.txt is not a proven shortcut. If the job is to give AI agents and LLM-powered tools a clean map of important content, then llms.txt may be worth adding, especially if your site has documentation, product pages, guides, or technical content that is hard to understand from normal navigation alone.
What llms.txt is supposed to be
llms.txt is an emerging convention for placing a plain-text file at the root of a website, usually at /llms.txt, that gives LLMs and AI agents a concise guide to the site.
The idea is simple: instead of forcing an AI system to infer your most important pages from navigation, templates, menus, scripts, and long HTML pages, you provide a cleaner index of what matters.
A useful llms.txt file might include:
- A short description of the site or product
- Links to key documentation
- Links to product, pricing, comparison, or support pages
- Short notes explaining what each page is for
- Optional links to markdown versions of important pages
- Pages that should be treated as primary references
That is different from robots.txt. robots.txt is a crawler access file. It tells compliant crawlers what they are allowed or disallowed to fetch. llms.txt is more like a guide or map. It does not reliably block anything, and it should not be treated as a permissions system.
Why the debate is confusing
The confusion comes from mixing three different questions into one.
The first question is about Google Search visibility. On that point, Google says new machine-readable files like llms.txt are not needed for generative AI features in Search. Its AI optimization guidance says there is no special file or markup that makes a page eligible for AI features, and that Google already crawls many text-like file types without treating each one as a special signal. Google’s AI optimization guide is clear on the SEO point: do not treat llms.txt as a requirement for Google AI Overviews or AI Mode.
The second question is about agentic browsing. Chrome Lighthouse now includes experimental Agentic Browsing audits, including a check for llms.txt. The Chrome for Developers Lighthouse documentation describes llms.txt as an emerging convention for giving AI agents a machine-readable summary of website content. Search Engine Land covered the tension directly: Google says llms.txt is not needed for AI search visibility, while Lighthouse now flags whether a site has one. That does not make llms.txt a ranking signal. It shows that at least some AI-adjacent tooling is starting to care whether a site is easier for agents to inspect.
The third question is about the wider AI ecosystem. AI discovery does not only happen in Google Search. It can happen through ChatGPT, Perplexity, Claude, Gemini, browser agents, coding assistants, documentation tools, site-specific agents, vertical search experiences, and future retrieval systems. A file can be irrelevant to one surface and still useful to another.
So the balanced answer is: do not treat llms.txt as a Google AI ranking trick, but do not assume Google’s guidance answers every possible non-Google use case either.
What llms.txt probably does not do
Start with what is not proven, because this is where bad advice usually starts.
There is no solid public evidence that adding llms.txt by itself will cause AI systems to recommend your brand more often. There is no reliable proof that it improves Google AI Overview citations. There is no reason to treat it as a replacement for crawlable pages, clear positioning, useful content, external evidence, or accurate third-party descriptions.
It probably does not:
- Make your site eligible for Google AI Overviews
- Force ChatGPT, Claude, Perplexity, or Gemini to read your pages
- Block AI crawlers from using your content
- Replace robots.txt, noindex, authentication, or paywalls
- Guarantee citations
- Fix weak positioning or generic content
- Make AI recommend you over competitors
If someone sells llms.txt as a guaranteed AI visibility tactic, be skeptical.
What llms.txt might help with
The useful case for llms.txt is narrower, but still practical.
It may help AI agents and LLM-powered tools understand which pages matter, especially on sites where important information is spread across docs, product pages, changelogs, pricing pages, support pages, and long articles.
Think of it as a clarity layer. It can tell an agent:
- What the site is about
- Which pages are most useful
- Which docs are more reliable than marketing pages for technical details
- Where to find pricing, integrations, setup, and support information
- Which markdown versions are available, if you maintain them
- Which pages should be treated as primary references
That can be useful for developer documentation, API products, SaaS platforms, marketplaces, technical blogs, and content-heavy sites. It is less obviously useful for a simple five-page brochure site where navigation is already clear and the pages are easy to fetch.
The key is to avoid overclaiming. llms.txt may make your site easier for some tools to inspect. That is not the same as proving it improves AI recommendations.
The real AI visibility work still happens elsewhere
llms.txt is not where AI visibility starts.
Before you worry about the file, check the basics:
- Can AI-related crawlers reach your important pages?
- Are those pages available in normal HTML, not only hidden behind JavaScript?
- Does your site clearly explain what you do, who you help, and why you are different?
- Do your product, use-case, pricing, documentation, and comparison pages answer real evaluation questions?
- Do third-party sources describe you accurately?
- Do AI systems mention competitors instead of you?
- Do AI answers cite sources where your brand is missing or outdated?
Those are bigger levers than adding a file. We covered the broader workflow in How to Optimize for AI Search Without Falling for GEO Hacks and the competitor diagnosis in Why AI Recommends Your Competitors Instead of You.
A weak site with a clean llms.txt file is still a weak site. A strong site without llms.txt can still be understood, cited, and recommended if the content and evidence are clear.
When llms.txt is worth adding
llms.txt is worth considering when the cost is low and the file gives agents a genuinely better map of your content.
It makes the most sense if:
- You have technical documentation
- You have API docs or developer guides
- Your site has many important pages that are hard to discover from navigation alone
- You have markdown versions of docs or guides
- You want to point agents toward canonical product, pricing, integration, or support pages
- You have a content library where only a few pages should be treated as primary references
- Your team can keep the file updated
It is lower priority if:
- Your site is small and already easy to navigate
- Your important pages are unclear or outdated
- You cannot maintain the file
- You are adding it only because someone promised AI rankings
- You have not checked crawl access, answer accuracy, citations, or competitor visibility first
If you want a quick starting point, SurfacedBy has a free llms.txt generator. Use it to create a clean first draft, then review every link and description before publishing the file.
The practical answer is simple: add it if it helps explain your site better and you can maintain it. Do not add it as a substitute for real AI visibility work.
What a useful llms.txt file should include
A good llms.txt file should be short, accurate, and selective.
Do not turn it into a sitemap dump. Do not list every blog post. Do not stuff it with keywords. Do not make exaggerated claims you would not want repeated in an AI answer.
A useful file usually includes:
- Site summary: one clear description of what the company or site does.
- Primary pages: product, pricing, use-case, documentation, support, and comparison pages.
- Canonical docs: links to the best source of truth for features, setup, integrations, and APIs.
- Markdown alternatives: optional cleaner versions of docs or guides if you maintain them.
- Notes: short context explaining what each link is for.
- Update discipline: a process for keeping the file current when pages, pricing, features, or positioning change.
The file should help a system find your best evidence faster. It should not be an ad.
A simple llms.txt structure
A basic file might look like this:
# Example Company Example Company helps ecommerce teams track subscription revenue, failed payments, and retention. ## Primary pages - Product overview: https://example.com/product - Pricing: https://example.com/pricing - Integrations: https://example.com/integrations - Documentation: https://example.com/docs ## Use cases - WooCommerce subscriptions: https://example.com/use-cases/woocommerce - Stripe billing analytics: https://example.com/use-cases/stripe ## Comparisons - Example Company vs Competitor A: https://example.com/compare/competitor-a ## Notes Use the documentation pages for setup and integration details. Use the pricing page for current plan information.
This is not a formal guarantee that any AI system will use the file. It is a clean index of the pages you want an agent to consider first.
How llms.txt fits with robots.txt
Do not confuse the two files.
| File | Primary job | What it is not |
|---|---|---|
| robots.txt | Controls crawler access rules for compliant crawlers | A content summary or AI visibility guide |
| llms.txt | Provides a human-readable and machine-readable guide to important content | A reliable crawler control file or ranking switch |
If you want to allow or block crawler access, use robots.txt, server rules, authentication, paywalls, or other access controls. If you want to explain which pages matter, llms.txt may help.
How to test whether it helped
The honest way to evaluate llms.txt is not to ask whether the file exists. It is to ask whether the file improves how your content can be discovered, summarized, or checked by AI tools.
Use this checklist:
- Does the file list only pages that are still accurate?
- Does it point to canonical product, pricing, documentation, and support pages?
- Does it avoid keyword stuffing and marketing claims?
- Does it include pages that answer real evaluation questions?
- Does it make your site easier to understand than navigation alone?
- Can your team update it when positioning, pricing, docs, or features change?
- Are AI crawlers still able to reach the listed pages?
- Do AI answers actually improve after the file exists, or is nothing changing?
That last question matters. llms.txt should be monitored like any other AI visibility experiment. Add it, keep a timestamp, track important prompts across more than one AI system, watch crawler activity where possible, and check whether answers, citations, or source behavior change over time.
Do not judge it only through Google. Check whether it affects the AI systems and tools your audience actually uses.
What not to do
Most bad llms.txt advice comes from treating the file like an AI ranking hack.
- Do not stuff the file with every keyword you want to rank for.
- Do not list every URL on the site.
- Do not make claims that are not supported on the linked pages.
- Do not use it to hide weak content or unclear positioning.
- Do not assume Google AI Overviews will use it.
- Do not assume every non-Google AI tool will ignore it.
- Do not treat it as a replacement for robots.txt.
- Do not create it once and forget it.
The best version of llms.txt is boring: a clean, maintained map of important content. The worst version is a keyword-stuffed wish list for AI systems.
So, does llms.txt matter for AI visibility?
It can matter, but not in the way many people want it to matter.
It is not a proven AI ranking factor. It is not required for Google AI Search. It does not guarantee citations or recommendations. It will not make a generic site suddenly look authoritative.
But it can be a useful supporting layer if it helps AI agents and LLM-powered tools find the right pages, understand the site structure, and avoid weaker or outdated references.
The safest answer is this:
- Do not prioritize llms.txt over crawlability, content quality, positioning, source coverage, or measurement.
- Do not assume Google’s guidance answers every possible non-Google use case.
- Do consider llms.txt if your site has docs, product pages, support content, or guides that would benefit from a clean AI-facing index.
- Do measure what happens after you add it instead of assuming it worked.
Where SurfacedBy fits
SurfacedBy helps teams track how AI systems mention, cite, compare, and recommend their brand. That matters for llms.txt because the file should be treated as one possible input to test, not as a strategy by itself.
If you add llms.txt, the useful question is not whether the file exists. It is whether AI answers change, whether important pages become more visible, whether citations improve, whether competitors still appear instead of you, and whether AI-assisted visits or crawler activity show any meaningful pattern across the systems your audience uses.
You can use the free SurfacedBy llms.txt generator to create the file, then use AI visibility tracking to see whether the answers and source patterns actually change.
That is the difference between adding another file because the market is talking about it and actually understanding whether it helped.
The bottom line
llms.txt is worth understanding. It is also easy to overhype.
Add it if it gives AI agents a cleaner path to your best content. Keep it short, accurate, and maintained. Do not expect it to replace the work that actually improves AI visibility: clear positioning, reachable pages, useful content, credible sources, accurate descriptions, and measurement over time.
The practical stance is not “llms.txt is the future” or “llms.txt is useless.” It is simpler: useful file, weak strategy.


