How AI Reads Your Website and What Stops It Understanding It

O Que a IA Vê Quando Visita o Seu Website e Como Corrigir

When an AI assistant visits your website, it does not see the design: it reads the HTML code the server returns, extracts the text, headings, links and structured data, and tries to work out from that who the business is and what it does. If the main content only appears after JavaScript runs, if it sits inside images or if the bot is blocked at the door, the AI is left with an incomplete, or wrong, idea of your business. The good news is that you can test what a bot is able to read in a few minutes.

Quick Answer

AI bots read your website's code, not its design. See how to test what ChatGPT and other assistants can read and how to fix the most common blocks.

Table of Contents(7 sections)
  1. How does AI read a website?
  2. Can ChatGPT read a website?
  3. What does AI not see on your website?
  4. How do you test what AI sees on your website?
  5. How do you prepare your website for AI?
  6. When is it not worth worrying about?
  7. Frequently Asked Questions

This article shows how to run that test, which blocks we find most often on Portuguese business websites and where to start fixing them.

How does AI read a website?

AI reads a website through bots (crawlers) that request each page from the server and analyse the response, just as Googlebot does. There are two types of visit worth distinguishing:

  • Training bots, such as GPTBot (OpenAI) or ClaudeBot (Anthropic), collect public text to train models. What they read today can influence what the model “knows” about your business in the future.
  • Search and user bots, such as OAI-SearchBot, ChatGPT-User or PerplexityBot, visit pages at the moment someone asks a question, in order to cite the information with a link.

Google’s AI Overviews and AI Mode are a separate case: they use the normal search index, built by Googlebot. If the page is properly indexed on Google, it is available for those answers.

In every case, the bot ends up with a “stripped-down” version of the page: text, headings (H1, H2, H3), lists, links, image alt text, the page title and description, and structured data. Colours, animations, background videos and the visual look do not count.

Can ChatGPT read a website?

Yes, as long as the page is accessible to the bot and the content is in the HTML. When a user pastes a link or when ChatGPT searches the internet, an OpenAI bot requests the page and reads the text. If the page blocks the bot, requires a login or only shows content after running JavaScript, the answer tends to be vague or based on other sources.

An important difference from Google: Googlebot runs JavaScript, but several AI bots read only the initial HTML, without running it. Analyses published by web infrastructure companies reached that conclusion for the main AI bots outside Google. In practice, a website built entirely in JavaScript can do well on Google and be almost empty for ChatGPT or Perplexity.

What does AI not see on your website?

AI does not see what is not in text in the HTML or what is blocked to it. These are the problems we find most often in the analyses we carry out:

Content loaded by JavaScript

Websites made with some visual builders, React or Vue applications without server-side rendering, and widgets that load prices, property listings or vehicle stock from another system. The user sees everything; the bot sees an almost empty page.

Text inside images

Price lists, opening hours, menus and banners with the text “drawn” into the image. To a bot, it is just an image with a file name. The same happens with scanned PDF catalogues.

Blocks at the door

Rules in robots.txt, WordPress security plugins, hosting firewalls and services such as Cloudflare, which now offers AI bot blocking as a default option on many accounts. Many businesses block AI assistants without knowing they have done so.

Essential information hidden or missing

Service pages with three generic lines, without saying where the business operates, who it works for or how much it costs. The address only in the embedded map, the phone number only in an image, the services only in a menu. AI does not guess what is not written down.

Contradictory information

Different opening hours on the website and on the Google Business Profile, two phone numbers, old prices in an article from three years ago. AI cross-checks sources and, when it finds contradictions, may choose the wrong one or leave the business out.

How do you test what AI sees on your website?

The simplest test is to view the page without JavaScript: if the main content disappears, it is very likely that AI bots that do not run JavaScript do not see it either. There are several ways to do this, all free:

  1. View the source code. In your browser, open the page and use “View page source” (Ctrl+U on Windows, Cmd+Option+U on Mac). Search for a sentence from the main text with Ctrl+F. If it is not there, it was loaded later by JavaScript.
  2. Disable JavaScript. In Chrome’s settings, under privacy and security, disable JavaScript for your website and reload the page. What remains visible is roughly what a simple bot reads.
  3. URL Inspection in Search Console. It shows the HTML Google obtained after rendering the page and whether Google can index it. This is the right test for AI Overviews. If the page is not even indexed, first see why your website is not showing on Google.
  4. Check robots.txt. Open yourdomain.pt/robots.txt and look for lines with GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot or “User-agent: *” followed by “Disallow: /”.
  5. Ask the assistant itself. Ask ChatGPT or Perplexity to summarise a page on your website from the link. If the summary is vague or it says it cannot access the page, there is a problem.
  6. Check the server logs. If your hosting gives access to the logs, look for visits from AI bots and the responses they received. A repeated 403 code means a block.

How do you prepare your website for AI?

Preparing a website for AI is mainly about making sure the important content is in text in the HTML, that the right bots can get in and that the information about the business is clear and consistent. In order of priority:

  1. Unblock what should be open. Decide which bots you want to allow. You can block training bots and allow search bots, but do it deliberately, in robots.txt and in the firewall.
  2. Put the main content in the HTML. In WordPress, this usually happens naturally with common themes and builders. On websites made with JavaScript frameworks, the solution is server-side rendering or static generation of the pages, a job for technical SEO.
  3. Turn what is in images into text. Prices, opening hours, services and contact details should be written out. The images that remain should have descriptive alt text.
  4. Write complete service pages. What you do, for whom, where, how it works, how much it costs (even if it is “from”), how long it takes. With the answer right at the start, as we explain in our GEO and AEO service.
  5. Add structured data. Organization or LocalBusiness with name, address, phone number and official profiles; Product for shops; Article for articles. They help AI classify the information without ambiguity.
  6. Align the information outside the website. Google Business Profile, social media and directories with the same details as the website, a point that overlaps with local SEO.

