BiLingoPlus › HARScope › How to open a HAR file

How to open a HAR file (safely, offline)

Updated 16 October 2026 · 7 min read

Short answer: You already have a HAR viewer: in Chrome or Edge, open DevTools (F12), go to the Network panel and drag the .har file onto the request list or click Import HAR; Firefox has Import HAR in its Network Monitor. A HAR is also plain JSON, so any text editor opens it. Avoid uploading it to an online viewer: HAR files routinely contain cookies, session tokens and form data, so keep it on your computer and clean it before sharing.

What is inside a HAR file

HAR (HTTP Archive) is a JSON file that records what a browser sent and received while it was being recorded. Each request is an entry with:

That is exactly why support teams ask for HAR files — and why they are risky. A live session cookie in a HAR can let whoever holds the file act as you on that site until the session ends. In October 2023, Okta disclosed that an attacker had accessed HAR files customers had uploaded to its support system and used session tokens found in them.

1. Chrome or Edge DevTools

  1. Open any tab and press F12 (or Ctrl+Shift+I; Cmd+Option+I on a Mac).
  2. Go to the Network panel.
  3. Drag the .har file onto the list of requests, or click Import HAR in the toolbar at the top of the panel.
  4. Click any request to see its headers, payload, response and timing.

This costs nothing and nothing is uploaded. The downsides: the panel is built for live debugging, so the imported requests share space with the tab's own traffic, and very large files can make DevTools slow. Edge's DevTools are built on the same Chromium code, so the steps are the same, though labels can differ slightly between versions.

2. Firefox

  1. Press F12 and open the Network tab (the Network Monitor).
  2. Open the menu of other actions at the top of the Network Monitor and choose Import HAR.
  3. Pick the file; the requests appear in the list, ready to inspect.

3. A text editor

Because a HAR is JSON, Notepad, TextEdit, VS Code or any code editor will open it. That is the fastest way to search for a specific string — for example to check whether a token or your email address is in the file — but reading a waterfall of hundreds of requests as raw JSON is slow going. An editor that can format JSON makes it bearable.

4. Online HAR viewers — the catch

Search for “HAR viewer” and most results are websites: drop the file in and they draw a nice table. Some say they process the file in your browser; others send it to a server. Either way you are trusting that page's code with everything listed in what is inside a HAR — cookies, tokens, form data. If the file came from a logged-in session, treat an online viewer as sharing the file with the site's operator. For a file recorded on a public page with no login, the risk is small.

5. An offline viewer: HARScope

HARScope is our free Chrome extension for reading HAR files on your own computer. It has no permissions and makes no network requests, so the file has nowhere to go.

  1. Click the HARScope icon in Chrome to open the viewer.
  2. Drag your .har file onto it, or click Open HAR file….
  3. Use the request table and the waterfall to find what you need; click a request for its details.

What it shows: a request waterfall; a searchable request table with status, method, type, size and time; a detail panel with request and response headers, query string, payload, response body and timings; filters by URL, type, method and status. The table is virtualized, so files with thousands of requests stay quick. It is free, with no account, ads or tracking, in English, Spanish and Russian.

What HARScope does not do: version 1.0 is a viewer only. It does not edit, redact or re-save HAR files. Use it to see what is in a file before you send it, then clean the file with one of the methods below.
HARScopeOpen HAR files in Chrome with nothing uploaded — waterfall, headers, bodies, timings · free, zero permissions
Add to Chrome — free

How to create a HAR file

In Chrome (and Edge)

  1. Open the page where the problem happens, press F12 and go to Network.
  2. Tick Preserve log so requests are kept across page loads. Ticking Disable cache often helps too, so the browser fetches everything fresh.
  3. Reload the page and reproduce the problem.
  4. Click Export HAR (sanitized)… in the Network toolbar and save the file.

Chrome's default export is the sanitized one: it leaves out the Cookie, Set-Cookie and Authorization headers. A full export with those headers exists, but only after you enable Allow to generate HAR with sensitive data in DevTools Settings → Preferences → Network. Send that version only if the person asking really needs it.

In Firefox

  1. Open the Network Monitor (F12 → Network) and turn on Persist Logs in its settings menu if the problem involves a page change.
  2. Reproduce the problem.
  3. Choose Save All As HAR from the Network Monitor's menu, or right-click the request list.

How to clean a HAR before sharing

Chrome's sanitized export is a good start, but it only removes three headers. Things it leaves in place:

A practical routine:

  1. Record as little as possible. Start recording just before the problem, stop right after, and use a test account if you can.
  2. Export sanitized in Chrome, or remove cookies in Firefox's output by hand.
  3. Look inside. Open the file in a viewer that stays on your computer — DevTools or HARScope — and check the requests that matter: their headers, query strings and payloads.
  4. Edit what should not leave. In a text editor, search for cookie, authorization, token, password, session, key and your email address, and replace the values (not the names) with something like REDACTED. Keep the quotes and commas intact so the file stays valid JSON — reopen it afterwards to make sure it still loads.
  5. Share through the support team's own channel, not a public link, and ask them to delete it when the case is closed.
  6. End the session. Signing out of the site after recording usually invalidates the session cookies the file contains, in case any slipped through.

Questions

What program opens a HAR file?

Any modern browser's developer tools: in Chrome or Edge, open DevTools, go to the Network panel and drag the file in or use Import HAR; in Firefox, use Import HAR in the Network Monitor's menu. A HAR is also a JSON text file, so any text editor opens it, and dedicated viewers such as HARScope show it as a readable request list.

Is it safe to upload a HAR file to an online viewer?

Only if you are sure it holds nothing sensitive. A HAR can contain cookies, session tokens, Authorization headers, form data and response bodies. Uploading it gives a copy to whoever runs that site. Open it locally instead, and clean it before you send it to anyone.

Does Chrome remove cookies from HAR files?

By default Chrome exports a sanitized HAR that leaves out Cookie, Set-Cookie and Authorization headers. It does not remove tokens in URLs, request bodies, response bodies or other headers, so check for those yourself.

Can HARScope clean or redact a HAR file?

No. HARScope 1.0 is a viewer. It helps you see what a file contains before you share it, but it does not edit, redact or re-save HAR files.

RelatedHARScope — how it worksHARScope privacy policy