Read HAR files without a server
A HAR (HTTP Archive) file is the JSON your browser’s DevTools produces when you save a Network panel session. It captures every request and response — URLs, methods, status codes, headers, cookies, sizes and millisecond-level timings. This viewer parses that JSON entirely in your browser so you can analyse a performance trace or a bug report without pasting a file that may contain auth tokens into a remote service.
How it works
The tool reads the file with FileReader (or accepts pasted JSON) and runs
JSON.parse. A valid HAR has a top-level log.entries array; each entry holds a
request, a response, a time (total milliseconds) and a timings object.
The viewer sums and displays the timing phases — blocked, dns, connect,
ssl, send, wait and receive — which together make up the total. Phases
reported as -1 mean “not applicable” (for example a reused connection skips
dns and connect). Sizes come from response.content.size and the transfer
bodySize. Sorting and filtering happen over the parsed array in memory.
Tips and notes
- “Save all as HAR with content” includes response bodies; the plain export does not, which keeps the file smaller but hides payloads.
- High
wait(TTFB) points at slow server processing; highreceivepoints at a large or slow download; highblockedmeans the request was queued behind others on the same connection. - HAR files frequently contain
Authorizationheaders andSet-Cookievalues — scrub them before sharing a HAR publicly.