# HTML weight: how to pass this agent-ready check

Size of the HTML document (decompressed) and the number of script tags. Images and other files are not loaded.

## Why it matters

Heavy HTML costs agents time and tokens.

## How to fix it

Trim inline scripts, styles and data blobs from the HTML; load fewer scripts.

- Move large inline JSON and CSS out of the HTML.

- Remove unused script tags.

## Example

```
Aim for under 200 KB of HTML and 10 or fewer script tags.
```

## Scoring

This check is worth 10 of the 100 points in rubric v1. Grades: A+ is 95 or more, A 85, B 70, C 55, D 40, F below that.

[Grade your site](https://wattping.com/grader)

Other checks: [llms.txt](https://wattping.com/grader/checks/llms-txt) · [AI search and assistant access](https://wattping.com/grader/checks/ai-crawler-access) · [Sitemap](https://wattping.com/grader/checks/sitemap) · [Agent discovery files](https://wattping.com/grader/checks/agent-manifests) · [Structured data (schema.org)](https://wattping.com/grader/checks/structured-data) · [Works without JavaScript](https://wattping.com/grader/checks/works-without-js) · [Markdown version](https://wattping.com/grader/checks/markdown-version) · [Semantic basics](https://wattping.com/grader/checks/semantics) · [Response time](https://wattping.com/grader/checks/response-time) · [Transport hygiene](https://wattping.com/grader/checks/transport)

---
Canonical page: https://wattping.com/grader/checks/page-weight
