HTML Page Weight Analyzer
Measure the UTF-8 source and compare inline script, style, embedded source and comment bytes. Find declared resources by source position without sending requests.
Measure Inline Content in Saved HTML
Measures UTF-8 bytes from the current source. Referenced file sizes, compression and network transfer need separate evidence.
Analyzing HTML locally…
HTML Page Weight Analyzer: how to use it
- Open a local HTML file or paste the source. Choose a document or fragment to match its structure.
- Select Measure page weight. Review the source byte breakdown and the location and token size of supported resource attributes.
- Download the JSON report. Compare changes with the same source scope and use recorded browser measurements for network transfer.
Limits and notes
Accepts up to 250,000 UTF-16 code units of saved HTML. The breakdown measures the current text encoded as UTF-8 and can show original uploaded file bytes separately. The analyzer inventories selected HTML resource attributes and shows up to 150 declarations. External bytes, compression, CSS dependencies and runtime requests are outside source measurement.
How your privacy works →HTML Page Weight Analyzer: common questions
Why is the UTF-8 source size different from my file size?
A saved file may contain a byte order mark or use UTF-16. The original file bytes come from the local file. The UTF-8 total measures the decoded text in the workspace.
Does each srcset URL count as a resource?
Each srcset attribute counts as one candidate-list declaration. Source evidence cannot show which candidate a browser selects.
Are resource token bytes added to the page total?
The token bytes are already part of the measured HTML. They describe source text, including the attribute name and punctuation, independently of any resource transfer.