PERFORMANCE

HAR File Analyzer — find what made the page slow

Read a HAR capture in your browser and get request counts, transfer size, blocking time, and the slowest requests.

Read this first: a HAR file is a full recording of a browsing session. It routinely contains session cookies, Authorization headers, bearer tokens, form submissions, and personal data. Nothing you load here is uploaded — the file is read by your own browser and never leaves this tab — but never email or attach a raw HAR to a ticket without scrubbing it.
Read locally with the browser's own file reader. No upload takes place.
Export a HAR from your browser's network panel, then paste or load it here.
Capture summary
0 requests
 
0 KB
Total transferred
0 ms
Slowest single request
0 ms
Total blocked time
0
Failed responses (4xx/5xx)
Tip: high blocked time across many requests usually means connection queuing, not a slow server. Look at how many resources come from the same host before blaming the backend.

A HAR file analyzer reads the recording your browser makes of a page load and turns it into the four or five numbers that actually explain why the page was slow. HAR — HTTP Archive — is a JSON format that every major browser can export from its network panel, and it contains one entry per request with full timing breakdowns, sizes, status codes, and headers. That is enormously useful data trapped inside a file that is unreadable by eye.

A HAR separates three problems that all feel like "the page is slow": too many requests, requests that are too large, and a server that takes too long to respond. Those need three different fixes. This page parses the capture in your browser using the built-in JSON parser, makes no network requests, and never transmits the file.

What This HAR File Analyzer Does

Load or paste a HAR and it reads every entry in log.entries, aggregating four headline figures: how many requests the page made, how many bytes were actually transferred over the network, how long the single slowest request took, and how much total time was spent blocked — that is, queued and waiting for a connection rather than doing anything useful.

Below that it lists the top 15 requests, ranked by the dimension you choose: total time, transfer size, blocked time, or server wait. Each line shows the method and status, total time, blocked time, wait time, transfer size, and URL. After the list come two roll-ups: transferred bytes by content type, and request counts by host. Responses with a status of 400 or above are counted separately, because a 404 on an asset is both a wasted round trip and usually a bug nobody has noticed.

How to Use It

  1. Capture a HAR. Open your browser's developer tools, go to the Network panel, reload the page with recording enabled, then use the export or "save all as HAR" option.
  2. Load the file with the file picker, or paste its JSON into the text box if you already have it open.
  3. Pick a ranking dimension. Start with total time, then switch to transfer size and blocked time to see whether the problem is weight or queuing.
  4. Click Analyse HAR and read the four summary figures before the detail — they tell you which category of problem you have.
  5. Copy the breakdown into a ticket, after checking that no URL in it contains a token or session identifier in the query string.

How the Figures Are Calculated

Request count is the number of entries in the capture. Total transferred prefers each entry's _transferSize field, which browsers add to record actual bytes on the wire including headers and after compression. When that field is absent — some tools omit it — the analyzer falls back to response.headersSize plus response.bodySize, and it ignores any value of -1, which the format uses to mean "not available" rather than zero. Treating -1 as a real number is the classic HAR parsing bug and produces nonsensical negative totals.

Of the timing fields, this tool reads three: the entry's time (the total), timings.blocked and timings.wait. The other phases (dns, connect, ssl, send, receive) are not shown or summed, so you cannot see download time or connection setup here. The spec uses -1 for a timing that does not apply to a request (such as DNS on a reused connection) and for sizes that are not available; the analyzer treats any negative or missing value as zero in its totals. The structure of these fields comes from the HAR 1.2 specification.

Blocked Time Is Not Server Time

This is the distinction that changes what you do next. blocked is time the request spent queued in the browser before it was sent — waiting for a free connection, waiting behind higher-priority resources, or waiting on the browser's own scheduling. wait is time between the request being fully sent and the first byte of the response arriving, which is genuine server processing plus network latency.

A capture where every request shows a large wait points at the backend: slow queries, no caching, cold starts. A capture where wait is small but blocked is large across dozens of requests points at connection contention — too many resources on one host, or a connection limit being hit — and no amount of backend optimisation will fix it. The remedies are entirely different: one calls for query tuning or caching, the other for fewer requests, bundling, or serving assets from a domain that supports better multiplexing.

