Blog / Technical Guides

Making Your Lovable Website AI-Crawler Friendly (2026 Update)

By Keyona Meeks, Founder, ReRev Labs · Sep 15, 2025 · 9 min read

The short answer: First find out what a crawler gets when it asks for your page. Run curl on your URL. If the HTML already holds your title, your headline and your text, you are in good shape. If it holds an empty <div id="root"> and a script tag, a crawler that does not run JavaScript sees nothing. The fix is to prerender your pages at build time so each one ships with its real text. A parallel set of plain pages is the fallback. Then decide in robots.txt which crawlers may read you. Nobody can promise that an AI product will cite you. I have no data on that.

By the end of this post, you'll be able to:

  • Test what a crawler sees on any page of your site in under two minutes.
  • Choose between prerendering and a parallel set of plain pages.
  • Read and edit the AI crawler lines in your robots.txt.
  • Know what I could not confirm.

I sell build work, including Lovable sites, so weigh this with that in mind. This is an update of the post we first published in September 2025. The URL is the same. The focus is narrower now: AI crawlers only. Ranking in Google is a separate topic, covered in our guide on whether Lovable is good for SEO.

What a crawler sees. A visitor sees the full page. A crawler that does not run JavaScript sees an empty shell. Prerendering puts the text in the HTML.

Diagram: What a crawler sees.

What does an AI crawler see on a Lovable site?

Lovable builds React apps, and ours is one. A React app built this way usually returns a small shell, and the browser runs JavaScript to fill it in. A person sees the full page. A crawler that does not run JavaScript sees the shell.

Google's JavaScript SEO page says: "You can use JavaScript to set or change the meta description as well as the <title> element." It also says Googlebot "queues all pages with a 200 HTTP status code for rendering," which is a partial quote, and that "server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers." I read that page as excerpts, not in full. It describes Google's crawler. I could not read the pages that describe how OpenAI, Anthropic or Perplexity fetch pages. The tool did not allow them. So I cannot say which AI crawlers run JavaScript. The safe plan is to not depend on it.

How do you check what a crawler sees?

Run these three commands on a page of your own. Swap in your URL:

curl -s https://yourdomain.com/your-page | grep -o '<title>[^<]*</title>'
curl -s https://yourdomain.com/your-page | grep -o '<h1[^>]*>[^<]*'
curl -s https://yourdomain.com/your-page | grep -o '<h2' | wc -l

The first shows the title. The second shows the main headline. The third counts the section headings. I ran these on October 31, 2026 against one of our own blog pages. They returned its title, its headline and a count of 7. That tells you the text is in the first response.

Now try a page on your site. If the title is a generic one, the headline is missing and the count is 0, the first response is a shell. Do this for the pages that matter: the home page, each service page and your best posts. A page can pass while another fails, because prerendering is set up per route.

What should you do if the page is an empty shell?

You have two options I can speak to.

Option A: prerender at build time. The build writes a static HTML file for each public page, with the real title, description and text in it. The React app then loads on top, so visitors see no change. This is how rerev.io works. Our build script says so in its header comment: it writes "the full article text for blog posts, so search engines and AI crawlers that don't run JavaScript see the real page." I checked the result with the commands above. This option takes build work. I can't say how Lovable's own settings handle it, because I could not read Lovable's docs this session.

Option B: a parallel set of plain pages. This was the method in the first version of this post. You make a plain, text-first copy of each important page, at a route like /about-ai, and a content index that lists them. It works without touching your build. The cost is that you now keep two versions of every page current. If you can prerender, I would, because there is one page to update instead of two. If you do use Option B, set a canonical tag on each plain page that points to the main page, and keep both in step.

There are other ways, such as a prerender service in front of your host. I did not test them.

Which AI crawlers can you allow in robots.txt?

Your robots.txt lists which crawlers may read which paths. Ours has a block for each of these names, copied from our live file on October 31, 2026:

User-agent: GPTBot
User-agent: ChatGPT-User
User-agent: Claude-Web
User-agent: Anthropic-AI
User-agent: PerplexityBot

Each block allows the whole site except a few private paths. I could not read the vendors' bot pages this session, so I cannot confirm that these are the current names, or what each one is used for. Crawler names change. Check each vendor's own page before you copy a list.

Whether to allow them is your decision. Allowing a crawler means your public text can be read by that product. Blocking it means the opposite. Some businesses want one and some want the other. Google's robots.txt page puts it this way: "A robots.txt file tells search engine crawlers which URLs the crawler can access on your site," and it adds that "it is not a mechanism for keeping a web page out of Google" (per an earlier review of that page). Treat robots.txt as a request, not a lock.

Does a llms.txt file help?

We publish one at /llms.txt. It is a short plain-text summary of the site with links to key pages. I checked on October 31, 2026 that it returns a 200. I could not confirm that any AI product reads it. Writing one costs little, so it is fine to add. Do not expect it to change anything.

Where does an LLM fit in this?

An LLM can help with the messy part: reading your pages and suggesting a plain summary for the llms.txt file, or turning a long page into a clean text version if you pick Option B. A person has to check the result, because an LLM can drop a fact or add one you never wrote. The curl test, the build and the robots.txt are plain rules, and they do the same thing every time. My stance: AI writes the code, plain automation runs it, and an LLM shows up only where the input is messy and a person checks the result.

What should you check after a change?

  1. Run the three curl commands on each key page. Titles must differ from page to page.
  2. Open your robots.txt in a browser. Confirm it loads and that it lists what you meant.
  3. Open /sitemap.xml and confirm it lists your public pages.
  4. Load the site as a normal visitor. Nothing should look different.
  5. Test again after each Lovable edit, since a new build can change what ships.

Where this has limits

  • I did not read the AI vendors' crawler pages. I do not know which AI crawlers run JavaScript, or how they treat robots.txt or llms.txt.
  • Google's page was read as excerpts. It describes Google, not AI products.
  • Lovable's docs were not readable this session. I give no menu paths and no Lovable setting for prerendering.
  • I tested one of our own pages with curl. Your pages may differ.
  • I have no data on citations. Being readable is not the same as being cited.
  • We sell build work. Read the advice with that in mind.
  • No ReRev prices and no promises about results.

If you want help making your site readable, tell us about your setup. We also wrote about deploying a Lovable site to your own domain and what to automate first. Do not send passwords or login details.

Frequently asked questions

Can AI crawlers read a Lovable website?

It depends on what your server returns before JavaScript runs. Test with curl. If your text is in the HTML, they can read it.

What is prerendering?

It means the build creates a finished HTML file for each page, so the text is there before any script runs.

Do I still need the plain -ai pages from the first version?

Not if you prerender. They remain a fallback if you cannot.

Should I block AI crawlers?

That is a business decision. Allow them if you want your public pages to be readable to those products, and block them if not.

Does llms.txt work?

I could not confirm that any AI product reads it. It is cheap to add.

Will this get my site cited by AI assistants?

I cannot promise it. It removes one reason for being missed.

Read next: Add a sitemap and robots.txt to a Lovable site for the files that tell crawlers where to go.