Text to HTML Ratio Checker

Check how much of your web page source is visible content text versus heavy HTML code.

Paste HTML Document Source

Text to HTML Ratio Score
45.04%visible content density
Healthy ratio! Google favors pages with at least 15% clean text content.
Text: 227 BTotal HTML: 504 B
Visible Text Size227 B
Raw Code Payload504 B

About Text to HTML Ratio Checker

Measure the percentage of visible text content relative to the raw HTML markup of any webpage. Improve crawl budget efficiency and page speed by identifying code bloat.

How to Use the Text to HTML Ratio Checker

  1. 1

    Paste HTML Source

    Paste your webpage's raw HTML code into the box.

  2. 2

    Inspect Ratio

    View the instant percentage score and clean text vs. code byte weights.

  3. 3

    Review Assessment

    Check whether your page meets the recommended 15%+ threshold.

Key Features & Calculation Capabilities

  • Strips inline scripts, styles, and markup to isolate real body copy
  • Precise byte-level measurements of visible text vs. total markup
  • Color-coded health assessment indicators

Worked Example

Testing an informational landing page

Inputs:
Raw HTML Size: 48 KB
Visible Text Size: 12 KB
Calculated Results:
Ratio: 25.0%
Health: Healthy

A 25% text ratio indicates lightweight markup and substantial content.

Practical Limitations & Considerations

  • Modern Single Page Applications (SPAs) often have low initial HTML ratios because content renders dynamically via JavaScript.
Got Questions?

Frequently Asked Questions

While not a direct ranking factor, pages with healthy ratios load faster, consume less crawler bandwidth, and tend to provide better user experiences.