Your React app looks good on a browser, but have you thought about how it appears to a crawler that doesn't use JavaScript? For a long time, most AI crawlers, like those from ChatGPT and Claude, didn't execute JavaScript - they would just fetch the files. Vercel found this out when they analyzed how these crawlers work. There are some reports that OpenAI's crawlers can render some sites, but this was only seen in a few cases last autumn, and we haven't heard anything official about it.
You can easily test your website in just a few minutes using curl. The good thing is you don't need to install anything extra - it's likely already on your computer.
Step 1: fetch the page as GPTBot
curl -s -A "Mozilla/5.0 (compatible; GPTBot/1.0; +https://openai.com/gptbot)" \
https://example.com/ -o gptbot.html
-Asets the User-Agent. If you check OpenAI's crawler page, you'll see the exact strings they use for GPTBot, OAI-SearchBot, and ChatGPT-User. For our purposes, any string with "GPTBot" in it works the same, unless your server is checking the IP addresses of bots.
Step 2: look for your content
Choose a sentence that catches your eye on the page and then look it up:
grep -c "Start your free trial" gptbot.html
0 means a crawler that doesn't show anything will never see that sentence. So, take a look at the basics too:
grep -o "<title>[^<]*</title>" gptbot.html
grep -o '<meta name="description"[^>]*>' gptbot.html
grep -o '<meta property="og:[^>]*>' gptbot.html
If the title of every page is the same basic phrase, that means the meta tags are being updated in the user's browser.
Step 3: compare raw HTML with the rendered page
Count visible words in both versions:
# what GPTBot gets
sed -e 's/<[^>]*>//g' gptbot.html | wc -w
# what a browser builds
google-chrome --headless --dump-dom https://example.com/ \
| sed -e 's/<[^>]*>//g' | wc -w
On a Mac, you can usually find the Chrome app at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome. The way it removes tags is pretty basic, so the numbers won't be exact. But what's important is how they compare: if it's 50 versus 2,000, that means bots can barely see anything.
Step 4: run it across your important pages
#!/usr/bin/env bash
UA="Mozilla/5.0 (compatible; GPTBot/1.0; +https://openai.com/gptbot)"
while read -r url; do
words=$(curl -s -A "$UA" "$url" | sed -e 's/<[^>]*>//g' | wc -w)
echo "$words $url"
done < urls.txt | sort -n
Make a list of URLs in a file called urls.txt, with each URL on a new line. The pages that show up at the top of the results are the ones that are hardest for crawlers to handle.
What this test does and doesn't tell you
So, when a request comes in saying it's from GPTBot, your server and CDN will respond in a certain way - that's basically what a spoofed User-Agent tells you. But there's a bit more to it than that.
Some websites check if a visitor is a bot by looking at its IP address, and they might think a fake GPTBot is a real person or block it completely. This means you could get different results than what the actual crawler would get. If you have a firewall or CDN with rules for bots, you should check its logs to see if the GPTBot has visited your site for real. OpenAI makes its crawler IP addresses public, so you can verify if a visit is actually from them and not just someone pretending to be GPTBot.
The test doesn't tell you if the crawler actually visits your site. That's controlled by robots.txt and the settings on your content delivery network (CDN). Check your robots.txt file for lines that mention GPTBot, OAI-SearchBot, or ChatGPT-User. Make sure you're not accidentally blocking them - or that you're intentionally blocking them, if that's what you want. Blocking can be a good idea, but you should do it on purpose, not by mistake.
What to do with the results
If important pages don't have much on them, you've got a few options to consider:
- If you're thinking of making a change, consider using server-side rendering or static generation for pages that are open to the public.
- So, prerendering is when we give bots a quick snapshot of our website in HTML, while users get the full app experience. We can either host the prerender server ourselves using open-source software or pay for a service to do it for us - I actually work for a company called Renderlix, which deals with AI crawlers and offers this service with all its plans.
- You can get some quick results by adding a real title, description, and Open Graph tags right into your index.html file.
After you make a choice, run the script again. This is a simple way to check for errors and it won't cost you much.





