AI-Built Site Not Showing in Google? Check What Crawlers See
Many AI-built sites are single page apps that send crawlers a nearly empty HTML file and draw the content with JavaScript, so Google indexes slowly or not at all and most AI crawlers see nothing. Fetch your page with curl to see if your heading and text are in the raw HTML, check the rendered view in Search Console URL Inspection, and switch to static or server rendering if the content is missing.
AI app builders like Lovable, Bolt, Replit, Abacus.AI and v0 can take you from a prompt to a live URL in an afternoon. What they often hand you, though, is a single page application: one nearly empty HTML file plus a large JavaScript bundle that draws every page in the browser. People see a finished site. A crawler that reads the raw HTML sees a blank shell with a title and a script tag. That gap is the most common reason a freshly launched, AI-built site sits at zero impressions for weeks.
The good news is that you can test for it in about five minutes, and the fixes are well understood. Here is how to check what crawlers actually receive, and what to change if the answer is "almost nothing."
Why AI-built sites go invisible
Google can run JavaScript. It fetches your page, puts it in a rendering queue, loads it in a headless Chrome, and indexes what appears. That works, but it adds a step that can fail quietly: a script that errors, an API call that times out, a blocked resource, or content that only loads after a click or scroll. Anything that is not on the page after rendering does not exist as far as indexing is concerned.
Other crawlers are less patient. Bing renders some JavaScript but is less consistent about it. Vercel's analysis of AI crawler traffic found that OpenAI's and Anthropic's crawlers download JavaScript files without executing them, so a client-rendered page reaches those systems as an empty template. If you want your pages cited in AI answers as well as ranked in Google, the content has to be in the HTML the server sends.
Vibe-coded sites also tend to repeat a handful of structural mistakes that have nothing to do with rendering speed:
- Every route shares one
<title>and one meta description, because they live in the singleindex.html. - Navigation uses click handlers on
<div>or<button>elements instead of real<a href="/pricing">links, so crawlers cannot discover other pages. - Any URL, even a misspelled one, returns status 200 with the app shell, which Google later labels as a soft 404.
- No
sitemap.xml, no canonical tags, and sometimes a leftovernoindexfrom the builder's preview mode.
The five-minute test: what does the raw HTML contain?
Open a terminal and fetch your homepage the way a non-rendering crawler would. Replace the domain with yours.
curl -s https://yoursite.com/ | grep -o "<h1[^>]*>[^<]*" | head -3
curl -s https://yoursite.com/ | grep -o "<title>[^<]*"
curl -s https://yoursite.com/ | sed 's/<[^>]*>//g' | wc -w
The first command should print your main heading. The second should print a title specific to that page. The third counts visible words after stripping tags. A real content page usually shows several hundred words or more. If you get no heading, a generic title like "Vite + React App," and a word count under 50, your content is being drawn by JavaScript after load.
Repeat the title check on two different inner pages. If both return exactly the same title as the homepage, every page on your site looks identical to a crawler before rendering.
Then test how the site handles a page that does not exist:
curl -s -o /dev/null -w "%{http_code}\n" https://yoursite.com/this-page-does-not-exist-123
The correct answer is 404. If you see 200, your host is serving the app shell for every path. We wrote a separate guide on why a missing file returns 200 instead of 404 if you want the full background.
Check Google's rendered view in Search Console
The curl test tells you what non-rendering crawlers get. To see what Google gets after rendering, use URL Inspection in Search Console:
- Paste the page URL into the inspection bar at the top of Search Console.
- Click Test live URL, then View tested page.
- Open the HTML tab and search it for a sentence from the middle of your page.
- Open More info and look at page resources and JavaScript console messages.
If your sentence is in the rendered HTML, Google can see the content and the problem lies elsewhere (crawl priority, quality, or simply time). If the sentence is missing, read the console messages. Failed API calls, blocked scripts and errors thrown during startup show up there, and each one is a reason Google indexed a blank page.
Also check the Page indexing report under Indexing, then Pages. A pile of URLs under "Soft 404" or "Duplicate, Google chose different canonical than user" is the typical fingerprint of an app shell being served everywhere. Google updated its help text this week to say that "Crawled, currently not indexed" is common and not always a problem, but on a young site with only a few dozen pages, a large share of pages in that bucket is worth investigating.
Fixes in order of impact
1. Ship HTML, not just JavaScript. The biggest win is making the server send real content. Most frameworks can do this without a rewrite. In Next.js, setting output: 'export' in next.config.js builds every route to a static HTML file. Astro produces static HTML by default. For a plain Vite and React app, add a prerender step to the build so each route is saved as its own HTML file. If you build inside an AI tool, ask it directly: "Convert this to static site generation so each route outputs its own HTML file with its content, title and meta description in the source." Then rerun the curl test to confirm.
2. Give every page its own title, description and canonical. These must be in the HTML source of each page, not injected later. A canonical tag that points to the homepage on every route is a common builder default and tells Google to ignore your inner pages.
3. Use real links. Every page you want found needs at least one plain <a href> link pointing to it from another crawlable page. Google's JavaScript documentation is explicit that it follows links with an href attribute and does not click buttons to discover URLs.
4. Return a real 404. On Cloudflare Pages, if your build output has no top-level 404.html, Pages treats the project as a single page application and serves your index page for every unknown path with status 200. Adding a 404.html file to the output folder switches that off, so missing pages return a true 404. On other hosts, look for a "SPA fallback" or "rewrite all to index.html" setting and limit it to the routes your app actually has.
5. Submit a sitemap. Generate sitemap.xml listing every real URL, reference it in robots.txt with a line like Sitemap: https://yoursite.com/sitemap.xml, and submit it in Search Console under Indexing, then Sitemaps. Do the same in Bing Webmaster Tools, which also feeds several AI search products.
6. Remove leftover blockers. Search your built HTML for noindex and open robots.txt in a browser. Preview environments often ship with Disallow: /, and it sometimes survives into production.
After you fix it: what to expect
Once the raw HTML carries your content, request indexing for your five or ten most important URLs with URL Inspection and let the sitemap handle the rest. Do not resubmit the same URLs every day; it does not speed anything up. On a new domain, it is normal for pages to move from "Discovered" to indexed over one to four weeks. Watch the Page indexing report trend and the Performance report impressions rather than individual URLs.
If you would rather not run the commands by hand, our free site checker fetches your page the way a crawler does and flags a missing title, missing H1, thin raw HTML, noindex tags and a missing sitemap in one pass. Either way, the test that matters is simple: if your words are not in the HTML your server sends, assume most crawlers cannot read them.
Where this question came from
- Search Engine Land: 7 technical SEO checks for vibe-coded websites
- Vercel: The rise of the AI crawler
- Google Search Central: Understand the JavaScript SEO basics
Questions about AI-built sites and crawlers
Does Google index JavaScript websites?
Yes, Google renders JavaScript in a headless Chrome before indexing, but it is an extra step that can fail on script errors, slow API calls or content that needs a click. Content in the raw HTML is indexed more reliably.
Can ChatGPT and Claude read my client-side rendered site?
Mostly no. Vercel's crawler analysis found OpenAI's and Anthropic's crawlers fetch JavaScript files but do not execute them, so they only see what is in the server's HTML.
Why does every page on my site have the same title in Google?
Your titles are probably set by JavaScript after load, so the raw HTML of every route carries the one title from index.html. Put a unique title and meta description in each page's HTML source.
How do I make Cloudflare Pages return a real 404?
Add a 404.html file at the top level of your build output. Without it, Pages assumes a single page application and serves your index page with status 200 for any unknown URL.