llms.txt, robots.txt, and AI crawlers: how to govern generative engines’ access to your website

the old permissions file is no longer enough. What has changed at the gateway of a website.

Categories:
 llms.txt

For twenty years, a website had a single gatekeeper. It was called robots.txt. It stood in a room near the entrance, read the names of the crawlers knocking at the door — Googlebot, Bingbot, a few minor aggregators — and decided who to let in. It was a predictable job, almost boring. All visitors spoke the same language, asked the same questions, and left the same business cards. 

In recent years, different visitors have started arriving at the door. They are called GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent. They do not want to index the site to return a link. They want to read it to train a model, or to build a synthetic answer to a question asked by someone else, somewhere else. The gatekeeper is the same. The job is not. And next to the old file, a new one has appeared: `llms.txt`, which works alongside the first. 

It does not replace robots.txt; it complements it. Proposed in September 2024 by Jeremy Howard of Answer.AI, it aims to tell generative models what, within a site, the publisher considers important for them to read — a map of the sections that the gatekeeper would hand to authorized visitors. An interesting promise, mixed evidence. We will discuss it here.

 llms.txt

What has changed: AI crawlers are not the crawlers we used to know

the old pact was crawl in exchange for traffic. For the new crawlers, that pact has been broken.

Old crawlers had one purpose. To index content in order to return a link on a results page. It was a clear exchange: the website allowed Googlebot in, Googlebot exposed the site to searchers, and from that search pool came visits. Crawl in exchange for traffic. 

AI crawlers have two distinct purposes, and neither returns traffic in the same way. The first is training-time: downloading large volumes of text to train or update a model. Once, or periodically. The second is inference-time: reading a page at the exact moment a user asks a question, in order to construct a real-time answer. These are two different jobs operating inside the same building. 

The data makes this distinction clear. According to Cloudflare’s Q1 2026 observation, 30,6% of all web traffic is generated by bots, and among AI bots 89,4% are training or mixed-use — only 8% are search-related, and 2.2% respond to real-time user queries. Cloudflare blog, "Control content use for AI training", January 2026. Cloudflare blog, “Control content use for AI training”, January 2026. The ratio between pages downloaded and visits returned is the most uncomfortable metric: for every 1,255 pages downloaded by OpenAI, only one visit returns to the site; for Anthropic, the ratio is 20,583 to one.

The old pact, in other words, has broken. To understand what this means for brand positioning inside generative engines, the broader GEO discussion is covered elsewhere. What matters here is the practical consequence: a robots.txt written in 2018, with three lines for Googlebot and a few disallows for /admin/, is now silent on the real issue. It is issuing a Disallow to GPTBot as if it were still speaking to a Googlebot from a bygone era.

llms.txt: what it is, where it goes, what it contains

A map of the departments, written in Markdown, that declares what the publisher considers important.

llms.txt is a proposal, not a W3C standard. It emerges from a simple observation: large language models do not have the time or patience to read an entire website when answering a question. They must infer what is important. The llms.txt file offers itself as an explicit declaration from the publisher: “If you need to understand who we are and what we offer, read these links first, in this order.” 

Technically, it is a lightweight Markdown file placed at the root of the website (/llms.txt). Minimal syntax. A header line with the site name. A short description. A set of links to priority content, grouped by section. A simplified example for a communication studio might look like:

# Lensky 

> Milan-based communication studio, since 2000.  

## Services  
- Branding: visual identity 
- Packaging: packaging that sells 

## Reading 
- GEO for companies
- AI citation 

There is also a variant, `llms-full.txt`, cwhich provides models with a full text version of the site’s key content — heavier, richer, optional. 

The difference with an XML sitemap is precise and important. A sitemap declares what exists: an exhaustive list of URLs, structured by last modification date. llms.txt declares what matters according to the publisher: a curated selection, ranked by value. They are not competitors — they serve different purposes, and this is the key shift. The file finally acknowledges that when asked "what is worth reading on this site?" the best answer is not statistical, but curatorial. For those who want to understand how to turn an article into material that AI can easily cite, the discussion continues here. 

Adoption, however, is still limited. Among the top 1,000 most visited websites globally, the file is practically absent: none of the major consumer platforms (Google, Facebook, Amazon, mainstream news sites) have implemented it. In a broader sample of 300,000 domains analysed by SE Ranking in February 2026, 10.13% of sites have an llms.txt in the root SE Ranking, "LLMs.txt: Why Brands Rely On It", november 2025. It is growing at double-digit rates, but remains concentrated in the developer world, technical documentation, SaaS platforms — and is still largely absent from the mainstream web.

