Text-to-HTML Ratio
Checks the ratio of body text to HTML markup — thin/code-heavy pages flagged.
What this check measures
We divide the visible text length by the total HTML length. A ratio below 10% suggests the page is mostly markup with little actual content — low value for users and crawlers.
Why it matters
Low text-to-HTML ratio correlates with thin content, template-heavy pages, or overly complex markup. None of these rank well. A healthy content page has 15-25% ratio.
How our audit detects it
Strip tags, measure remaining text length vs. full HTML length. Compute ratio.
Typical findings
- error_outlineRatio under 5% — SPA shell with no server-rendered content.
- error_outlineRatio 8% — thin landing page with mostly hero markup.
How to fix
Usually means the page needs more content, simpler markup, or server-rendering. This metric is a symptom, not a root cause — find the underlying issue.
Frequently asked questions
Is high ratio always good?expand_more
Want this checked on your site?
Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.
Scan my siteRelated checks
SSR / Pre-rendering
Checks if the page is server-rendered or statically pre-rendered.
TechnicalHTTP Status Codes
Checks that pages return proper status codes — 200 for live, 404 for missing, 301 for moved.
TechnicalNo Client-Side Redirects
Checks that redirects happen server-side, not via JavaScript.
TechnicalViewport Meta Tag
Checks for <meta name="viewport" content="width=device-width, initial-scale=1">.