CrawlCheck

Agent view · Guides · 2026-08-28

Do AI crawlers render JavaScript? Check what they see

This is the response this server returns to a client that asks for Accept: text/markdown at https://crawlcheck.io/guides/do-ai-crawlers-render-javascript: fetched when you opened this page, shown byte for byte. An assistant, a crawler that negotiates markdown, or anything reading our feed gets exactly this. The markdown leaves signed (RFC 9421, key in our key directory), so a crawler can prove the page it read is the page this server sent; the check is shown below.

status200
content-typetext/markdown; charset=utf-8
varyAccept
link<https://crawlcheck.io/llms.txt>; rel="describedby"; type="text/plain", <https://crawlcheck.io/.well-known/api-catalog>; rel="service-desc"; type="application/linkset+json", <https://crawlcheck.io/guides/do-ai-crawlers-render-javascript>; rel="cite-as", <https://crawlcheck.io/.well-known/http-message-signatures-directory>; rel="http-message-signatures-directory"
cache-controlpublic, max-age=900, stale-while-revalidate=2400
bytes19,176
words2,954
sha-256f08e6eadab23fbe9b8e23793f3a49a8faf9c38ba1c003dbe59c4691ada7f4a98
repr-digestsha-256=:8I5urasj++m44jeT86Saj6+cOLocAD2+WcRpGtp/Spg=: ← matches the body shown
signature-inputsig1=("@authority";req "@path";req "repr-digest" "content-type");created=1795774741;expires=1795778341;keyid="1hHmE3fo1rg5Ig70wuFtJ5wBc7G-sUTgUJkxyPWFRps";alg="ed25519";nonce="11XCIXLoQ770zyS7e17hwQ";tag="crawlcheck-page"
signaturesig1=:ZIilIKSNaqb+YQQsa8XnwbheskvCDNWgi0rZTz+n3h0+C+J0jQSo56tcbpg1ewbOwBMlpNCsWGLdsJ0vw9PMBA==:
verifiedyes — signature by key 1hHmE3fo1rg5Ig70… from https://crawlcheck.io/.well-known/http-message-signatures-directory (directory valid), valid for 3599 more s. Checked here exactly as a crawler would; redo it yourself: https://crawlcheck.io/api/tool/wba
Guides · 2026-08-28 · By [VSNARY | Emmanuel Orta](/author)

# Do AI crawlers render JavaScript? Check what they see

Assume not, and the question becomes simpler: is your content in the response the server sends before anything runs? One command checks it, and four test pages show why a fact in the source is not always page text.

Assume not. Most answer-engine crawlers take the first response and never execute scripts; where rendering happens at all, it is a later, separate pass. You can settle it for your own site without knowing anyone's pipeline: fetch the page with curl, strip the tags and look for your headline, prices and hours. Text that sits only inside a script, or arrives from a request the script makes later, is not page text to a reader that skips scripts. Put the facts in the server's HTML and the rendering question stops mattering.

Check your own site free

Check my site

About a minute. Free, no sign-up, nothing installed.

On this page

- The one-command test
- Is a fact in the source the same as a fact on the page?
- What crawlers did when a page needed script
- Three findings that look alike and need different fixes
- What this means for common stacks
- Does structured data rescue a page that needs JavaScript?
- Script also hides your URLs
- Do AI agents run JavaScript?
- We shipped three pages that rendered nothing
- What to fix, in order

The safe assumption is that an answer-engine crawler does not run your JavaScript. The useful question is one you can settle yourself, without knowing any operator’s internals: **is your content in the bytes the server returns, before a single line of script executes?** If it is, rendering never mattered. If it is not, your visibility depends on a behaviour nobody documents and that can change without notice.

## The one-command test #

`curl -s https://yoursite.com/ | sed 's/<[^>]*>/ /g' | tr -s ' ' | head -c 2000`

That strips the tags from the raw response and shows the text actually in it. Look for your headline, your service description, your prices and your address. If you get navigation and [boilerplate](/glossary/boilerplate) while the substance is missing, the substance is assembled in the browser and does not exist for a client that does not run one.

Then check the weight. The heaviest page measured here delivered **476,540 bytes with 2.3% visible text**. It rendered fast and no validator objected. Pages that are mostly code turn up on 31.4% of scanned sites, usually because of inline CSS, which cannot be cached between pages, so a crawler pays for it again on every [URL](/glossary/url). The [text-to-HTML ratio guide](/guides/text-to-html-ratio-when-a-page-is-mostly-code) covers how to read that number.

## Is a fact in the source the same as a fact on the page? #

No, and this is the trap the curl test is built to catch. “It is in the HTML” can mean the characters appear somewhere in the file, or that a reader can recover them as page text. A script bundle or a JSON blob inside a `<script>` tag contains strings that are not part of the readable document.

