How to capture a HAR file in any browser

Open the browser developer tools, go to the Network tab, keep the log, reproduce the problem and export the requests as a HAR file. The menu names differ in each browser, so pick yours below for exact steps.

Last updated:

Open HAR PlaygroundFree, no signup. Runs in your browser.

The steps

  1. Open developer tools on the page that has the problemPress F12, or Ctrl+Shift+I (Windows, Linux) or Cmd+Option+I (Mac). In Safari, turn on developer features first (see the Safari steps).
  2. Open the Network tabChrome, Edge and Safari call it Network. Firefox calls it Network Monitor (Ctrl+Shift+E, or Cmd+Option+E on a Mac).
  3. Keep the log and clear old requestsTurn on Preserve log (Persist Logs in Firefox) so requests survive reloads and redirects, then clear the list so the file only holds what you are about to record.
  4. Reproduce the problemReload the page if the problem happens on load, then repeat the clicks that fail. Stop as soon as the problem has happened.
  5. Export the HAR fileIn Chrome and Edge use Export HAR (sanitized). In Firefox use Save All As HAR. In Safari use Export. Save the file somewhere you can find it.
  6. Open it in HAR PlaygroundDrop the file on HAR Playground to see the failing, slow and insecure requests. Nothing is uploaded, because the analysis runs in your browser.

Steps for each browser

BrowserWhere the export isRemoves cookies and auth headers?
ChromeNetwork tab, Export HAR (sanitized)Yes, by default since Chrome 130
FirefoxNetwork Monitor, settings menu, Save All As HARNo sanitized option. Redact before sharing
EdgeNetwork tool, Export HAR (sanitized)Yes, by default
SafariWeb Inspector, Network tab, ExportNo sanitized option. Redact before sharing

Before you share the file

A HAR file can hold cookies, tokens and personal data. Run it through the HAR sanitizer first, or read what a HAR file contains to see what to look for.

Catch broken requests before your users do

TestChimp watches your QA posture on every pull request and feeds failures back to your coding agent until they are fixed.

Start your free trial

14-day free trial. No credit card required.