The sample capture in the paste box shows both profiles. The JavaScript bundle (210 ms blocked, 190 ms wait) and the stylesheet (180 ms blocked, 95 ms wait) each spent longer queued than waiting on the server, which is the queuing signature. The hero image is a weight problem: of its 2.26 s, only 420 ms was blocked and 410 ms was server wait, and the remaining roughly 1.4 s went on connection setup and downloading 1.8 MB, a phase this tool does not break out.

Transfer Size Versus Content Size

A HAR records two different sizes and confusing them leads to the wrong conclusion. content.size is the size of the resource after decompression — what the browser has to parse and execute. _transferSize and bodySize describe what actually crossed the network, which is smaller whenever compression is in play.

Both matter, for different reasons. Transfer size determines how long the download takes, so it is the number that matters on slow connections. Content size determines parse and execution cost, and for JavaScript that cost can exceed the download cost on a mid-range phone. In the sample, the bundle crosses the network as 238.7 KB (244,410 bytes) and expands to about 793 KB (812,400 bytes) of JavaScript. This tool totals transfer size only; it reads content.size but does not display it, so compare the two in your browser's network panel. If content size and transfer size are nearly equal for a text asset, that asset is probably not compressed.

Entries served from cache typically report a transfer size of zero or a very small number while still showing a content size, which is correct — nothing crossed the network. If a repeat-load capture shows full transfer sizes on assets you expected to be cached, your cache headers are not doing their job.

What a HAR Contains, and Why You Should Scrub It

This is the part that gets skipped, so it is worth being blunt. A HAR captures request and response headers in full. That means every Cookie header, every Authorization header, every session token, every API key sent in a custom header, and every query string parameter. It captures POST bodies too, so a capture that includes a login includes the submitted password. It captures response bodies when the "with content" export option is used, so it may include personal data belonging to whoever was logged in.

A HAR file is therefore a credential, not a log file. If you send one to a vendor, a contractor, or a support desk, assume everything in it is compromised and rotate anything sensitive. Capture in a private window with a test account where possible, and use your browser's option to export without response content unless you specifically need bodies.

On this page: the file is read with the browser's own FileReader, parsed in memory, and discarded when you close the tab. There is no upload, no server round trip, and no storage. The output box shows only URLs, statuses, sizes, and timings — never headers or bodies — so a copied breakdown is far safer to paste into a ticket than the raw file. Check the URLs anyway, since tokens sometimes travel in query strings; our URL parser will break any suspicious one into its components.

Reading a Capture in Context

Two cautions about interpretation. First, a HAR is a recording of one load on one machine on one network, which is not the same as a measurement. Timings vary with connection quality, CPU contention, browser extensions, and cache state. Capture two or three loads before drawing conclusions, and note whether the cache was cold or warm — a warm-cache capture will look dramatically better and tell you nothing about a first-time visitor's experience.

Second, request timings do not tell you what the user actually saw. A page can finish every request in under a second and still render late because a blocking script delayed the first paint, and a page can keep loading analytics for another ten seconds after it looks entirely finished. The HAR tells you about the network; rendering behaviour is a separate axis. Google's Core Web Vitals documentation covers the user-facing metrics that complement this view. For the content side of the same audit, our website word count and meta tag generator cover page structure rather than page weight.

Page slow and not sure which layer to fix?

If the capture shows a problem you cannot place, we can review it with you and separate server response time from asset weight and request queuing. We do not promise a specific speed-up or ranking change.

Web Development Services Request A Performance Audit

How to Read the Result

The paste box opens with a five-request sample. Click Analyse HAR on it and you get 5 requests, 2 MB transferred across 2 hosts (2,120,890 bytes), a slowest request of 2.3 s, total blocked time of 853 ms, and 1 failed response (the favicon 404). The numbers are exactly what the table below shows.