We wrote four tiny test pages, each carrying the same harmless code, DEMO-731, in a different place, and ran two checks on each: a raw string search of the file, and a text extractor that reads the first response and skips script and style, the way many [retrieval](/glossary/retrieval) pipelines do.

| Where the fact was | Raw string search | Text extractor (skips scripts) |
| --- | --- | --- |
| Visible server HTML | Found | Found |
| `<noscript>` fallback | Found | Found |
| Inside a script literal | Found | Not found |
| Fetched later by the page’s script | Not in the file | Not found |

The third row is the one that gets misquoted: “the text is in the source” is true, and a reader that strips scripts still never sees it. The fourth row is worse: the fact is not in the file at all until something executes and asks for it. These were synthetic pages and one extractor, so they map where a fact can sit; they do not say what any named AI product renders. They do say what to check on your own pages: if the sentence you want quoted appears only inside script, it is not in your page text.

## What crawlers did when a page needed script #

A site serving a bot-verification interstitial at HTTP 200 has put a JavaScript test on its front door: the interstitial clears itself with script after a few seconds. Browsers pass. In every measurement here, **crawlers did not: they read the interstitial as the page.** Whatever any vendor says about rendering, that is what was observed on the wire. The same failure on a [robots.txt](/glossary/robots-txt) is written up in [a file that answered 200 and could not be read](/blog/a-file-that-answered-200-and-could-not-be-read).

Where rendering does happen in a pipeline, it is a later, separate, more expensive pass. Content in the first response never has to compete for it.

## Three findings that look alike and need different fixes #

“Needs JavaScript” usually gets reported as one problem. In this corpus it is three:

| What was found | Share of scans | What it means |
| --- | --- | --- |
| Content needs JavaScript | 2.4% | The response arrived and the content is not in it |
| Page is mostly code | 31.4% | The content is in it, at a ratio that makes it expensive to find |
| Render resource blocked | 4% | The page depends on a file the client is not allowed to fetch |

The first is fatal on any client that does not execute scripts. The second is survivable and costly. The third is the one most often missed, because it fails *even for clients that do render*: a renderer that cannot fetch the bundle produces the same empty page as a client that never tried. “We server-render, we’re fine” is worth checking against that third row.

## What this means for common stacks #

| Pattern | Survives without JS? | What to do |
| --- | --- | --- |
| Server-rendered pages | Yes | Nothing; check the ratio |
| Static site generators | Yes | Nothing; check the ratio |
| Client-only single-page app | No | Server-render or pre-render the routes that matter |
| Content in a JS widget or tab | Usually no | Put the text in the HTML; hide with CSS, not script |
| Prices or hours injected by an app | No | Put them in the HTML and in [structured data](/glossary/structured-data) |
| Facts only in a script or JSON blob | No, for readers that skip scripts | Repeat them in visible text |

The prices-and-hours row costs local businesses most. Those are exactly the facts assistants are asked for, and they are often drawn by a booking or menu widget after load. [Opening hours and prices are already the two facts almost nobody publishes](/blog/the-two-facts-almost-nobody-publishes); a widget that hides them makes it worse.

## Does structured data rescue a page that needs JavaScript? #

Only if the structured data is in the response too. A [JSON-LD](/glossary/json-ld) block injected by a tag manager, written by a plugin on load, or emitted during hydration has the same problem as the visible text. Validators run a browser, so a site can pass every one of them and ship no schema at all to a crawler that does not.

```
curl -s https://yoursite.com/ | grep -c 'application/ld+json'
```

Zero, on a page you believe carries schema, means the schema is written by something the crawler never runs. Move it into the server-rendered HTML. The same goes for [canonical](/glossary/canonical) tags, meta robots and [hreflang](/glossary/hreflang): a directive that only exists after hydration is one most clients never receive.

## Script also hides your URLs #

If your internal links exist only inside a client-side router, a reader that does not run script sees a site with very few pages. Fetch the raw HTML and look for real `<a href>` targets to your key pages. If they are generated on click, they do not exist for a client that never clicks, and your sitemap becomes the only route in; the [sitemap audit guide](/guides/xml-sitemap-audit) covers checking it.

## Do AI agents run JavaScript?

It depends on how the agent reaches the page.

| Client | How it reaches the page | Runs your JavaScript? |
| --- | --- | --- |
| Answer-engine crawler (GPTBot, ClaudeBot, PerplexityBot) | Fetches the URL from a datacentre on its own schedule | Assume no |
| User-triggered fetcher (ChatGPT-User, Claude-User, Perplexity-User) | Fetches one URL because a person asked about it | Not documented by any of the three; assume no |
| Browser-driving agent | Loads the page in a real browser for a person | Yes, including your consent banner and any interstitial |

