In two client calls in November, a sitemap call and a wireframe review, the discussion turned to almost the same question: does the website need its own page or section just for AI? In one project such a page already existed; in the other, the client asked whether a section like that would be worth it so that ChatGPT and the like would process their offer better. Both times we advised against it, and both times llms.txt came up, the file everyone is talking about right now. The answer to whether you need one has two parts. For the marketing website: no extra page and no big expectations of the file. For the developer docs: yes, and it takes a quarter of an hour.
The reason for the split is simple. An llms.txt is quick to create and feels like AI work ticked off. That's exactly the risk: "AI-optimised" gets checked off the list while the pages that actually decide whether an AI assistant puts you on a shortlist stay as they are. And a shortlist you're missing from costs you demo requests before anyone has even opened your website.
So that you can answer the question in two sentences at your next meeting, we'll go step by step: what the file is and what changed in 2026, who actually reads it, which part of your SaaS website needs it, and how to set it up in Webflow or Astro. Finally, we'll show what gets you onto AI shortlists instead.
In short
- An llms.txt is a Markdown file at /llms.txt that guides AI agents to your most important content. It's a proposal, not a web standard (currently version 2.1, from November 2026).
- Google ignores the file for Search and its AI features. For ChatGPT and other assistants, there's no evidence that it leads to more recommendations.
- It's useful where coding agents and assistants read documentation: developer docs, API reference, help centre.
- For the marketing website it's optional and does no harm. A missing file costs you no points in Lighthouse.
- Setup: in Webflow under Site settings → SEO → LLMs.txt, in Astro as a file in the public/ folder.
- What gets you onto AI shortlists: pricing and offer pages that are readable in the HTML, comparison pages and consistent company details everywhere.
What is an llms.txt, and what changed in 2026?
An llms.txt is a short text file in Markdown format that sits on your domain (for example example.com/llms.txt) and tells AI agents in a few lines what the website is about and which pages matter most. The format was proposed by Jeremy Howard of Answer.AI in September 2024. The specification on llmstxt.org is an open proposal, not an adopted web standard.
The structure is simple. The only required element is an H1 with the name of the site or project. After that come a blockquote with a short summary, optionally a few paragraphs of context, and then sections with H2 headings that list links with a short description. The idea behind it: an HTML page is full of navigation, scripts and layout, but an agent only needs the content. The file gives it a curated way in.
It's easily confused with the two files that have lived in the root directory for years:
The key difference from robots.txt: an llms.txt can't allow or block anything. If you want to control which AI crawlers read your pages, you still do that in robots.txt.
More has changed in the specification in 2026 than in the two years before, and many guides in the search results are still out of date. Version 2 from August 2026 explicitly allows files in subdirectories, such as /docs/llms.txt for the documentation only, and states that the most specific file applies. It also proposes standard links with which a page can point to its Markdown version (rel="alternate" type="text/markdown") and to the llms.txt that covers it (rel="describedby"). Version 2.1 from November 2026 allows relative links with an optional "Base URL:" line and removed the convention of an "Optional" section from the specification and its examples. Its special meaning, which many guides still explain, had already gone with version 2 (changelog on llmstxt.org).
Which leaves the question that actually matters for you: who fetches this file at all?
Who actually reads llms.txt?
llms.txt is read mainly by AI agents that need documentation for a specific task, not by the systems that recommend software to buyers. You can see that from who publishes one: OpenAI, Anthropic and Google provide an llms.txt for their developer documentation, and docs platforms such as Mintlify and GitBook generate it automatically, according to llmstxt.org. The typical case is a coding agent looking for the right reference page for an API call.
Visibility in AI answers is a different story. In its guide to optimising for generative AI features (published in May 2026), Google says you don't need machine-readable files, AI text files or Markdown versions to appear in Google Search, including AI Overviews and AI Mode, because Google Search doesn't use them. An llms.txt neither helps nor harms there. For Google, it's still SEO, and what matters for SaaS there is covered in our guide to B2B SaaS SEO.
For ChatGPT, Claude and Perplexity there's no comparable official statement, but there are two large studies. Ahrefs analysed requests across 137,210 domains in May 2026 (published 15 June 2026): around 38,000 of them had an llms.txt, and 97% of those files weren't requested a single time all month. Of the few requests, 19.5% came from AI bots, and retrieval bots, which back up answers with current sources, accounted for just 1.1%. No AI bot looked for missing files. SE Ranking found no link between having an llms.txt and how often a domain is cited in AI answers across nearly 300,000 domains (English version, October 2026).
Both studies have limits that their authors name themselves: Ahrefs stresses that a request doesn't prove the content was processed, and that its own sample is more technical than the web as a whole. SE Ranking points out that the results depend on the model and dataset tested. It's still enough to make a decision. Whether your pages can appear in ChatGPT search answers is controlled by OpenAI through the OAI-SearchBot crawler and your robots.txt (OpenAI documentation on its crawlers), not through an llms.txt. Where we stand today: useful for docs, no measurable effect on recommendations in AI answers.
It gets interesting when one of Google's own audit tools suddenly asks for the file.
Does a missing llms.txt lower your Lighthouse score?
No, a missing llms.txt costs you no points in Lighthouse. Since version 13.3, Lighthouse has had an experimental "Agentic Browsing" category that checks how well browser agents cope with a website, and it includes an llms.txt check (DebugBear, May 2026). According to the Chrome documentation, the audit is marked "not applicable" if the server returns a 404 for /llms.txt, because the file is currently optional. A website can only fail this audit with a file that exists: if a server error occurs when it's fetched, or if the file has no H1, doesn't contain a single link or is too short.
This is exactly the category that's landing on many teams' desks right now. Someone runs Lighthouse, sees a new section with agents in its name and asks why something's missing there. But the category is separate from the SEO audits and says nothing about rankings or citations in AI answers. If you create an llms.txt, make sure it's served cleanly and contains an H1 and links, because a faulty file scores worse in Lighthouse than no file at all.
So the file isn't a must. Whether it still makes sense for you depends on which part of the website you're looking at.
Which part of your SaaS website needs an llms.txt?
For a B2B SaaS website, there's no yes-or-no answer for the whole domain, but one per area. The areas have different readers and often different owners: the docs belong to the product team, the marketing website to you, the trust centre somewhere in between.
Behind this is a simple rule. An llms.txt pays off where an agent wants to complete a task and has to search through many technical pages to do it. Where someone is comparing you with competitors, the content of the pages themselves decides. Since version 2 of the specification, you can also separate the areas cleanly: the file at /docs/llms.txt applies to the documentation only, an optional file in the root directory to the rest.
Many guides, Semrush's among them, recommend the root file as a cheap hedge, in case AI platforms start reading it one day. That's a fair call as long as you treat it as one: the setup takes minutes, and the real cost is keeping the file accurate whenever your pricing, plans or site structure change.
If, after weighing this up, you want to create a file, the effort is manageable.
How to set up an llms.txt in 15 minutes
For a marketing website, the file is done in a quarter of an hour: ten minutes for the content, five for uploading and testing. Write it by hand rather than letting a generator produce all of it. Generators often list URLs indiscriminately, yet the selection is the whole point of the file.
A template for a SaaS website following version 2.1 of the specification, here for a made-up company:
Webflow: Webflow now offers the upload directly in the settings, so you no longer need workarounds via redirects or external hosts. Under Site settings → SEO → LLMs.txt, upload the file (UTF-8, under 100 KB), save and publish the site. It then sits on your custom domain; according to Webflow's help centre, it isn't published to the Webflow staging domain.
Astro: Put the file in public/llms.txt. Astro copies everything in the public/ folder into the finished website unchanged at build time (Astro docs), just like robots.txt. If you'd rather generate the list from your CMS, for example from Sanity, build an endpoint at src/pages/llms.txt.ts that outputs the file instead. For documentation on Astro Starlight, the starlight-llms-txt plugin generates the files automatically.
Docs platforms: Mintlify and GitBook generate the file for hosted documentation themselves. There, just check that it's switched on and points to the right pages.
To test it, open the URL in your browser. You should see plain text, not an HTML page and not a 404. With curl -I https://www.your-domain.com/llms.txt you can also see whether the server responds with status 200 and a text format such as text/plain. And agree who maintains the file: if pricing, plans or the website structure change, it has to change too.
After that, the file is done. The work that actually changes your chances in AI answers lies elsewhere.
What gets you onto AI shortlists instead
You get onto a shortlist in ChatGPT or Google's AI Mode through pages that an AI system can find, read and cross-check against other sources. If a head of legal asks which tool suits a team their size, the assistant searches the web, reads the pages it finds and summarises them. As far as anything can be measured, llms.txt plays no part in this. The only prerequisite is that the assistants' search bots are allowed to fetch your pages: OAI-SearchBot for ChatGPT, Claude-SearchBot for Claude and PerplexityBot for Perplexity mustn't be blocked in your robots.txt. After that, three other things decide.
Pricing and offer pages that are in the HTML. Check whether plans, prices or pricing logic, limits and integrations are in the HTML that's delivered, rather than loaded later via JavaScript, for example in a tab widget, or sitting only in a PDF. An analysis by Vercel and MERJ showed that ChatGPT's and Claude's crawlers download JavaScript files but don't execute them (Vercel, December 2024). Anything that's only assembled in the browser doesn't exist for them.
Comparison pages. Buyers rarely ask AI assistants about a single vendor; they ask for alternatives and comparisons. If you describe the comparison with your competitors yourself, fairly and with sources, you provide exactly the page an assistant needs for that question. We show how to build one in our guide to comparison pages for B2B SaaS.
The same company details everywhere. AI assistants cross-check your website against profiles, review platforms and comparison articles. If those still show an old category, a discontinued plan or the wrong target audience, that ends up in the answer. A list of category, target audience, plans, integrations and certifications that you define once and then check against every profile does more here than any extra file.
In the two calls from the beginning, we advised against a dedicated AI page or section. In the wireframe review, our advice was: what buyers and AI assistants need to know about an offer belongs on the offer page itself, complete and without contradictions. Comparison pages and consistent company details are the next steps we recommend to teams in this situation. We do the same ourselves: growably.de doesn't currently have an llms.txt, because we have no developer docs and everything buyers need to know about us is on the pages themselves.
You'll only see whether changes like these work if you measure. Our guide to measuring AI visibility shows how a 30-minute self-check tells you whether ChatGPT recommends you, and how to turn that into pipeline metrics. We've compared the tools that automate this in our comparison of AI visibility tools.
Our verdict: the file for the docs, the work for the pages
The next time someone asks whether you need an llms.txt, the honest answer is: for the developer docs, yes; for the marketing website, only if it costs you nothing. The file does no harm, and a missing file does no harm either. Whether AI assistants recommend you, and whether that turns into demo requests, is decided by pages that buyers and AI systems can read equally well, and by details that are correct everywhere.
If you want to know where your website stands today and which pages to tackle first, see how we work as an SEO and AI search partner for B2B SaaS, or book a call directly.
Frequently asked questions about llms.txt
Should I add an llms.txt to my website?
For developer documentation and API references, yes, because coding agents use the file to find the right pages. For a SaaS company's marketing website it's optional: Google ignores it for Search, and no study so far shows more citations in AI answers because of the file.
Does ChatGPT use llms.txt?
OpenAI hasn't said that ChatGPT reads llms.txt files when it picks sources. Whether your pages can appear in ChatGPT search answers depends on OAI-SearchBot being allowed in your robots.txt. In Ahrefs' study of 137,210 domains, retrieval bots, the kind that fetch sources for answers, made up just 1.1% of the few requests for llms.txt files.
Can an llms.txt do any harm?
No, as long as it's served correctly. Google says the file neither improves nor worsens visibility in Search. The only problem is a file that triggers a server error, misses the basic structure with an H1 and links, or lists outdated prices and plans.
What's the difference between llms.txt and llms-full.txt?
The llms.txt is a table of contents with links; the llms-full.txt contains the entire text, usually of a set of documentation, in a single file. The llms-full.txt isn't part of the specification on llmstxt.org, but docs tools such as the Starlight plugin generate it. You don't need it for a marketing website.
Does llms.txt need to go in robots.txt or the sitemap?
No. Agents find the file at the fixed path /llms.txt. Since version 2 of the specification, you can also point to the file that covers a page with a link element rel="describedby" or a matching HTTP header, but that's optional.
Do multilingual sites need one llms.txt per language?
Not necessarily: one file can link to pages in every language. Under version 2 of the specification, a file applies to all pages under its path, so a file at /de/llms.txt would cover the German pages. Whether your CMS allows files in subdirectories depends on the system. In Astro, you simply put it at public/de/llms.txt.
Is an llms.txt generator worth using?
As a starting point, yes; as the end result, no. Generators crawl your website and list URLs, often without any selection and with weak descriptions. The value of the file lies in the selection, and for a marketing website that only takes a few minutes.





