Guides · AI search
Do AI crawlers render JavaScript? What GPTBot, ClaudeBot and PerplexityBot read
No. The crawlers behind ChatGPT, Claude and Perplexity read the HTML your server sends and don't run your JavaScript. Anything a script adds in the browser, a translation included, isn't there for them. This guide shows which AI crawlers visit, what they read, how to check your own site in two minutes, and how to put every language where they can read it.
What are AI crawlers?
AI crawlers are the bots AI companies send to fetch web pages, to train their models or to answer a question with fresh sources. Each one announces itself with a user agent you can see in your logs and address in robots.txt.
| Crawler | Company | What it fetches for |
|---|---|---|
| GPTBot | OpenAI | Training data for its models |
| OAI-SearchBot | OpenAI | ChatGPT search results |
| ChatGPT-User | OpenAI | A page a ChatGPT user asked it to open |
| ClaudeBot | Anthropic | Training data for Claude |
| PerplexityBot | Perplexity | Perplexity's search index |
| Perplexity-User | Perplexity | A page fetched to answer a user's question |
Search engine crawlers count too: AI answers also draw on search indexes, so a page missing from search is usually missing from the answer.
Do AI crawlers render JavaScript?
No. In an analysis of AI crawler traffic published in December 2024, Vercel and MERJ found that the crawlers of OpenAI, Anthropic, Meta, ByteDance and Perplexity fetch JavaScript files but don't execute them. Their advice to sites that want to be read: render the main content on the server.
So an AI crawler sees your page the way view source shows it, not the way a browser draws it. Whatever arrives after the page loads (text fetched by a script, the content of a single-page app, a translation swapped in by a widget) doesn't exist for it.
If it isn't in the HTML your server sends, AI search never read it.
What that means for a translated website
A translation script in the browser works like this: the server sends the page in the original language, then a script replaces the text for the visitor. People see German. GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot get the original, at the same address, with no German page to index.
| How the site is translated | What a visitor sees | What an AI crawler reads |
|---|---|---|
| A script in the browser | The translation | The original language only |
| A single-page app rendered in the browser | The page, in their language | A nearly empty page, in every language |
| Rendered on the server, one address per language | The translation | The translation |
| Served through a translation proxy | The translation | The translation |
For a site translated by a script, that means: in English, AI answers can quote you; in German, French and Finnish, they quote whoever has a page they can read in those languages.
Check your own site in two minutes
- Open a translated page and copy one sentence from it.
- Fetch the page's raw HTML the way an AI crawler gets it: the commands below send GPTBot's name as the user agent.
- Search the raw HTML for your sentence. Found: the crawlers can read that language. Not found: the translation is made in the browser, and AI search can't see it.
- Check the title and the meta description the same way.
# Count how often your sentence appears in what the crawler receives (0 = not there)
curl -s -A "GPTBot" https://www.example.com/de/ | grep -c "Ein Satz von Ihrer Seite"
# Show the title the crawler receives
curl -s -A "GPTBot" https://www.example.com/de/ | grep -i "<title>"robots.txt for AI crawlers
Each AI company publishes its crawlers' names, and robots.txt lets you allow or block each one. Training and search are separate bots, so you choose per purpose. To be read everywhere, allow them all. To stay out of training and still be found in AI search:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /robots.txt isn't the only gate: a bot-protection setting at your host or CDN can turn them away whatever robots.txt says. Your server logs show which ones actually get through, and which language paths they fetch.
How to serve every language to AI crawlers
Get each translation into the HTML your server sends, at its own address. Three ways:
- Render on the server. If you build the site, render every language on the server (server rendering or static pages), one address per language. An app that renders in the browser needs this first.
- The WordPress plugin. The Lionrapid plugin renders every language on your own server under its own path, with hreflang and translated meta.
- The edge proxy. For any site whose server sends its content as HTML, the proxy translates each page on the way out and serves it under its language path, with hreflang, a canonical per language, a translated title, meta and structured data, and a sitemap and an llms.txt per language. One DNS record at your domain: nothing to install, nothing to rebuild.
All three feed the same Lionrapid editor, where you review the translation before a language goes live. Then every crawler reads the page your buyer reads, in their language. The bigger picture: generative engine optimization in every language.
Your buyers read German. Make sure the crawler does too.
FAQ
AI crawlers and JavaScript, answered
No. The crawlers of OpenAI, Anthropic, Meta, ByteDance and Perplexity fetch JavaScript files without running them (Vercel and MERJ, December 2024). They read the HTML your server sends, so content a script adds in the browser isn't there for them.
ChatGPT's crawlers read the HTML the server sends. If your pages are built in the browser, they get a nearly empty page. Render the content on the server, or generate static pages, so the text is in the HTML.
No. The script translates in the visitor's browser after the page loads, so the crawler gets only the original language. Serve each language from the server at its own address, with the WordPress plugin or the edge proxy.
To appear in AI search: OAI-SearchBot for ChatGPT search, PerplexityBot, and the search engines' own crawlers. GPTBot and ClaudeBot collect training data: allowing them lets the models learn from your pages, blocking them keeps your pages out of training.
Fetch the page with curl and the crawler's name as the user agent, then search the raw HTML for a sentence from the page. Your server logs show which of them visit and which language paths they fetch.
Bots that AI companies send to fetch web pages: GPTBot, OAI-SearchBot and ChatGPT-User for OpenAI, ClaudeBot for Anthropic, PerplexityBot and Perplexity-User for Perplexity. Some collect training data, some build an AI search index, and some open a page because a user asked.
The edge proxy translates each page on the way out and serves it from the server under its own language path, with hreflang, a translated title, description and structured data, and a sitemap and llms.txt per language. The WordPress plugin renders every language on your own server. Either way, the crawler reads the translation your buyer reads.
Put every language where AI crawlers read it
One DNS record for the edge proxy, or the WordPress plugin on your own server. Website routes come with every paid plan, from EUR 9.90 a month.