Spacefast has launched! Read our founder’s blog post

How to Rank in ChatGPT When Your Site Was Built With AI

Why ChatGPT can't see many AI-built sites, and the fixes that get you cited.

Published

9 min read

On this page

Quick answer To rank in ChatGPT results, OpenAI's search crawler has to reach your page and find the text in plain HTML. From there, specific facts give it something to quote.

Key takeaways

  • ChatGPT can only cite pages its crawler can read. OpenAI says sites that opt out of OAI-SearchBot, its search crawler, won't be shown in ChatGPT search answers.
  • OpenAI's crawlers don't run JavaScript. If your text only appears after scripts load, the page looks empty to them.
  • Private and noindex settings hide a finished site. A noindex tag tells search engines to skip a page, so check both before you change any copy.
  • Ranking in ChatGPT means being named and cited. Specific facts on your pages give it something worth quoting.

There’s a good chance you found this page after asking ChatGPT about your own niche and scanning the sources for your site.

If an AI built that site, the cause usually sits in code you never opened. The page looks finished in your browser, while the file a crawler downloads can be close to empty.

What a crawler downloads On a typical client-rendered AI-built page
Page title Vite + React
Meta description Missing
Page body <div id="root"></div>
Text added by scripts Never runs
Words ChatGPT can quote 0

AI-built sites tend to trip on the same few settings, and the AI that built your site can fix most of them.

Find yours in five minutes, then let Spacefast publish the fixed site where ChatGPT can reach it.

How Do You Rank in ChatGPT? The Short Answer

Your page needs to pass five checks.

Check What ChatGPT needs
Crawler access OAI-SearchBot allowed in robots.txt (the file that tells crawlers what they may visit) and in firewall or bot-blocking settings
Readable text Main text inside the HTML the server sends, before any JavaScript runs
Titles and descriptions A unique title and meta description on each page
Visibility Public pages with no noindex tag, password or login in the way
Copy Specific facts like names, places, prices and numbers

How Does ChatGPT Pick Its Sources?

Your page has to show up for the searches ChatGPT runs, and those can use words the person never typed. OpenAI’s help pages describe how it gets from a question to a cited source.

  1. Rewrites the question. It turns one prompt into one or more searches, and may follow up with more specific ones.1
  2. Searches its index and partners. OAI-SearchBot builds OpenAI’s own index, and some searches go to partner search providers. OpenAI’s help page for Enterprise and Edu workspaces names Bing.2
  3. Reads and cites pages. It reads the pages that come back, can fetch one live with ChatGPT-User, and links the ones it uses as sources.

The Three OpenAI Crawlers That Matter

Crawler What it does If you block it
OAI-SearchBot Indexes pages for ChatGPT search You won’t be shown in ChatGPT search answers, except as plain navigational links3
GPTBot Collects content that may train OpenAI’s models Affects training only, since search is a separate setting3
ChatGPT-User Fetches a page when someone’s chat needs it OpenAI says robots.txt may not apply, since a person asked3

What Ranking Means in ChatGPT

A ChatGPT answer has no positions to climb. You show up as a brand named in the answer or as a linked source, and both are worth tracking.

OpenAI says placement isn’t guaranteed and depends on several factors meant to surface reliable, relevant information.1

Why AI-Built Sites Are Invisible to ChatGPT

An AI builder checks its work in a browser, where JavaScript runs and the page looks right. A crawler reads the raw file instead, and four gaps show up there.

  • Text that only JavaScript adds. A single-page app ships a near-empty HTML file and builds the page in the browser. A crawler that doesn’t run scripts only gets the empty file.
  • Starter titles left in place. Starter templates ship with placeholder titles. Left alone, every page shares one title that says nothing about your business.
  • Private links and noindex tags. Preview links, password pages and a leftover noindex tag keep crawlers out. The site still works for you because you’re signed in.
  • Copy with nothing to quote. A line about the future of your business gives ChatGPT nothing to cite. Your city, prices and numbers do.

Which Crawlers Run JavaScript

Crawler Runs JavaScript
Googlebot Yes
AppleBot Yes
OAI-SearchBot No
GPTBot No
ChatGPT-User No
ClaudeBot No

In a study by Vercel and MERJ, GPTBot made 569 million fetches across Vercel’s network in one month. It downloaded JavaScript files and rendered none of them.4

That’s how an AI-built site can rank in Google and still be invisible in ChatGPT, since Googlebot renders the page before reading it.

How to Check What ChatGPT Can See on Your Site

This is a five-minute AI search visibility check, and a browser covers most of it. Run it on your homepage and on one inner page.

  1. View the page source. Right-click, choose View Page Source and search for a sentence from the page. If it isn’t there, crawlers can’t see it.
  2. Turn off JavaScript. In Chrome DevTools, run Disable JavaScript from the command menu and reload. A blank page or a spinner is what GPTBot gets.
  3. Read your robots.txt. Open yoursite.com/robots.txt and look for OAI-SearchBot, or a Disallow rule under User-agent: *.
  4. Look for noindex. Search the source for noindex. Then open the site in a private window to make sure it isn’t behind a login.

