SemhackDevelopers
OpenAPIGet an API key
Skip to content
SemhackHelp center
Open app

Loading article…

© 2026 Semhack
HomePricingPrivacyTermsContact
© 2026 Semhack
HomePricingPrivacyTerms
  1. Help center
  2. Audit checks
  3. Text to HTML ratio

Other check

Text to HTML ratio

Divides the size of the visible text by the size of the whole HTML document.

Category
Other
Importance
Low importance
Check id
text-to-html-ratio

How the result is decided

  • PassText is 10% of the HTML or more.
  • WarningLess than 10%.

Why it matters

A low ratio usually means heavy markup, inline scripts or styles, and little readable content. It’s a hint, not a ranking factor.

How to fix it

Move inline scripts and styles into files, remove unused markup and add meaningful content.

After the fix, open the page’s report and choose Run again to confirm it passes.

Was this helpful?

Previous checkContent lengthNext checkInline CSS

About audits

  • How the audit score worksThe 0–100 score is a weighted average of the checks: importance sets the weight, the result sets the credit.
  • Running a page auditWhat Semhack fetches when it audits a URL, what the report shows and the limits that apply.
Search help

Other checks

  • Structured data
  • Meta viewport
  • Charset
  • Sitemap
  • Social tags
  • Content length
  • Text to HTML ratio
  • Inline CSS
  • Deprecated HTML