HAR is a JSON-formatted archive standard used by browsers and performance tools to record detailed network session logs, headers, and timings.
The HTTP Archive (HAR) format is a standardized, JSON-based specification for recording detailed web browser network transaction logs. Maintained under the W3C Web Performance Working Group draft, a .har file captures the complete lifecycle of every HTTP and HTTPS transaction made during a browsing session—including requested URLs, redirect chains, HTTP headers, request and response cookies, payloads, and millisecond-accurate waterfall timing phases (DNS lookup, TCP connect, SSL handshake, TTFB, and download duration).
Analyze network waterfalls and detect performance bottlenecks with our privacy-friendly HAR Analyzer or export requests with HAR to Postman Converter.
| Specification | Details |
|---|---|
| Standard Reference | W3C Web Performance Working Group Draft / Jan Odvarko (Firebug) |
| Data Format | Strict UTF-8 JSON |
| Standard File Extension | .har |
| MIME Media Type | application/json |
| Exporting Tools | Google Chrome, Safari, Firefox, Edge, Charles Proxy, Fiddler, Playwright |
| Waterfall Metrics | Blocked, DNS, Connect, SSL, Send, Wait (TTFB), Receive |
A .har file contains a top-level log object holding browser metadata, page references, and an array of entries:
{
"log": {
"version": "1.2",
"creator": {
"name": "DevFlow Network Recorder",
"version": "1.0"
},
"pages": [
{
"startedDateTime": "2026-09-04T12:00:00.000Z",
"id": "page_1",
"title": "DevFlow Tools Hub",
"pageTimings": {
"onContentLoad": 412,
"onLoad": 820
}
}
],
"entries": [
{
"pageref": "page_1",
"startedDateTime": "2026-09-04T12:00:00.120Z",
"time": 75.4,
"request": {
"method": "GET",
"url": "https://devflow.tools/api/tools",
"httpVersion": "HTTP/2.0",
"headers": [
{ "name": "accept", "value": "application/json" }
]
},
"response": {
"status": 200,
"statusText": "OK",
"content": {
"size": 18450,
"mimeType": "application/json; charset=utf-8"
}
},
"timings": {
"blocked": 1.2,
"dns": 14.5,
"connect": 18.2,
"ssl": 15.0,
"send": 0.5,
"wait": 21.0,
"receive": 5.0
}
}
]
}
}
When diagnosing web latency, each HAR entry breaks transaction duration into discrete phases:
[ Blocked ] ──> [ DNS ] ──> [ Connect ] ──> [ SSL ] ──> [ Send ] ──> [ Wait (TTFB) ] ──> [ Receive ]
Because HAR files capture the raw network traffic verbatim, exporting a HAR from your browser often captures highly sensitive credentials, including:
Authorization: Bearer <token> headersSet-Cookie: session_id=...)[!CAUTION] Never upload an unredacted HAR file to public forums or third-party ticketing systems without sanitizing authentication tokens first.
F12 or Ctrl + Shift + I (macOS: Cmd + Option + I) to open DevTools..har file locally.Yes! Instead of manually typing endpoints into Postman or Insomnia, upload your exported .har recording into our HAR to Postman Converter to automatically generate structured API collections with headers and sample bodies.
A disproportionately long Wait phase indicates backend server latency—such as unoptimized database queries, slow external API calls, or CPU-bound server rendering—rather than network bandwidth or CDN delivery issues.
Free, browser-based utilities to test, generate, and inspect HAR (HTTP Archive Format) payloads directly.
Analyze HAR files, inspect slow/failed requests, generate replayable curl/fetch code.
Convert HAR files to Postman Collection v2.1 JSON for API testing.
Analyze HTTP response headers for security, caching, and compliance issues.