# HAR analyzer

> Drop a HAR capture, see where the time went.

Free HAR file analyzer. Drop a .har capture or paste its JSON to get a request table with method, URL, status, size, and time, plus summary stats: totals, status-code distribution, the slowest requests, the largest payloads, top hosts, and a per-request timing breakdown of blocked, DNS, connect, send, wait, and receive.

- Page: https://benchline.fabwaseem.com/t/har-analyzer
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: A .har file or HAR JSON text.
- Output: Request table, summary stats, status distribution, slowest/largest lists, and per-request timing breakdowns.
- Keywords: har analyzer, har viewer, analyze har file, waterfall chart, http archive
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Load the capture.** Drop a .har file or paste the HAR JSON into the input pane.
2. **Read the summary.** Totals, status-code distribution, slowest requests, largest payloads, and top hosts appear first.
3. **Inspect a request.** Pick a row to see its timing breakdown across blocked, DNS, connect, send, wait, and receive.

## Use it from an AI agent

MCP tool name: `analyze_har`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/har-analyzer with the input as the JSON body
This call does not fetch anything. It runs on the arguments you send.

Parse a HAR (HTTP Archive) capture and summarize it: request counts, status distribution, slowest and largest requests, top hosts, and per-request timings.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "har": {
      "type": "string",
      "minLength": 1,
      "description": "HAR file contents as JSON text"
    },
    "top": {
      "default": 5,
      "description": "How many slowest/largest requests and top hosts to include",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "har",
    "top"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "analyze_har",
    "arguments": {
      "har": "example",
      "top": 5
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### How do I get a HAR file?

In Chrome or Edge DevTools, open the Network tab, reproduce the slow page load, then right-click a request and choose Save all as HAR. Firefox has Export HAR in its Network monitor.

### Is my capture uploaded anywhere?

No. The file is read in the browser and analyzed locally. HAR files can contain cookies and tokens, so keeping them local matters.

### What do the timing phases mean?

Blocked is queueing, DNS is name resolution, connect is the TCP/TLS handshake, send is uploading the request, wait is time to first byte, and receive is downloading the response.

### How large a file can I analyze?

The first 2,000 entries are analyzed; larger captures are flagged as truncated so you know the totals are partial.

## Related tools

- [HTTP headers](https://benchline.fabwaseem.com/t/http-headers-checker): Follow redirects and grade the security headers on a public URL.
- [DNS lookup](https://benchline.fabwaseem.com/t/dns-lookup): Query A, AAAA, MX, TXT, CNAME, and CAA over DNS-over-HTTPS.
- [SSL checker](https://benchline.fabwaseem.com/t/ssl-checker): Expiry, names, and the chain for a certificate on port 443.
- [JSON formatter](https://benchline.fabwaseem.com/t/json-formatter): Pretty-print, minify, and validate JSON, with the exact line and column when it fails.