Content in the server response is the only version all three read. A browser-driving agent also meets everything a person meets, so a cookie wall or challenge page a human clears in a second can stop an agent mid-task. Check both sides: the raw response with the commands above, and the page as your own connection receives it, which is what the [CrawlCheck browser extension](/extension) reads.

## We shipped three pages that rendered nothing #

Three pages exported from a design tool and published on this site depended on a client-side runtime to fill in their templates. Without it they showed literal curly braces; with it they rendered the wrong content. We rebuilt them as plain HTML with no third-party scripts. The lesson is the whole of this guide: content that exists only after a runtime mounts exists only for clients that run runtimes.

## What to fix, in order #

- Server-render or pre-render the routes that carry the facts: prices, hours, service areas, contact details.
- State each of those facts in visible HTML text, not only inside a script or a widget.
- Declare them again in structured data that is in the raw response.
- Unblock the resources a renderer needs, or stop depending on them.
- Re-run the curl test after every front-end deploy. A component moved behind a hydration boundary changes the first response without anyone noticing in a browser.

None of these steps depends on knowing what any crawler does this quarter. For the wider check of what crawlers receive, see [how to check whether AI crawlers can read your site](/guides/how-to-check-if-ai-crawlers-can-read-your-site), or run a scan on [crawlcheck.io](/).
Read live from the same counters the dataset page uses, at the moment this page was served. Bars are scaled to the largest value shown, not to 100%.

Written by

[Emmanuel Orta](/author) · VSNARY

I build CrawlCheck and write everything published here, from measurements the verification layer took. Where a post got something wrong, the correction stays in the post.

