The expected result is a measurement report, not a score: it gives the exact UTF-8 byte length of the pasted HTML body, its Unicode code-point count, inline code and data URI weights, and a conservative 2,000,000-byte comparison.
That makes the result a source-level diagnostic rather than a complete page-load total or a promise that Googlebot will fetch and index the page. The HTML Page Weight Analyzer runs entirely in your browser: the pasted HTML is not uploaded, the URL is not fetched, linked resources are not requested, and scripts or forms in the paste are not executed or submitted.

What a complete result contains
For accepted input, the headline UTF-8 byte total and Unicode code-point count describe exactly the text supplied. The analyzer uses the browser's TextEncoder API, whose encode() method converts a string into UTF-8 bytes. ASCII normally occupies one UTF-8 byte, while accented letters, CJK text, and emoji can occupy more. A browser string length is a different measure because JavaScript strings count UTF-16 code units, whereas an HTML response is normally transferred as encoded bytes.
| Report item | What to expect |
|---|---|
| Total UTF-8 bytes | The exact encoded length of the accepted pasted text. |
| Unicode code points | The number of Unicode code points in that same text. |
| Inline script and style | Byte totals and each category's share of the complete source. |
| Embedded data URIs | The weight of data URI values found in supported resource attributes. |
| External references | A bounded inventory of supported external resource references, without downloading them. |
| 2 MB comparison | Remaining bytes below, or overage above, the 2,000,000-byte body reference. |
Run a reliable HTML weight check
Use a source capture that represents the response you want to measure:
- Capture the original uncompressed HTML response body. Prefer View Source, a saved response body, or an authorized curl capture. If the server varies its response by user agent, locale, authentication, or device, analyze each representative response separately.
- Paste that source and run the analysis. Avoid copying the browser's Elements panel after JavaScript has run. A mutated DOM can add or remove markup that was not present in the original response.
- Review the complete breakdown. Check the total UTF-8 bytes, Unicode code-point count, 2,000,000-byte comparison, inline script and style shares, data URI weight, and the bounded external-reference inventory.
- Fix the largest source-level hotspot. Make the smallest truthful change that addresses duplicated markup, oversized inline code, or embedded binary data without breaking the page's behavior.
- Remeasure the deployed response. Capture the new response body, run the analyzer again, and remember that HTTP headers and separately fetched resources remain outside this pasted-body calculation.
Very large inputs are protected by a strict input limit, a shared element cap, and bounded URL display. The exact byte and code-point figures apply to text the tool accepts, while the external inventory is bounded by design. Do not treat a bounded inventory as an exhaustive site-wide crawl, and narrow an accidental full-site paste before drawing conclusions from it.
How to read the 2,000,000-byte comparison
According to Google Search Central, Googlebot crawls the first 2 MB of a supported file and stops fetching at the cutoff; Google also states that the limit applies to uncompressed data. The analyzer labels its comparison as a conservative decimal 2,000,000-byte body reference. Google's Inside Googlebot explanation adds that HTTP headers consume part of the per-URL allowance, so the pasted body alone is not the complete amount Googlebot may fetch.
Consequently, a body below 2,000,000 bytes does not guarantee that Googlebot receives the whole document. An overage is not an indexing verdict either: the analyzer cannot know the real response-header size or prove exactly where Googlebot will stop. Its value is the visible remaining-byte or overage calculation, accompanied by the header caveat. Google can change these limits, so check the source and reference date rather than treating the reference as a permanent constant.
Which bytes belong in the pasted-body total
The total represents the HTML source supplied for analysis. It is useful to distinguish source bytes from network transfer, fetched resources, and browser-side activity.
| Included in the pasted-body calculation | Outside the pasted-body calculation |
|---|---|
| HTML markup and text | HTTP response headers |
| Inline script and style content | The payloads of linked stylesheets, scripts, images, frames, media, and other resources |
| Data URI attribute values as they appear in the source | Gzip or Brotli transfer size |
| Tags and URL text for external resource references | DOM mutations that occur after JavaScript runs |
| The exact response body you paste | Execution cost, rendering cost, Core Web Vitals, and indexing outcomes |
An external stylesheet, script, image, frame, preload, or media reference contributes only the characters that appear in the HTML response. The analyzer inventories supported references so you can distinguish a heavy document from one that merely points to heavy files, but it never downloads those files or estimates their payload sizes. Googlebot and the Web Rendering Service may fetch them separately, with their own limits.
Embedded data is handled differently because it is already part of the HTML source. The analyzer counts a supported data URI attribute value once, as it appears in the pasted text; it does not decode Base64 and add the decoded payload again. Arbitrary title or data-* attributes are not treated as resources. Source parsing uses a detached template fragment and the browser's native HTML tokenizer, preserving raw-text boundaries; nested template content remains inert and outside the resource inventory.
Use the breakdown to target the largest source hotspot
Treat the report as a debugging map rather than a performance grade:
- Large inline script bytes may indicate serialized application state, duplicated hydration data, or an embedded library. Remove duplicated serialized data or move appropriate code to a cacheable external file, then verify that the page still behaves correctly.
- Large inline style bytes may reveal repeated critical CSS. Consolidate or remove duplication where it is safe, rather than changing styles blindly to reduce the number.
- Large data URI totals can expose images or fonts embedded directly in markup. Avoid embedding large binary payloads when a normally served file is more appropriate.
- A long external-reference inventory may expose duplicate tags, but reference count alone is not a performance score. Check the references and remove unnecessary duplication without assuming that this report includes the referenced file sizes.
Place critical metadata and useful content early in the response, and fix the largest source-level hotspot before spending time on minor reductions. Moving code to an external file can make it cacheable, but the browser or crawler still fetches that file separately. A smaller HTML total therefore does not automatically mean a smaller complete page transfer or faster rendering.
Verify the deployed response after the fix
After deploying the change, recapture the original uncompressed response and run the analyzer again. Use browser DevTools or an authorized curl request against the public response when you need to inspect HTTP headers, compression, or external resource sizes. Those checks answer network and deployment questions that the pasted-body report intentionally leaves outside its scope.
Verify the rendered page and indexing evidence separately as well. A reduced HTML total can create more headroom below the body reference, but it does not guarantee full crawling, indexing, or better ranking. The dependable conclusion comes from the measured response, the supporting server evidence, and observed search behavior together.
If you're weighing options, Link Extractor Example: HTML Source to URL List covers this in detail.
If you're weighing options, Does an HTML Email Obfuscator Verify a Mailbox Exists? covers this in detail.