RequestStatusTimeBlockedWaitTransfer
hero-banner.jpg (cdn.example.net)2002.3 s420 ms410 ms1.8 MB
app.bundle.js2001.2 s210 ms190 ms238.7 KB
/ (HTML)200412 ms3 ms260 ms14.2 KB
main.css200340 ms180 ms95 ms21 KB
favicon.ico40495 ms40 ms50 ms210 B
  • Total blocked time is a sum. Browsers run requests in parallel, so 853 ms of blocked time is spread across the load and can exceed the time you actually waited. The five request times add up to 4,287 ms, which is also not the page load time.
  • Slowest request is the largest single time value, not a chain. Here the hero image alone is 2.3 s.
  • Share of weight. The hero image is 1,840,260 of 2,120,890 bytes, about 87% of everything transferred.
  • Ranking changes the order, not the totals. The summary tiles stay the same whichever sort you pick; only the top-15 list reorders. Ranked by wait, the order is hero image (410 ms), HTML (260 ms), bundle (190 ms), stylesheet (95 ms), favicon (50 ms).
  • Input limits. Invalid JSON shows a parse error, and a valid file with no log.entries shows a message instead of numbers. Hosts are counted from the URL hostname.

What to Do Next

  • Failed responses above zero: fix or remove the URL. In the sample, the favicon 404 costs a request on every page view.
  • One file dominates the transfer: compress or resize it first. Cutting the 1.8 MB hero image would shrink the sample load more than any other single change.
  • Blocked high, wait low, across many requests: reduce requests to the same host, bundle small files, or check for connection limits before touching the backend.
  • Wait high on most requests: sort by server wait, then look at caching and slow queries on those URLs. Repeat the capture two or three times to be sure it is not a one-off.
  • Before sharing: scrub cookies and tokens from the file, or share only the copied breakdown after checking the URLs.

Common Mistakes to Avoid

  • Sharing a raw HAR without scrubbing it — it contains cookies, auth headers, and often submitted form data in full.
  • Treating -1 as a size or duration — in HAR it means "not available", and summing it produces negative totals.
  • Confusing blocked time with server time — one calls for fewer requests, the other for backend work, and fixing the wrong one changes nothing.
  • Drawing conclusions from a warm-cache capture — it hides exactly the cost that a first-time visitor pays.
  • Comparing content size to transfer size as if they measure the same thing — one is parse cost, the other is download cost.

Related Free Tools From Arb Digital

Break a suspicious request URL into parts with the URL parser, look up an unfamiliar response code with the HTTP status code lookup, identify a client string with the user agent parser, and shrink oversized stylesheets with the CSS minifier or scripts with the JS minifier. The free online tools hub has the rest.

Frequently Asked Questions

Is my HAR file uploaded to a server?

No. The file is read by your browser's own file reader and parsed in memory. There are no network requests, nothing is stored, and everything is discarded when you close the tab.

What sensitive data does a HAR file contain?

Full request and response headers, which means cookies, authorization headers, and API keys, plus POST bodies and sometimes response bodies. Treat a HAR as a credential and rotate anything sensitive if you share one.

What is the difference between blocked time and wait time?

Blocked is time the request spent queued in the browser before being sent, usually due to connection limits. Wait is time between sending the request and receiving the first byte, which reflects server processing and network latency.

Why do some timings show as -1?

Because the HAR format uses -1 to mean the value is not applicable or not available, such as DNS time on a reused connection. Those values are excluded from totals rather than counted as zero.

Why is transfer size smaller than content size?

Because content size is measured after decompression while transfer size is what crossed the network. A large gap means compression is working; almost no gap on a text asset means it is not compressed.

How do I export a HAR file?

Open developer tools, switch to the Network panel, reload the page with recording on, then use the export or save-as-HAR option. Prefer the option that excludes response content unless you specifically need bodies.

Does a fast HAR mean the page feels fast?

Not necessarily. A HAR measures network activity, not rendering. A page can complete every request quickly and still paint late because a blocking script delayed the first render.

Which requests does the breakdown list?

The top 15 by the ranking you choose, followed by transferred bytes grouped by content type and request counts grouped by host. The four summary tiles cover every request in the capture, not only the 15 listed.

Take it further

Looking for something else? Browse all free tools by category.