Boilerplate Ratio

How much of a page response is actual readable text compared with markup, script, and embedded data.

Also known as Text to code ratio. Updated .

What it means

When the text is a fraction of a percent of the document, extractors have a much harder job separating the content from everything else, and they sometimes keep the navigation and discard the article.

The part a short definition leaves out

There is no correct ratio and chasing a number is a waste of time. It matters as a symptom: a document that is overwhelmingly code usually got that way because a framework shipped its entire state in the response, and that is worth knowing about.

See whether this is costing you anything

The inspection reports on this signal directly, alongside thirty-seven others, and tells you whether it is a quick fix on your site or something deeper.

Run a Quick Inspection Full glossary