Glossary

What is raw HTML?

Raw HTML. The difference between raw and rendered HTML is the difference between what AI reads and what a visitor sees.

By Reflexa Technologies — the company behind Reflexa Agent, the agent that works on your site · updated 12 November 2026

Raw HTML is the document exactly as the server sends it, before any JavaScript runs — what a fetcher that does not render sees.

Why it matters

The difference between raw and rendered HTML is the difference between what AI reads and what a visitor sees. Content, structured data and even the title can exist only on one side.

Open any page, right-click and choose **View page source**: that document is the raw HTML. Now open the browser's inspector on the same page: that is the rendered HTML, after every script has run. On a plain site the two are the same. On a site built as a JavaScript application the raw HTML can be a near-empty shell — a root element and a script tag — and everything the visitor reads is created in the browser.

Most AI fetchers read the raw document and do not run JavaScript. GPTBot, ClaudeBot, PerplexityBot and the retrieval fetchers that answer a question now take what the server sends and move on. For them, a paragraph that only exists after rendering does not exist; a FAQ injected by a script is not there; structured data added by a tag manager is missing. The visitor sees a full page; the engine sees a title and nothing to quote.

The fix is to put the content in the document the server sends: server-side rendering or static generation (Next.js, Nuxt, Astro, Hugo and WordPress all do this by default or with a setting), prerendering for an app builder, and structured data written into the HTML rather than injected. The test is simple: view source, search for your headline and your first paragraph; if they are there, AI can read them.

How to see it on your own site

View source shows raw HTML; the browser inspector shows rendered.

The free tool does it for you → — no signup.

Checked by Reflexa: Is your structured data in the HTML, or added by a script? — part of the 23 checks the page check runs.

Done for you by the agent: the Raw HTML check, applied on your site · på svenska · how Reflexa Agent works

One of the 33 terms in the glossary.

Questions people ask.

Is raw HTML the same as the page source?

Yes. "View page source" shows the raw HTML exactly as the server sent it. The inspector (DevTools) shows the rendered document after JavaScript ran — a different thing when the site is built in the browser.

Why does my page look fine to me but empty to AI?

Because you see the rendered page and the fetcher reads the raw one. If your content is produced by JavaScript in the browser, the raw HTML holds little more than a script tag.

How do I check what AI actually sees on my page?

View source and search for your headline and opening paragraph, or run the free "what AI sees" tool, which fetches the page without a browser and shows the text a crawler gets.

See it measured on your site.

The free page check runs the 23 checks on your public pages — this term, observed on your pages.

Run the free check →