Local StudioWEB

HTML File Size Analyzer

Measure exact HTML source bytes and see the share used by script and style bodies.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
HTML File Size Analyzer showing the raw byte total, category breakdown and resource reference count for the sample.
The sample separates inline source bytes from resource references whose file sizes are unknown.

How to Use an HTML File Size Analyzer Offline

  1. Open the HTML, review Security Check, then select Continue.
  2. Open a UTF-8 .html or .htm file, paste source and select Analyze Pasted HTML, or choose Open Sample.
  3. Use the source total for the exact number of bytes. For pasted text the total uses the editor text encoded as UTF-8.
  4. Review the markup and text, inline script and style bodies, and BOM. The four rows add to the source total.
  5. Read the resource reference count separately. Referenced resource sizes are unknown.

Account for the Bytes in Your HTML

  • Open a local UTF-8 HTML file, paste source, or use Open Sample.
  • See total bytes, byte order mark, script and style body bytes, and the remaining markup and text.
  • Review supported resource reference counts separately from source bytes.

Formats and Compatibility

InputUse this HTML file size analyzer for HTML files in UTF-8 or paste the source into the workbench.
OutputThe HTML file size analyzer tool gives exact source-byte totals and a separate count of supported resource references.
BrowserA modern browser with local file support.
ScopeAnalyzes up to 8 MiB of UTF-8 source within the parser’s memory limits. Resource sizes, compression and live transfers are outside the report.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Use this HTML file size analyzer without uploading files. The local browser-based workbench keeps the source on your device with no upload.

Select Open Sample to see the workflow with the included example.

Formats and Compatibility

Accepts UTF-8 .html and .htm up to 8 MiB within the parser budget. A local file’s size includes its original newline bytes and any leading UTF-8 byte order mark.

Read the Byte Breakdown

The garden sample contains a UTF-8 BOM, an inline script with accented and emoji text, and one image reference with unknown resource size.

Frequently Asked Questions

Can I use an HTML file size analyzer offline?

Yes. Extract the Tool ZIP and open HTMLFileSizeAnalyzer.html.

Is this a free HTML file size analyzer?

Yes. Local Studio offers it for free.

Where is the HTML file size analyzer download?

Use Download Tool ZIP to get the self-contained workbench and instructions.

How do I use the HTML file size analyzer in browser mode?

Open a local file or paste UTF-8 source into the editor and analyze it.

What does the local HTML file size analyzer count?

It separates original UTF-8 source bytes from selected resource reference counts. External resource sizes are unknown.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.