robots.txt for AI crawlers: what to write today

the oldest file on the web now has a new job, and a syntax that many still need to learn.

While llms.txt is still a proposal in adoption, robots.txt remains the most operational file. It is the one that actually blocks or allows access. Not because it has technical authority — robots.txt is a polite request, not a barrier, and compliance is voluntary — but because it is the file that major vendors publicly commit to respecting.

The robots.txt for AI crawlers uses a familiar syntax: one directive per user agent, with Disallow or Allow.

User-agent: GPTBot 
Disallow: / 

User-agent: ClaudeBot 
Disallow: / 

User-agent: PerplexityBot 
Disallow: / 

User-agent: Google-Extended 
Disallow: / 

User-agent: Applebot-Extended 
Disallow: /

The case of Google-Extended reveals the level of awareness required today. It is a separate user agent from Googlebot. Blocking it tells Google "do not use my content for training Gemini,", but does not affect ranking in search results. The distinction is both technical and strategic. Blocking Googlebot means disappearing from Google Search; blocking Google-Extended means staying in search results while opting out of AI training. Two different decisions, made with two different lines. 

Actual compliance varies. OpenAI states in its official documentation that GPTBot, OAI-SearchBot, and ChatGPT-User respect robots.txt; as of December 2025 it added that ChatGPT-User, used for on-demand browsing, may not always be governed in the same way. OpenAI, "GPTBot documentation", Decembre 2025. Anthropic formalised in February 2026 the separation between ClaudeBot (training), Claude-User (on-demand retrieval), and Claude-SearchBot (indexing for Claude’s search), each with its own user-agent string. Search Engine Journal, "Anthropic's Claude Bots Make Robots.txt Decisions More Granular", February 2026. A generic “block AI” rule no longer works: each agent must be named explicitly.

Across the top 10,000 Cloudflare domains, GPTBot is blocked in 7.8% of robots.txt files, Google-Extended in 5.6%, and other AI crawlers below 5%. In contrast, among top news sites analysed by BuzzStream (US/UK sample), the pattern is dramatically different: 79% of publishers block at least one AI training bot; GPTBot is blocked by 49%, PerplexityBot by 67%. BuzzStream, "Which News Sites Block AI Crawlers in 2025?", January 2026.

The difference is strategic positioning. Sites that depend on organic traffic defend their informational asset; sites that depend on services are still deciding whether it is better to protect their content or allow it to be cited.

 llms.txt

llms.txt and robots.txt together: one governance, two layers

one decides who gets in. The other decides what to read if they do.

robots.txt decides who gets in. llms.txt decides what they read first if they do. They are two tools within the same governance system, working in tandem. 

The most interesting scenario is not total blocking, but selective filtering. A publisher who wants to become an authoritative source in generative models can allow search-time crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) while blocking training-time crawlers (GPTBot, ClaudeBot, Google-Extended). Then, in llms.txt, they can indicate which content should be prioritised when someone asks about the company — curated guides, not the daily news feed; the “about” page, not the archive of press releases from three years ago. 

It is a Sliding Doors logic applied to a website: the same visitor reaches the door, and depending on the line they encounter in robots.txt, they are routed down two different paths. Except here, the fork is not made by the visitor — it is made by the publisher, written in advance, in a few lines of code, months before anyone arrives. 

This logic also works for non-publishing companies. A Milan-based manufacturing SME that wants visibility in generative engines does not need a manifesto: just an updated robots.txt that defines what is allowed in, and an llms.txt with five curated links to the pages that actually explain the product. The governance is lightweight, but not improvised. Implementing it properly alongside traditional SEO requires the same competencies — just applied to a second discovery engine that did not exist two years ago.

Common mistakes and a positioning decision

the most common failure is not syntactic, it is strategic.

In today’s website implementations, some mistakes are unfortunately common. Inconsistent robots.txt syntax, where User-agent: GPTBot coexists with User-agent: gptbot (parsers are case-insensitive, but some organisations still follow stricter internal conventions). Empty Disallow: directives that effectively mean full access. llms.txt files containing links to 404 pages because no one updates them after a site redesign. Or plugin-generated WordPress files that blindly list the entire site, losing the curatorial function that is the whole point of the format.  

