Guide · Technical
AI crawlers and technical access: robots.txt, JavaScript and llms.txt
Even the best content will not appear in answers if bots cannot reach it. Technical access comes down to three questions: can the bot enter your site, can it read the text on the page, and can it tell what to read? This guide covers each with a checklist.
For AI bots to reach your site, search and answer bots must not be blocked in robots.txt, your firewall must not stop them, and key content must be in the page’s initial HTML; major AI crawlers do not run JavaScript. Blocking training bots is a separate business decision. llms.txt is an optional convenience, not a requirement.
1. Which bots are there and what do they do?
AI companies run separate bots for search and answers, model training and user requests. Examples from the companies’ own documentation:
| Company | Search and answers | Training | User requests |
|---|---|---|---|
| OpenAI | OAI-SearchBotSource 1: Overview of OpenAI crawlers | GPTBotSource 1: Overview of OpenAI crawlers | ChatGPT-UserSource 1: Overview of OpenAI crawlers |
| Anthropic | Claude-SearchBotSource 2: Does Anthropic crawl data from the web, and how can site owners block the crawler? | ClaudeBotSource 2: Does Anthropic crawl data from the web, and how can site owners block the crawler? | Claude-UserSource 2: Does Anthropic crawl data from the web, and how can site owners block the crawler? |
| Perplexity | PerplexityBotSource 3: Perplexity crawlers | — | Perplexity-UserSource 3: Perplexity crawlers |
| Googlebot (including AI Overviews and AI Mode) | Google-ExtendedSource 4: Google’s common crawlers (Googlebot, Google-Extended) | — | |
| Meta | Meta-WebIndexerSource 5: Meta Web Crawlers | Meta-ExternalAgentSource 5: Meta Web Crawlers | Meta-ExternalFetcherSource 5: Meta Web Crawlers |
Details per engine are on the AI engines pages.
2. Write robots.txt correctly
- Do not block search and answer bots; being cited in that engine’s answers becomes harder. OpenAI says sites that opt out of OAI-SearchBot are not shown in ChatGPT search answersSource 1: Overview of OpenAI crawlers.
- Decide separately for training bots. Because search and training bots are defined separately, you can close training and keep search openSource 1: Overview of OpenAI crawlersSource 2: Does Anthropic crawl data from the web, and how can site owners block the crawler?.
- Once you write a group for a specific bot, it no longer reads the
User-agent: *group; under RFC 9309 the*group applies only when no group matchesSource 6: RFC 9309: Robots Exclusion Protocol (Eylül 2022). Add private paths to bot-specific groups too. - Some user-request bots may not follow robots.txt: OpenAI says rules may not apply to ChatGPT-UserSource 1: Overview of OpenAI crawlers, and Perplexity says Perplexity-User generally ignores themSource 3: Perplexity crawlers.
See which bots your site allows with the AI bot access test.
3. Check your firewall
Even if robots.txt allows them, a firewall or bot protection can block unfamiliar requests. OpenAI and Perplexity publish their bots’ IP ranges as JSON filesSource 1: Overview of OpenAI crawlersSource 3: Perplexity crawlers; an allowlist can be built from them. Check your server logs for 403 or 429 responses to these bots.
4. Do not tie content to JavaScript
According to Vercel’s 2024 measurement, major AI crawlers do not run JavaScriptSource 7: The rise of the AI crawler (Dec 2024). Google also notes that not all bots can run JavaScript and recommends server-side or pre-rendered HTMLSource 8: Understand JavaScript SEO basics. The check is simple: turn off JavaScript in your browser and open the page; if the main text, prices and contact details are missing, bots cannot see them either.
5. llms.txt: add it, but set expectations right
llms.txt is a proposed file at the site root that gives AI tools a summary of the site and its key pages in MarkdownSource 10: The /llms.txt file. Google says you do not need llms.txt or special markup to appear in its AI featuresSource 9: Optimizing your website for generative AI features on Google Search. It costs little, so you may add it; but it is not a ranking lever. Use the llms.txt generator to prepare one.
Checklist
- Search and answer bots are allowed in robots.txt.
- A deliberate decision has been made about training bots.
- Private paths are repeated in bot-specific groups.
- The firewall does not block these bots; IP lists are configured.
- The main text is readable with JavaScript off.
- Pages carry no
noindexor unnecessarynosnippet. - llms.txt (optional) follows the format.
Frequently asked questions
01What happens if I block all AI bots?
If you block search and answer bots along with training bots, being cited in those engines’ answers becomes harder; for example, sites that opt out of OAI-SearchBot are not shown in ChatGPT search answersSource 1: Overview of OpenAI crawlers.
02Does blocking Google-Extended affect search?
No. Google-Extended does not affect inclusion or ranking in Google Search; it manages use for training Gemini models and grounding in Gemini appsSource 4: Google’s common crawlers (Googlebot, Google-Extended).
03Our site is built with React. Is that a problem?
Not if content is rendered on the server; if it is drawn only in the browser with JavaScript, AI crawlers may not see the textSource 7: The rise of the AI crawler (Dec 2024)Source 8: Understand JavaScript SEO basics. Test by turning JavaScript off.
Sources
- [1]Overview of OpenAI crawlersOpenAI · accessed: 26 September 2026
- [2]Does Anthropic crawl data from the web, and how can site owners block the crawler?Anthropic · accessed: 26 September 2026
- [3]Perplexity crawlersPerplexity · accessed: 26 September 2026
- [4]Google’s common crawlers (Googlebot, Google-Extended)Google Search Central · accessed: 26 September 2026
- [5]Meta Web CrawlersMeta for Developers · accessed: 26 September 2026
- [6]RFC 9309: Robots Exclusion Protocol (Eylül 2022)IETF / RFC Editor · accessed: 26 September 2026
- [7]The rise of the AI crawler (Dec 2024)Vercel · accessed: 26 September 2026
- [8]Understand JavaScript SEO basicsGoogle Search Central · accessed: 26 September 2026
- [9]Optimizing your website for generative AI features on Google SearchGoogle Search Central · accessed: 26 September 2026
- [10]The /llms.txt filellmstxt.org · accessed: 26 September 2026
How to cite this page
Kaynaq. (26 September 2026). AI crawlers and technical access: robots.txt, JavaScript and llms.txt. https://kaynaq.pages.dev/en/guides/ai-crawlers-and-technical-access
Updates and corrections
No corrections on this page yet. If you spot an error, write to us; we publish every fix here with its date.