Technical SEO

robots.txt in 2026, including every AI crawler worth naming

robots.txt controls crawling, not indexing. Disallowing a URL does not remove it from search results — it prevents the crawl that would have read the noindex tag, which is the single most common way sites make an indexing problem permanent.

By Anas Bin Masud Updated 3 min read 639 words

The distinction that causes most of the damage

robots.txt is a crawl directive. It says "do not fetch this". It says nothing about whether a URL may appear in search results, and a disallowed URL with inbound links can and does appear as a bare result with no description.

To remove a page from the index you need a noindex meta tag or header — and a crawler must be allowed to fetch the page to see it. Disallowing and expecting deindexing is a contradiction that leaves the URL stranded in both directions.

The groups worth declaring in 2026

Under RFC 9309 a crawler obeys only its single most specific matching group. Explicit groups therefore act as insurance: a later Disallow added under User-agent: * cannot silently apply to a crawler you meant to keep open.

User-agentOperatorWhat blocking it costs you
GooglebotGoogleEverything
Google-ExtendedGoogleGemini grounding and AI Overview sourcing — with no effect on Search ranking
BingbotMicrosoftBing, and downstream, Copilot
GPTBotOpenAIPresence in the ChatGPT corpus
OAI-SearchBotOpenAIThe ChatGPT Search index
ChatGPT-UserOpenAILive fetches when a person pastes your URL and asks about you
ClaudeBot / Claude-UserAnthropicClaude retrieval and live fetches
PerplexityBotPerplexityCitation in Perplexity answers
Applebot / Applebot-ExtendedAppleSiri, Spotlight and Apple Intelligence
AmazonbotAmazonAlexa and Rufus
CCBotCommon CrawlInclusion in the corpus behind many open training sets

For a business selling services, allowing all of these is almost always correct. The buyer who asks an assistant "who builds Stripe checkouts for UK retailers" is a buyer with intent, and being absent from that answer is not a privacy win.

The four mistakes I find most often

  1. Disallow: / left in place after launch, copied from staging. It is a two-character difference from working, and it takes a site off search entirely.
  2. Blocking /assets/ or /js/, which prevents rendering and makes Google index a broken layout.
  3. Using robots.txt to hide private URLs. The file is public, so it is a directory of exactly what you wanted hidden. Use authentication.
  4. Assuming robots.txt is the last word. Edge proxies, WAFs and CDN bot rules all run before it, and they routinely block crawlers the file explicitly allows.

Verify the file is even reachable as a bot

Fetch robots.txt with each crawler user-agent, not just in a browser. If the host returns 403 to GPTBot at the edge, your carefully written Allow directives are never read — the crawler is refused before Apache or nginx sees the request.

That is the exact situation this site launched into: a robots.txt that welcomed every AI crawler, on a host whose edge proxy refused seven of them. The file was perfect. It was also never delivered.

A sane baseline

A robots.txt for a business site that wants to be found
User-agent: *
Allow: /
Disallow: /thank-you/
Disallow: /*.zip$

# Named groups: insurance against a future Disallow under *
User-agent: Googlebot
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

Sitemap: https://example.com/sitemap-index.xml

Questions people ask about this

Should I block AI crawlers?
For a publisher whose revenue depends on people arriving to read the article, there is a real argument. For a business selling services, blocking them removes you from the answers your buyers are increasingly asking for, and protects content you published in order to be read.
Does robots.txt stop a page appearing in Google?
No. It stops the crawl. The URL can still be listed without a description, sourced from links. Deindexing requires noindex — and therefore requires the crawl you just blocked.
Do I need a separate llms.txt?
It is not a standard any major crawler currently obeys, and it costs almost nothing to publish. Treat it as a well-structured summary for agents that do read it, not as an access control.

Who wrote this

Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan — fifteen live client sites, six of them stores taking real payments. The examples in these guides come from those builds and from the audit that rebuilt this site, not from a content brief. More about how I work, or read the case studies.

Keep reading

Want this done on your site instead of read about?

Every guide here describes work I do for clients. Send the brief and you get a reply within one business day — either questions, or a scoping call.

Response
Replies within 1 business day
Hours
Mon–Fri, 09:00–18:00 PKT — overlaps 05:00–14:00 UK, 00:00–09:00 US Eastern
Booking
Booking projects from October 2026
WhatsApp — opens a chat with +92 346 5348466 in a new tab