But the strategic error runs deeper, and deserves attention. The decision to allow or block AI crawlers is not only technical. It is a positioning decision. A publisher whose business depends on Google organic traffic has different incentives from a law firm that wants to be cited as an authoritative source in language models. For mid-sized Italian companies, the trade-off is not trivial: blocking means protecting the archive from training use; allowing means accepting exposure in exchange for potential future citation. 

Evidence on whether `llms.txt` increases AI citations is currently mixed. LA SE Ranking study of 300,000 domains using an XGBoost model found no measurable correlation between the presence of the file and citation frequency in LLM responses. SE Ranking, November 2025. SE Ranking, November 2025. Google’s John Mueller stated in June 2025 that none of the major consumer LLM crawlers fetch llms.txt, noting it is “super obvious when looking at server logs.” In contrast, anecdotal cases exist: Mintlify reported 436 visits from AI crawlers after implementation, mostly from ChatGPT; Vercel attributes 10% of new signups to ChatGPT, including GEO-related visibility. These are isolated figures, not independently validated benchmarks. 

The strategic value today lies more in positioning and future-proofing than in measurable short-term traffic gains. Implementing llms.txt before the metrics justify it is a bet on where the ecosystem is going, and it should be done consciously — not as a default plugin feature. 

Meanwhile, the legal framework remains unsettled. In the most closely watched case (NYT v. OpenAI/Microsoft, S.D.N.Y., filed December 2023), Judge Sidney Stein ordered on January 5, 2026, the production of 20 million anonymised ChatGPT logs — a sign of increasingly technical and costly litigation. Two 2025 rulings (Bartz v. Anthropic, Kadrey v. Meta) recognised AI training as “highly transformative” under fair use doctrine. No final ruling has yet closed the question. Vendor positions may still change — meaning today’s robots.txt is already a document that will need re-reading within months.

Frequently asked questions about llms.txt and AI crawlers

What is the difference between llms.txt and robots.txt?

robots.txt is the gatekeeper: it tells crawlers who can enter a website and where they are allowed to go. It has been a de facto standard of the web since 1994 and is voluntarily respected by major search engines and AI crawlers. llms.txt is the internal map: a proposal introduced in September 2024, written in Markdown, that tells generative models which parts of a site should be read first in order to understand it properly. The two files serve complementary purposes: one governs access, the other guides interpretation. One is a long-standing de facto standard respected by major vendors; the other is an emerging proposal, increasingly adopted but not yet officially supported by Google.

How do you configure llms.txt on a website?

The file is created in Markdown format and placed in the root of the website, at https://yourdomain.com/llms.txt. The minimum structure requires three elements: a title line with the site name (# Site Name), a short introductory description (in blockquote format, > ...), and one or more sections with links to priority content. Each link should be accompanied by a brief description that helps models understand what the page contains. There is also a variant, llms-full.txt, which is more comprehensive and provides the full text content of the main pages. Best practice: update the file quarterly, keep it concise (20–50 links maximum), and avoid duplicating the sitemap.

Does blocking GPTBot in robots.txt really prevent OpenAI from using my site?

Only to the extent that OpenAI chooses to respect robots.txt. According to OpenAI’s official documentation, GPTBot, OAI-SearchBot, and ChatGPT-User are designed to respect the directives in robots.txt. However, enforcement is not technical but voluntary: robots.txt is a public convention, not a security mechanism. At the same time, according to the Tollbit Q2 2025 report, 13.26% of AI bot requests ignore robots.txt directives, up from 3.3% the previous year. This highlights the gap between specification and real-world behaviour across the broader bot ecosystem. In practical terms, robots.txt is a polite request, not a hard barrier. For effective protection, additional tools are required — such as authentication layers, IP blocking, web application firewalls, or bot management services offered by CDNs like Cloudflare. Importantly, blocking GPTBot in robots.txt does not affect Google Search rankings in any way.

If you want to understand which AI crawler governance actually makes sense for your website

Block, allow, or selectively permit — the decision is not only technical, it is strategic. The starting point is a review of the current robots.txt file and the site’s presence in generative models. Not a quote: a technical analysis that takes about thirty minutes and clarifies what the site is currently telling GPTBot and ClaudeBot, and what it could be saying differently. We can go through it together.