Getting cases6 min read

Can ChatGPT actually read my law firm's website?

By Ilhame Kabli, California attorney · December 1, 2026

The short answer

For most law firms, yes. ChatGPT reads the text your website's server sends and doesn't run JavaScript, so a site that builds its words with scripts can look nearly empty to it. In ilhamek's 2026 study of 186 personal injury firm websites, only 1 sent AI an empty page. The common problem: AI could read the site but not quote it.

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.

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?

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?

Want to know if AI recommends your firm today? The free AI Visibility Check tests your website and 5 of your clients' questions in ChatGPT, Google AI, Perplexity and Claude. Results in 48 hours, no call needed.

See if AI recommends your firm (free) →

Questions people ask

How do I know if my website is built with JavaScript?

You usually can't tell by looking at it in a browser, because the page looks the same to you either way. The quickest check is to ask ChatGPT, Claude and Perplexity for the first and last paragraphs of a page and compare their answer with what is really there. Your web person can also tell you whether the main text is in the page the server sends or added later by scripts.

If Google can read my site, can ChatGPT read it too?

Not always. Google renders JavaScript, and Gemini and Copilot lean on Google's and Bing's systems, so they usually see what a visitor sees. In repeated public tests in 2025 and 2026, ChatGPT, Claude and Perplexity did not run JavaScript when they fetched a page, so they saw only what the server sent.

Does a JavaScript website mean AI will never recommend my firm?

No. A University of Toronto study published in October 2026 found that pages depending on JavaScript were still cited by AI, though less often in Google's Gemini. It makes your firm harder for AI to read, which is worth fixing, but it is not a wall.

My site passed the test. Why isn't ChatGPT recommending my firm?

Because reading a page and quoting it are different things. In ilhamek's 2026 study of 186 personal injury firm websites, almost every site sent AI real text, but only 3 passed all 10 checks AI relies on. Slogan headlines, no answers to real client questions and unclear attorney labels make a site hard to quote.

Do I need a new website if ChatGPT can't read mine?

Not always. Sometimes the main text can be moved into the page the server sends without a rebuild, and sometimes the way the site is built makes a rebuild the simpler path. Ask your web person first, with the test results in hand.

Should I run this test on every page of my site?

Start with your homepage, your main practice area page and your attorney page, since those are the pages AI weighs most when it describes a firm. If those come back right, spot-check a few more pages built from different templates.

Ilhame Kabli is a California attorney and the founder of ilhamek, which builds AI-readable websites for law firms and works on them every month so AI recommends the firm. More about Ilhame → · See if AI recommends your firm (free)

← All articles

Have a question about getting your firm found? Ask me.

I'm Ilhame Kabli, a California attorney since 2012. Ask anything about your website, AI search or marketing your law firm, and I'll answer you by email within 2 business days.

General information about marketing and AI, not legal advice. I may turn great questions into a blog post, always without names.

See if AI recommends your firm (free)