Catalog/Low text-to-HTML ratio
SEO issue

Low text-to-HTML ratio: is it an SEO problem?

A low text-to-HTML ratio can signal thin content or bloated markup. See which pages have little text versus code and whether it's worth fixing.

8632
audited sites affected

What it means

Low text-to-HTML ratio means the page's HTML markup takes up more bytes than the actual readable text. This happens when there's a lot of HTML tags, attributes, whitespace, or structural elements relative to the content they contain.

Why it matters

Search engines must parse HTML to extract content, so excessive markup dilutes the signal and wastes crawl budget. AI agents and crawlers also have to work harder to distinguish meaningful text from structural noise, which can slow understanding of the page's purpose and reduce the quality of extracted content for indexing.

How to fix it

  1. Remove unnecessary whitespace and line breaks from HTML output.
  2. Minify HTML to reduce tag verbosity without losing semantics.
  3. Use semantic elements (header, nav, main, section, article, footer) instead of generic divs for structure.
  4. Trim redundant attributes (e.g., empty data-* attributes, unused classes) from markup.

Example

Before — HTML
<!-- 4KB of markup, 40 words of text -->
<div class="wrapper"><div class="row"><div class="col">
  <span></span><span></span>
  <p>Contact us.</p>
</div></div></div>
After — HTML
<main>
  <h1>Contact Our Team</h1>
  <p>Reach our support team by email at ... , or call ... . We reply within one business day and cover billing, returns, and technical questions.</p>
</main>

Low ratio usually means either bloated wrapper markup or a genuinely thin page. Trim empty containers and add real content.

When it's not a problem

This is often fine for pages with rich interactive content, complex layouts, or heavy JavaScript frameworks where the markup serves a functional purpose. It's also acceptable for pages where the content is genuinely short but well-structured, since Google evaluates quality relative to purpose, not just ratios.

How Crawlinx detects it

We compute visible text bytes divided by total HTML bytes. Below 5% flags the page, with the measured ratio shown. It's a notice — a nudge to check for thin content or markup bloat, not a verdict.

How common is it?

8632 audited sites in our corpus currently show this issue. The breakdowns below show which platforms, gatekeepers, verticals and countries are most exposed.

FAQ

Is text-to-HTML ratio a ranking factor?
No, Google has never confirmed a ratio threshold. A low ratio is a heuristic that often correlates with thin content or heavy framework markup — worth a look, not a rule.
What is a good text-to-HTML ratio?
There's no official target. Content pages typically sit well above 5%; below that usually means very little text or a lot of boilerplate markup.

Related guides

Breakdowns

CMS

View breakdown →

Category

View breakdown →

Related
Catalog Lorem-ipsum placeholder text in a live page Category CMS Main text is hard to read (low Flesch Reading Ease) Thin content (low word count) Title tag and meta description are identical

Audit your own site — free

157 checks, internal PageRank, render-diff. No signup, results in ~30s.

Scan your site →