ChatGPT can read most law firm websites, as long as the words are in the page your server sends and not added later by JavaScript. I'm a California attorney, and before founding ilhamek I led the AI optimization of a San Francisco legal tech company's website. This is the first question I'd want answered about any firm's site, and you can answer it yourself in two minutes.
How does ChatGPT read a law firm website?
ChatGPT reads the text your website sends when it asks for a page. It doesn't see your design, your colors or your photos. It reads words.
Here is the catch. Some websites send a thin shell first, then use JavaScript to fill in the words inside the visitor's browser. Your browser runs that code. ChatGPT's fetcher doesn't.
Glenn Gabe, a search consultant, tested this in August 2025 and again in October 2026. He gave each AI tool a page built with JavaScript and asked for the first and last paragraphs. In the 2026 round, ChatGPT, Claude and Perplexity still couldn't return the main text. On some pages they saw the menu and the footer, and nothing in between. A study by Vercel, a web hosting company, pointed the same way.
Gemini and Copilot did much better, because they use Google's and Bing's systems, which do run JavaScript. Not perfectly: Copilot failed on one page built with heavy scrolling animation.
| AI tool | Runs JavaScript when it reads your page? (public tests, 2025 and 2026) |
|---|---|
| ChatGPT | No |
| Claude | No |
| Perplexity | No |
| Gemini (Google) | Usually yes, through Google's systems |
| Copilot (Microsoft) | Usually yes, through Bing's systems |
So a site Google reads well can still be hard for ChatGPT to read.
How common is this problem for law firm websites?
It is rare among personal injury firms, and serious when it happens. In ilhamek's 2026 study of 186 personal injury firm websites in Los Angeles and the Bay Area, only 1 sent AI an empty JavaScript page. Almost every site sent real text.
For that one firm, ChatGPT, Claude and Perplexity could barely read the website at all.
It is also not a wall. A University of Toronto study of AI citations, published in October 2026, found that pages depending on JavaScript were still cited. They were cited noticeably less often in Gemini, and slightly less in ChatGPT and Perplexity, a difference too small to be sure of. Harder to read, not impossible. That is why I say a site like this is hard for AI to read, never invisible.
We studied personal injury sites first. The way AI reads a page doesn't depend on the practice area, so the test below works for any firm.
The 2-minute test any owner can run
You don't need a developer for this. Open ChatGPT, Claude and Perplexity, each in a new chat. Paste this, with your own page address:
"Can you read [your page URL]? What are the first and last paragraphs?"
Then open the page yourself and compare.
- The AI quotes your real first and last paragraphs: it can read that page.
- It returns only your menu, footer or cookie notice: the main text is probably added by JavaScript.
- It says it can't load the page, or invents text that isn't there: treat that as a fail and run it again.
Do it for your homepage, your main practice area page and your attorney page. If any fail, show the answers to your web person. They can tell you whether the fix is small.
One more thing to watch: text that only appears after a click or a scroll. Crawlers don't click or scroll, so anything important should be on the page when it loads.
Readable is only step one
Most law firm websites pass the reading test and still don't get named by AI. Reading a page and quoting it are different things.
In the same study, the median site scored 5 out of 10, and only 3 of the 186 passed all 10 checks AI relies on. 47% had no question-style headings on the pages we sampled. Many led with slogans instead of a plain sentence saying what the firm does, for whom and where.
AI can read "We are trial lawyers." It still has nothing to quote.
Think of your website as a set of plans, and AI crawlers as the contractors who read them. First the contractors have to be able to open the plans. Then the plans have to say clearly what to build. A firm needs both before more pages or more ads make any difference.
I wrote about the quoting side in Why isn't my law firm showing up when people ask ChatGPT to recommend a lawyer in my city?
Checklist: can AI read your law firm's website?
- Did ChatGPT, Claude and Perplexity each quote the real first and last paragraphs of your homepage?
- Did they do the same for your main practice area page and your attorney page?
- Did any of them return only your menu, footer or cookie notice?
- Are your firm name, address, practice areas and attorneys written as text, not only inside images or videos?
- Does any important text appear only after a click, a tab or a scroll?
- Has your web person confirmed the main text is in the page the server sends?
- Once AI can read it: does the first sentence of your homepage say what you do, for whom and where?
The takeaway
ChatGPT can read most law firm websites, but it doesn't run JavaScript, so a site that builds its words with scripts can be hard for it to read. That problem is rare, and two minutes with three AI tools tells you whether it is yours. If your site passes, the real work is the next step: making it something AI can quote. To see what AI says about your firm today, try the test in Is ChatGPT Recommending Your PI Firm?