Option 1: open it online in your browser
- Go to HAR PlaygroundOpen HAR Playground. It runs in your browser, so the file is not uploaded.
- Drop or choose the fileDrag the
.haror.jsonfile onto the drop zone, choose it with the file picker, or paste the JSON. - Read the findingsThe summary shows a health score and the problems found. Click a finding to filter the request table to the requests behind it.
- Inspect a requestClick any row for headers, query string, body, cookies and timings. Secrets are redacted by default for exports.
Option 2: import it into browser DevTools
- Chrome and Edge: open DevTools, select the Network tab, then click Import HAR file in the toolbar, or drag the file onto the requests table.
- Firefox: open the Network Monitor, open the settings menu and choose Import HAR.
- Safari: open Web Inspector, select the Network tab and click Import, or drag the file onto Web Inspector.
Option 3: read it in VS Code or another editor
A HAR file is JSON, so any editor opens it. In VS Code, open the file and use Format Document to make it readable, then search for values such as "status": 500. This works for finding one thing and is slow for reading hundreds of requests.
Option 4: query it with jq
On the command line, jq answers specific questions about a large file. This lists every request that returned a 400 or higher:
jq -r '.log.entries[] | select(.response.status >= 400) | "\(.response.status) \(.request.method) \(.request.url)"' capture.harKeep the file private
HAR files can contain cookies and tokens. Prefer tools that open the file locally, as HAR Playground and DevTools do, and sanitize the file before you share it.