HAR (HTTP Archive) Viewer

Parse HTTP Archive (HAR) files to view network requests, response headers, timing data, and response bodies. Filter by method, status code, or URL to quickly find specific requests.

Specifications

Cas d'utilisation courants

  • Debug API issues from browser network traces
  • Analyze page load performance and waterfall timing
  • Share network traces with teammates for troubleshooting
  • Compare HAR exports between environments
  • Inspect third-party requests and their response headers

Fonctionnalites

  • Parse HAR 1.2 JSON files from browser DevTools
  • View request and response headers per entry
  • Syntax-highlighted response bodies (JSON, HTML, CSS, JS)
  • Timing breakdown (DNS, connect, SSL, wait, receive)
  • Filter by HTTP method, status code group, or URL text
  • Summary with method/status breakdowns and total transfer size
  • Pagination for large archives (50 entries at a time)

Exemples

Minimal HAR

Essayer →

A HAR file with two requests

{"log":{"version":"1.2","creator":{"name":"Browser","version":"1.0"},"entries":[{"startedDateTime":"2026-03-27T10:00:00.000Z","time":120,"request":{"method":"GET","url":"https://api.example.com/users","httpVersion":"HTTP/1.1","headers":[{"name":"Accept","value":"application/json"}],"queryString":[],"cookies":[],"headersSize":-1,"bodySize":-1},"response":{"status":200,"statusText":"OK","httpVersion":"HTTP/1.1","headers":[{"name":"Content-Type","value":"application/json"}],"content":{"size":45,"mimeType":"application/json","text":"[{\"id\":1,\"name\":\"Alice\"},{\"id\":2,\"name\":\"Bob\"}]"},"redirectURL":"","headersSize":-1,"bodySize":45,"cookies":[]},"cache":{},"timings":{"blocked":2,"dns":10,"connect":30,"ssl":20,"send":1,"wait":50,"receive":7}},{"startedDateTime":"2026-03-27T10:00:00.200Z","time":80,"request":{"method":"POST","url":"https://api.example.com/users","httpVersion":"HTTP/1.1","headers":[{"name":"Content-Type","value":"application/json"}],"queryString":[],"cookies":[],"headersSize":-1,"bodySize":25,"postData":{"mimeType":"application/json","text":"{\"name\":\"Charlie\"}"}},"response":{"status":201,"statusText":"Created","httpVersion":"HTTP/1.1","headers":[{"name":"Content-Type","value":"application/json"}],"content":{"size":30,"mimeType":"application/json","text":"{\"id\":3,\"name\":\"Charlie\"}"},"redirectURL":"","headersSize":-1,"bodySize":30,"cookies":[]},"cache":{},"timings":{"blocked":1,"dns":0,"connect":0,"ssl":0,"send":2,"wait":70,"receive":7}}]}}

Conseils

  • Export HAR from Chrome DevTools: Network tab → right-click → "Save all as HAR with content".
  • Use method and status filters to quickly find failed requests (4xx/5xx).
  • Click an entry to expand and see full request/response details and timing breakdown.
  • Large HAR files are paginated — click "Load more" to see additional entries.

Comprendre HAR (HTTP Archive)

HAR (HTTP Archive) is a JSON-based format for recording HTTP transactions. It was created to standardize how browser developer tools export network activity data. The HAR 1.2 specification defines the structure: a top-level "log" object containing metadata about the recording tool ("creator") and an array of "entries", each representing one HTTP request/response pair.

Each entry captures the complete lifecycle of a network request: the request method, URL, and headers; the response status, headers, and body content; and detailed timing information broken down into phases (DNS lookup, TCP connect, TLS handshake, sending the request, waiting for the server, and receiving the response).

HAR files are the standard way to share network traces for debugging. When a user reports an API issue, a HAR export from their browser captures exactly what happened on the wire — request parameters, response codes, headers like Cache-Control or Set-Cookie, and the actual response bodies. This is invaluable for reproducing issues that depend on specific request sequences or server responses.

Performance engineers use HAR files to analyze page load waterfalls, identify slow requests, and measure the impact of CDN caching. The timing data in each entry maps directly to the waterfall bars shown in browser DevTools, making HAR a portable format for performance analysis across teams.

← Retour a tous les outils