What is inside a HAR file
A HAR file is plain JSON with a .har extension. Everything sits under one log object. The parts you will read most often are:
log.entries: one item per request, in the order the browser started them.request: the method, URL, query string, headers, cookies and any body that was sent.response: the status code, headers, cookies and, if the browser saved it, the body.timings: how long each request spent blocked, in DNS, connecting, in TLS, sending, waiting for the server and receiving.log.pages: page load timings such asonContentLoadandonLoad.log.creatorandlog.browser: the tool and browser that wrote the file.
{
"log": {
"version": "1.2",
"creator": { "name": "WebInspector", "version": "537.36" },
"entries": [
{
"startedDateTime": "2026-10-31T01:02:03.000Z",
"time": 412,
"request": { "method": "GET", "url": "https://api.example.com/orders", "headers": [] },
"response": { "status": 500, "statusText": "Internal Server Error", "headers": [], "content": { "size": 0 } },
"timings": { "blocked": 2, "dns": 0, "connect": 0, "send": 1, "wait": 405, "receive": 4 }
}
]
}
}What a HAR file is used for
- Debugging failed requests: which call returned a 4xx or 5xx, and what the response said.
- Finding slow pages: which requests waited longest, and whether the time went to the server or the network.
- Diagnosing CORS and mixed content problems that the console only half explains.
- Giving support or a teammate an exact record of a bug, instead of a screenshot.
- Replaying traffic in tests, for example with Playwright routeFromHAR.
Do HAR files contain sensitive data?
Often yes. A HAR file is a recording of real traffic, so it can include session cookies, Authorization headers, API keys and tokens in URLs, form fields you typed and personal data in response bodies. Anyone who holds a file with a valid session cookie may be able to act as you until that session ends.
Chrome 130 and later leave Cookie, Set-Cookie and Authorization headers out of the default export, and Edge does the same. Other browsers keep them, and secrets can still sit in URLs and bodies in any browser. Redact a HAR file before you send it to anyone: the HAR sanitizer does it in your browser and shows you what it replaced.
What to do with a HAR file
Capture one with the steps in how to capture a HAR file, then open it in HAR Playground. It lists the failing, slow, duplicate and insecure requests for you, so you do not have to scroll through hundreds of rows.
Frequently asked questions
- Is it safe to upload my HAR file here?
- You don't upload it. HAR Playground analyses the file in your browser. Nothing leaves your device unless you create a share link, and then only a redacted, end-to-end encrypted copy that TestChimp cannot read. Links expire after at most 3 days.
- Does a HAR file contain passwords or tokens?
- It can. HAR files can include cookies, authorization headers, tokens in URLs and form data you typed. Chrome 130 and later leave out cookies and authorization headers by default, but other secrets can remain. HAR Playground redacts the patterns it recognises before anything is shared, and shows you what it redacted.
- How long do share links last?
- You choose 1 hour, 24 hours or 72 hours. After that the link stops working and the encrypted file is deleted automatically, normally within 24 hours of expiry.
- What does HAR stand for?
- HAR stands for HTTP Archive. It is a JSON format, described in a W3C draft specification, that browsers and network tools use to save a record of HTTP requests and responses.