HAR File Analyzer
Drop a DevTools HAR export to see totals, third-party share, slowest and heaviest requests, errors and uncompressed text. Parsed locally, never uploaded.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the HAR File Analyzer?
A HAR file records every request of a browsing session: full URLs with their query strings, request and response headers, cookies, and often the bodies. That is why support teams ask for one, and why you should hesitate before uploading one anywhere. This page parses the file in your tab; nothing is sent, logged or kept, and closing the tab discards it.
Drop the .har file or paste its JSON and the whole capture becomes a verdict: request and byte totals, how much of the transfer went to third parties, bytes by type and by host, where the milliseconds piled up phase by phase (blocked, DNS, connect, TLS, wait, receive), the ten slowest and ten heaviest requests, and the findings worth fixing first: failed requests, redirect chains, text served without compression, and what came from cache.
The numbers follow the HAR 1.2 format as the Web Performance Working Group draft defines it. A timing of -1 means the phase did not apply to that request, a reused connection has no DNS or connect time, so -1 values are excluded from every sum rather than counted as zero.
- Totals: requests, transferred and decoded bytes, capture span, page load and DOMContentLoaded when recorded
- Third-party share by base domain, with a by-host table
- Bytes by type (document, script, style, image, font, data, media) with a chart
- Phase totals: blocked, DNS, connect, TLS, send, wait, receive, with -1 values excluded per spec
- Ten slowest and ten heaviest requests; errors, redirects, cache hits and uncompressed text called out
- Copyable text summary for tickets and reviews
- Runs entirely in your browser; the HAR is never uploaded
Updated
How to use the HAR File Analyzer
- Capture a HAR: DevTools, Network panel, load the page, then Export HAR. Chrome exports a "sanitized" HAR by default, which strips Cookie, Set-Cookie and Authorization headers; exporting with sensitive data is a separate opt-in in Settings. The sanitized file still keeps request and response bodies, URLs and other auth headers; Firefox and Safari steps and a jq redaction are in the guide to capturing a HAR file (/blog/how-to-capture-a-har-file).
- Drop the file here, or paste the JSON. Press Analyze HAR, or Load a sample to see the output on a small capture first.
- Read the verdict row: requests, bytes transferred against bytes decoded, the third-party share, and the capture span with the page load time when the HAR carries one.
- Check the findings: errors and failed requests first, then redirects (each one is a wasted round trip) and text served without compression.
- Use the phase table to name the bottleneck: heavy wait is a slow server, heavy blocked is queuing, heavy connect and ssl across many hosts means too many origins.
Worked examples
A capture summarised in one line
Input
The 11-request fixture from our test suite: a shop page, its assets, a CDN image, fonts, analytics
Output
11 requests · 321 KiB transferred (808 KiB decoded) · 1.3s span · 1 from cache
Transferred versus decoded is the compression story at a glance: this page ships 808 KiB of content in 321 KiB of transfer. The one cache hit is a script served from disk cache, recognisable by a transfer size of zero against a decoded size of 240,000 bytes.
Third-party share, priced in bytes
Input
The same fixture: a CDN image host, a font host and an analytics host next to shop.example.com
Output
third-party: 4 requests, 208 KiB (65% of transfer)
Four of eleven requests are third-party but they carry 65% of the bytes, mostly one 180 KiB CDN image. The by-host table names each origin, so the discussion about removing a tag starts from its measured cost.
A -1 timing is excluded, not zeroed
Input
The fixture's /api/recommendations request, sent on a reused connection: dns, connect and ssl are -1
Output
phases recorded: blocked 1 ms, send 0 ms, wait 420 ms, receive 1 ms
Per the HAR draft, -1 means the timing does not apply to that request. The parser drops the field entirely instead of storing a zero, and the test suite pins that, so phase averages and counts stay honest.
Uncompressed text found from sizes alone
Input
app.css: content.size 11,800 bytes, transfer 12,033 bytes, no content-encoding recorded
Output
text served without compression: 11.5 KiB app.css
Transfer about equal to decoded size on a text response over 10 KB means no gzip or brotli was applied. Compressing this one file typically cuts it by two thirds; the finding names the exact URL to fix.
Background and insight
HAR was never standardized: the W3C Web Performance Working Group drafted "HTTP Archive (HAR) format" in 2012 and abandoned it unpublished. It is still the format every capture tool exports, Chrome, Firefox, Edge, Safari, Charles, Fiddler and most proxies, so the draft remains the reference. Per that draft, an entry's time is the sum of its timings excluding -1 values, and ssl time is also included in connect (kept that way for HAR 1.1 compatibility), which is why the ssl and connect rows here overlap instead of adding.
Sizes come in pairs: bodySize is the bytes on the wire, content.size the decoded bytes, and the draft says the two should be equal when there is no compression and content.size bigger when there is. The gap is the compression check this tool runs: a text response over 10 KB whose transfer roughly equals its decoded size went out uncompressed. Judging from sizes rather than headers means a recorder that drops header detail still gets the right verdict. Chrome additionally records _transferSize, which this tool prefers when present.
Third-party attribution works by base domain: the first document request sets the first party, and www and cdn subdomains of the same registrable domain still count as first party. The split matters because third-party weight is the part of a slow page you cannot fix by optimizing your own code, only by removing or deferring tags.
Common use cases
A user sends a HAR with a bug report
Drop it and read the errors and slowest tables before opening a single request by hand; a 500 or a 4-second API call is visible in seconds.
The page got slower and nobody knows why
Capture a HAR now, compare its summary against one from before the regression: the by-type and by-host tables show which bytes and which origin appeared.
Auditing third-party weight
The third-party share and by-host table price every tag manager, font host and analytics script in requests and bytes, which is the number the removal discussion needs.
A capture you must not upload
HARs carry cookies, tokens and internal URLs, and many online HAR viewers are upload services. This one is not: the file is parsed in the tab, so it can be used on captures that may not leave the machine.
Checking compression and caching after a deploy
The uncompressed-text finding and the cache-hit count verify that the CDN or server config change actually took effect.
Tips and limitations
- Capture with the DevTools "Disable cache" box unticked when you want to see real repeat-visit behaviour; ticked, every request hits the network and the cache-hit count is meaningless.
- Chrome's default export is the sanitized HAR, which strips Cookie, Set-Cookie and Authorization headers. Prefer it when sharing; the full export is a separate opt-in under Settings, Preferences, Network.
- The phase sums exceed the wall-clock span because requests overlap. Read them as "where milliseconds pile up", and read the span and page-load line for how long the page actually took.
- High blocked time usually means queuing: on HTTP/1.1, the six-connections-per-host limit; on any protocol, the browser deprioritising images and prefetches until the critical work is done.
- A redirect found here costs a full round trip before the real request even starts; chains of two or three on the critical path are a common hidden second.
- This tool summarises; it does not replay. To re-send a captured request, import the HAR into DevTools or a proxy, or rebuild the request with the cURL converter on this site.
Sources and further reading
- HTTP Archive (HAR) format, W3C Web Performance Working Group. The abandoned 1.2 draft that remains the de facto spec: timings, the -1 rule, ssl within connect, sizes
- Network features reference, Chrome for Developers. Exporting HAR from DevTools; the sanitized export and what it strips
Frequently asked questions
Is it safe to open a HAR file in an online tool?
Only if the tool does not transmit it. A HAR contains cookies, auth headers, full URLs and often request bodies, enough to hijack a session. This page parses the file in JavaScript in your tab and sends nothing anywhere; treat the file itself as a credential regardless of the viewer.
What does a timing of -1 in a HAR file mean?
The HAR draft defines -1 as "the timing does not apply to the current request". A request on a reused connection has no DNS, connect or TLS phase, so those fields are -1. The entry's total time is the sum of the timings excluding -1 values, and this tool excludes them the same way.
Why is the ssl time inside the connect time?
The draft states that when ssl is recorded, the same milliseconds are also included in connect, to stay compatible with HAR 1.1, which had no ssl field. So connect already contains the TLS handshake, and adding the two rows would double-count it.
What counts as third-party in this analyzer?
Any host whose base domain differs from the first document's: cdn.example.com stays first party for example.com, while anything on another registrable domain is third-party. The first document request sets the reference; captures without a document fall back to the first entry.
Why do transferred and decoded sizes differ?
Transferred is bytes on the wire after gzip or brotli; decoded is the content after decompression. The draft says the two should match when there is no compression, which is exactly how the uncompressed-text finding works: a large text response where they match went out uncompressed.
How do I capture a HAR file in Chrome?
Open DevTools, go to the Network panel, reload or exercise the page, then click Export HAR in the action bar (or right-click a request and choose Copy all as HAR (sanitized), then paste it into a .har file). The default export is sanitized: Chrome strips Cookie, Set-Cookie and Authorization headers unless you opt into the sensitive export in Settings.
Can this tool replay or edit requests from the HAR?
No, it is a one-pass summariser. To replay a request, import the HAR into Chrome DevTools, a proxy like Charles, or copy the request as cURL at capture time. The analysis here tells you which of the hundreds of requests is worth replaying.
Is there an in-depth guide to the HAR File Analyzer?
Yes. “How to Read HAR Files, GC Logs and SQLite Databases” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.