Or run this in a terminal:

A result of 0 means that sentence isn’t in the HTML the server sends, so ChatGPT has nothing to quote from that page.

The Fix List to Get Cited by ChatGPT

Work through these in order. The first four decide whether ChatGPT can read you at all, and the rest shape what it has to work with.

  1. Put the text in the HTML. Ask your AI to prerender public pages, meaning build their full HTML ahead of time, or render them on the server. Next.js and Astro both do this for static pages by default.
  2. Give every page its own title and description. Keep titles under about 60 characters and descriptions under about 160, and say what the page offers.
  3. Let OpenAI’s search crawler in. Allow OAI-SearchBot in robots.txt and in any firewall or bot-blocking rules, along with OpenAI’s published IP ranges.3
  4. Make the site public and indexable. Remove noindex tags, passwords and preview-only links from every page you want found.
  5. Get into Bing. Submit your sitemap in Bing Webmaster Tools and turn on IndexNow, which notifies Bing when a page changes.
  6. Add schema markup. Organization and FAQPage markup describe your business in a format machines read. Microsoft says schema helps its own LLMs.
  7. Write facts worth quoting. Put your city, prices, hours and numbers on the page itself, in sentences that make sense on their own.

What’s Proven and What’s Still a Guess

Signal Who backs it Status
OAI-SearchBot access OpenAI’s crawler docs Confirmed
Text in plain HTML Vercel and MERJ crawler study Confirmed
Bing indexing OpenAI’s help pages, which name Bing for Enterprise and Edu Confirmed
Schema markup Microsoft, for its own LLMs Partly confirmed
llms.txt Not mentioned in OpenAI’s crawler docs Unconfirmed

An llms.txt file is a plain-text map of your site written for language models. It’s cheap to add, so do it last and don’t expect it to move anything yet.

Prompts to Fix an AI-Built Site

Paste these into the AI that built your site. Each one either only reads or waits for your OK before it changes anything.

Show me what crawlers see (reads only):

Put the text in the HTML (asks before changing):

Write titles and descriptions (asks before changing):

Open the site to search (asks before changing):

How to Publish an AI-Built Site ChatGPT Can Find

Where you publish decides two settings ChatGPT depends on. One makes the site public, and the other lets search engines index it.

Spacefast

  • New Spaces start: Private. The URL alone doesn’t grant access, and a visitor without access gets a locked access page (a 403 error).
  • To be found: Set General access to Public in Share, then turn on search indexing, which is a separate setting.
  • What crawlers get: A folder of HTML publishes exactly as it sits on disk, so the text your AI wrote is in the file.
  • Keep in mind: Spacefast serves a client-rendered app as built, so prerender it before you publish.

Spacefast’s guide to sharing walks through General access.

Private by default is the right call for drafts and client previews. Switch both on only when you’re ready to be found.

Make What Your AI Built Easy to Find

A few more prompts to the AI that built your site can make it readable to the crawlers ChatGPT relies on.

If you build in ChatGPT, Claude or Cursor, ask your AI to publish to Spacefast and make the Space public when it’s ready to be found.

FAQ

How Do I Get Mentioned by ChatGPT?

Make your pages readable to OAI-SearchBot, then publish specific facts about what you do and where. To see which pages ChatGPT cites today, ask about your field with search on and open Sources.

How Long Does It Take to Show Up in ChatGPT?

OpenAI says robots.txt changes reach its search systems in about 24 hours. There’s no published timeline for indexing and citations after that, so ask ChatGPT about your field again every couple of weeks.

Does Blocking GPTBot Remove My Site From ChatGPT?

No. GPTBot collects training data. OAI-SearchBot decides whether you can appear in ChatGPT search, and OpenAI treats the two settings separately.

Is ChatGPT SEO Different From Google SEO?

The basics carry over. ChatGPT sends some searches to providers like Bing, so check your Bing indexing as well as Google.

Do I Need an llms.txt File to Get Cited by ChatGPT?

No. It’s a proposed standard, and OpenAI’s crawler docs don’t mention it. It takes minutes to add, so treat it as a last step.

Can a Site Built With AI Rank in ChatGPT?

Yes. Nothing in OpenAI’s guidance treats AI-made sites differently. What counts is whether the crawler can read the page and whether the page answers the question.

Sources

  1. OpenAI’s help article on ChatGPT search for Enterprise and Edu ↩

  2. OpenAI’s docs on its crawlers ↩ ↩2 ↩3 ↩4

  3. Vercel’s study of AI crawlers, with MERJ ↩

Make it with Spacefast.

Set it up yourself

Works with any AI