Skip to content
gohacks.dev
Tooling

HAR File Viewer

Open a HAR file from the browser's network panel, filter requests by URL or status, see sizes and timings, and copy any request as curl with secrets redacted.

Free · No sign-up · Your inputs stay in your browser

Input

View a HAR file

Output

4 requests, 114 KiB

This capture contains Cookie or Authorization headers.

#MethodStatusURLSizeTime
GET200https://example.com/17.8 KiB182 ms
GET200https://example.com/_next/static/chunks/main.js95.9 KiB41 ms
POST502https://example.com/api/subscribe0.5 KiB1204 ms
GET404https://example.com/favicon.ico0.0 KiB12 ms

Request 1 as curl

curl -X GET https://example.com/ \ -H 'Accept: text/html'

A HAR file records every header, including cookies and Authorization tokens, and often request bodies with passwords in them. That is why it should be read here or in DevTools and never attached to a public ticket without scrubbing it.

Runs in this browser. Nothing you paste is sent to a server.

HAR files contain secrets

A HAR export records every header and often every request body: session cookies, bearer tokens, CSRF tokens, passwords typed into forms. Support teams ask for them and people attach them to tickets, which is how session tokens leak. Viewing one here keeps it on your machine; before sharing one, remove the sensitive headers or use the browser's sanitised export option where it exists.

Making one

In Chrome and Firefox DevTools, open the Network panel, reproduce the problem with Preserve log on, then right-click and save all as HAR. The format is a JSON document described in the HAR 1.2 draft specification.

Share

Frequently asked questions

How do I open a HAR file?
Drop it into Chrome DevTools' Network panel to replay it in the UI, or paste it here to list and filter requests and copy them as curl.
How do I remove secrets from a HAR file?
Delete Cookie, Set-Cookie and Authorization headers and any postData with credentials. Recent Chrome versions sanitise cookies on export by default; check before sharing.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is sent to our server or stored.

Keep planning

Similar tools