What if the website is old or hard to change?

If the website was built on a closed platform or in JavaScript without server-side rendering, fixing it can cost more than rebuilding it. In those cases, compare the cost of the fixes with that of a new website, designed from the start to be read by people, by Google and by AI. At PortugalSEO, website design starts from €450+VAT (IVA).

When is it not worth worrying about?

If your website runs on WordPress with a common theme, the text is written on the pages and there is no block in robots.txt or in the firewall, AI can probably already read it well. In that case, the problem is not technical: it is the quality and clarity of the content, or the lack of mentions of the business on other websites. It is not worth spending money on tools that “simulate how AI sees your site” before running the free tests above.

The first website audit is free and includes these tests. You can request it on the free website analysis page.

Not sure whether ChatGPT and Google can read your website? We test what AI bots see, identify the blocks and tell you exactly what to fix first.

Request a Proposal

Frequently Asked Questions

Do AI bots run JavaScript?

Googlebot runs JavaScript, so AI Overviews and AI Mode have access to the rendered content. Several bots from other AI assistants read only the initial HTML. To be safe, the main content should be in the HTML without depending on JavaScript.

How do I know if I am blocking ChatGPT?

Open your website’s robots.txt file and look for rules for GPTBot, OAI-SearchBot or ChatGPT-User. Also check the settings of your security plugin and of Cloudflare or your hosting, where blocks are often switched on by default.

Should I let AI use my content for training?

It is a business decision. Allowing it can help models get to know your business; blocking it protects the content. You can block training bots and allow search bots, which are the ones that bring your website into answers with a link.

Does image alt text help AI?

It helps it understand what the image shows, but it does not replace text on the page. Important information, such as prices, opening hours or services, should be written in the HTML and not just in an image with alt text.

Is a WordPress website already ready for AI?

In most cases WordPress generates HTML that bots read well. The problems usually lie in security plugins that block bots, in builders that load content via JavaScript or in pages with little text.

How long does it take AI to notice the fixes?

Search bots can read the corrected page on their next visit, which can happen within days. What a model learnt in training only changes when it is trained again, which can take months.

Related Articles

More SEO and digital marketing content you might find interesting.

IA Está a Reescrever as Regras do SEO no Setor Automóvel Guias SEO
Oct 19, 2026

AI Is Rewriting SEO Rules in the Automotive Sector

AI is dramatically reshaping SEO for the automotive sector — car dealers, auto parts retailers, and automotive content publishers face...

Read article
Registo de domínio e hosting Alojamento Web
Oct 31, 2026

Is Free Web Hosting Worth It? Comparison

Is free web hosting worth it? Comparison of best free options (InfinityFree, GitHub Pages, Netlify) and when paid hosting from...

Read article
Marketing Digital para E-commerce em Portugal: Estratégias Que Geram Vendas Guias SEO
Oct 19, 2026

How to Sell More in Your Online Store in Portugal

To sell more in an online store in Portugal, start by making sure the store converts the people who already...

Read article
Análise competitiva num ecrã com gráficos Guias SEO
Oct 19, 2026

Digital Competitive Analysis Guide

Digital competitive analysis systematically evaluates competitors’ online presence to identify opportunities, benchmark performance, and inform strategic decisions. In 2026, with...

Read article
Como Conseguir Mais Clientes pela Internet: 15 Estratégias [2026] Guias SEO
Oct 19, 2026

How to Get Customers Online: Proven Strategies for Portuguese Businesses

Getting customers online is no farr optional for Portuguese businesses — it’s survival. 87% of Portuguese consumers research online before...

Read article
Carro desportivo - vídeo marketing automóvel para stands e concessionários Blog Marketing Automóvel
Oct 21, 2026

Importing Cars from Germany to Portugal: Complete Guide

Importing a car from Germany to Portugal can save between 15% and 35% on the final vehicle price compared to...

Read article
Seo Conteudo Citavel Guias SEO
Oct 19, 2026

SEO Depends on Citable Content: How to Be Referenced by LLMs

SEO in 2026 increasingly depends on being cited by Large Language Models (LLMs) — ChatGPT, Claude, Gemini, Perplexity. Being referenced...

Read article
Veterinarios Guias SEO
Oct 19, 2026

Digital Marketing for Veterinarians: Complete Portuguese Guide

Digital marketing for veterinarians in Portugal requires specialized approaches — Portuguese pet owners increasingly research online before choosing veterinary services,...

Read article
Patente Google Landing Guias SEO
Oct 19, 2026

Google Patent Reveals AI-Generated Landing Pages Limited to Shopping and Ads

A Google patent uncovered in late 2025 details how Google plans to generate landing pages dynamically using AI for Shopping...

Read article
Browsers de IA vs Google Chrome Guias SEO
Oct 19, 2026

AI Browsers from OpenAI and Perplexity: Can They Dethrone Chrome?

AI browsers from OpenAI (SearchGPT browser), Perplexity (Comet), and others launched in 2025-2026 claiming to disrupt Chrome’s 65%+ market share....

Read article
Pesquisa no Google para aparecer na primeira página Guias SEO
Oct 19, 2026

How to Get on the First Page of Google

Appearing on the first page of Google is where business happens — top 3 results get 75% of clicks, first...

Read article
Quanto Custa uma Loja Online em Portugal Guias SEO
Oct 19, 2026

How Much Does an Online Store Cost in Portugal? [Full Breakdown]

Creating an online store in Portugal costs between €500 (DIY basic) and €15.000+ (professional custom shouldlopment), with monthly ongoing costs...

Read article
View All Articles