[Every post, and where I got it wrong →](/author) · [Follow on LinkedIn →](https://www.linkedin.com/in/emmanuelorta)

Share this finding: [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fdo-ai-crawlers-render-javascript%3Futm_source%3Dlinkedin%26utm_medium%3Dsocial%26utm_campaign%3Dshare)[X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fdo-ai-crawlers-render-javascript%3Futm_source%3Dx%26utm_medium%3Dsocial%26utm_campaign%3Dshare&text=Do%20AI%20crawlers%20render%20JavaScript%3F%20Check%20what%20they%20see)[Email](mailto:?subject=Do%20AI%20crawlers%20render%20JavaScript%3F%20Check%20what%20they%20see&body=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fdo-ai-crawlers-render-javascript)[Follow Emmanuel on LinkedIn](https://www.linkedin.com/in/emmanuelorta)

## Questions this post answers

### Does GPTBot execute JavaScript?

Treat it as not. Check whether your content exists in the raw HTML response before any script runs, because that makes the answer irrelevant. Where a bot challenge that clears itself with script was served in this dataset, crawlers read the challenge page rather than clearing it.

### How do I test whether my content survives without JavaScript?

Fetch the page with curl, strip the tags, and look for your headline, service description, prices and address in what remains. If the substance is missing, it is assembled in the browser and does not exist for a client that does not run one.

### If a fact is in my page source, can a crawler read it?

Not necessarily. Text inside a script tag or a JSON blob is in the file but is not page text, and a reader that skips scripts never sees it. Text fetched later by the page's own script is not in the file at all. State important facts in visible HTML.

### Does Googlebot render JavaScript?

Google documents rendering as a separate phase after crawling. That does not tell you what any other company's crawler or fetcher does, and most crawlers feeding assistants are best treated as reading the first response only. Design for the first response.

### Is a React or Vue site invisible to AI crawlers?

Not invisible. They receive whatever the server sent, which for a client-only build is an empty shell. The framework is not the problem; where the HTML is assembled is. Server-rendering or pre-rendering the routes that carry your facts removes the issue.

### Do AI agents run JavaScript?

An agent that drives a real browser does, the way a visitor's browser does. User-triggered fetchers such as ChatGPT-User, Claude-User and Perplexity-User do not document rendering, so treat them like crawlers and put the content in the server response.

## Related findings

[2026-08-28 How to check if AI crawlers can read your site Five curl checks that show whether GPTBot, ClaudeBot and PerplexityBot can read your site: content type, cache, crawler vs browser](/guides/how-to-check-if-ai-crawlers-can-read-your-site)[2026-08-28 Free AI visibility checkers: how to tell if one is any good What free AI visibility checkers really test, why a 100% score can still come with a fix to buy, and four checks a free tool must](/guides/free-ai-visibility-checkers-what-they-measure)[2026-09-01 Page builders drop the main landmark: nine HTML checks Page builders can silently drop the main landmark a screen reader jumps to. Nine structure checks you can run on the HTML your ser](/blog/accessibility-structure-nine-things-a-screen-reader-needs-before-contrast-matters)

The main product

Found this on your own site? **We fix it for $100.**

Scan free to see where you stand. The fix is one site, every finding implemented and re-measured, with a sealed before and after.

[Fix it all — $100](https://buy.stripe.com/4gM00j7OjawhdLEdyR2VG0v)
[What it covers](/pricing#fix) · [scan first, it is free](/)

Free browser extension

Check this on any site you open, **without leaving the page.**

CrawlCheck for Chrome grades every site you visit A–F and shows, from your own browser, what search engines and AI assistants are actually served. Free, no account.

[Add to Chrome — free](https://chromewebstore.google.com/detail/plgjengobhbdmbgckiiaaflgiepdbcpi?utm_source=crawlcheck.io&utm_medium=post)
[What it does](/extension)

Write for the library

Measured something yourself? **Submit an article.**

Send your finding, the data and the method. A person reads every submission and replies by email; accepted articles are published under your name with a link to your study. Free to submit. Articles are accepted on merit; no one can pay to have one published.

[Submit an article](/submit-finding#send)
[How it works](/submit-finding) · a reply within about a week

Spotted a mistake or a bug on this page? [Report an error](/report-error?k=article). Confirmed errors are fixed and logged on the [corrections page](/corrections).

## Comments

Comments are read before they appear. Nothing is published automatically, and no account is needed. An AI agent with a published signing key can post without the queue: it signs the request and the signature is checked against its own domain ([how](/api/comment/signed)). Those appear at once, marked *verified*.

Send for review

Writing about this? [Facts, live figures and marks](/press) — every number on that page is dated and traceable to a scan.

[All guides](/guides) · [The dataset](/data) · [How the dataset works](/policy)

We read your site the way crawlers do, from our own network, and every report says exactly what was asked for and what came back. [Who runs this](/author) · [Press kit](/press) · [Videos](/videos) · [Evidence for disputes](/evidence) · [YouTube](https://www.youtube.com/@crawlcheck) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io)

#### How we measure, and our own machine files

CrawlCheck reads every site as itself. Its crawler-identity tests send named user-agent strings from its own network, never from an operator’s published range, so a site that verifies crawlers can tell them apart; every report says so. Results reflect what an anonymous non-browser client receives. [What we collect and how to opt out](/policy) · [how every report is timestamped](/proof) · [who runs this](/author) · [press kit](/press) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io).

**Second vantage:** the [browser extension](/extension) measures what crawlers are served from your own address and after your JavaScript runs — the half this server cannot see. From 1.0.0 it sends the domain you ask about, on one button, and anonymous usage counts you can switch off; from 1.0.3 a footer switch turns off the hostname lookup for the grade on the icon; from 1.0.4 a share switch, on by default, sends a signed Two-vantages reading (status, size, words and a hash per identity; never page text); from 1.0.16 chips send the hostnames of search results and AI citations while the chips and grade switches are on; from 1.0.17 a readings switch, on by default, sends one signed page reading a day (numbers, the hostname and the page address with the query removed; never in incognito; at most 40 a day) and only while the share and grade switches are also on. Earlier versions send nothing.

**Our own machine layer for the agentic web:** [llms.txt](/llms.txt) · [llms-full.txt](/llms-full.txt) · [agents.md](/agents.md) · [SKILL.md](/SKILL.md) · [entitymap.json](/entitymap.json) · [media kit](/.well-known/media-kit.json) · [MCP server card](/.well-known/mcp/server-card.json) · [API catalog](/.well-known/api-catalog) · [OpenAPI](/openapi.json) · [robots.txt](/robots.txt) · [sitemap.xml](/sitemap.xml) · [security.txt](/.well-known/security.txt) — every one named in robots.txt, which is exactly what we check for on yours.

**Registry:** [AI policy](/registry/aipolicy) · [mediafire.com](/registry/mediafire.com) · [nolawriting.com](/registry/nolawriting.com) · [pineberry.com](/registry/pineberry.com) · [ringcentral.com](/registry/ringcentral.com) · [skyshowtime.com](/registry/skyshowtime.com) · [take-a-screenshot.org](/registry/take-a-screenshot.org) · [tomshardware.com](/registry/tomshardware.com) · [vipimages.com](/registry/vipimages.com) | **Pages:** [IP ranges](/data/ip-ranges) · [Keys](/keys) · [/](/)

[Contact](/contact) · [Partnerships](/partnerships) · [Terms of service](/terms) · [Refund policy](/refunds) · [Trust center](/trust) · [Subprocessors](/subprocessors) · [Changelog](/changelog) · [Report an error](/report-error)

Same body as a file: /guides/do-ai-crawlers-render-javascript.md · as data: /feed.json · what we tell agents site-wide: /llms.txt, /agents.md. To see any other site this way, from your own browser, after its JavaScript runs: the browser extension.