How to generate a HAR file in Google Chrome

Last updated: November 4, 2025

To generate a HAR file in Chrome, open the page where you're experiencing an issue, open Developer Tools (usually by right-clicking and selecting "Inspect"), navigate to the "Network" tab, ensure recording is active (red circle), reproduce the issue, and then save the HAR file by right-clicking and selecting "Save all as HAR with Content".

Here's a step-by-step guide:

  1. Open Chrome and go to the page: Navigate to the specific webpage where you're encountering the problem (Do not reproduce the issue yet!).

  2. Open Developer Tools: Right-click anywhere on the page and select "Inspect" or use the shortcut Ctrl+Shift+I (or Cmd+Option+I on Mac).

  3. Go to the Network tab: In the Developer Tools panel, select the "Network" tab.

  4. Enable recording: Ensure the "Record" button (a red circle) in the Network tab is active. If it's gray, click it to start recording.

  5. Preserve log: Check the "Preserve log" box to ensure that all network requests are captured, even after page reloads.

  6. Clear existing logs: Click the "Clear" button (a circle with a line through it) to clear out any existing logs from previous actions.

  7. Reproduce the issue: Perform the actions on the page that are causing the problem while the Network tab is open.

  8. Save the HAR file: Right-click on any of the network requests in the grid and select "Save all as HAR with Content".

  9. Save the file: Choose a location on your computer and save the HAR file.