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:
Open Chrome and go to the page: Navigate to the specific webpage where you're encountering the problem (Do not reproduce the issue yet!).
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).
Go to the Network tab: In the Developer Tools panel, select the "Network" tab.
Enable recording: Ensure the "Record" button (a red circle) in the Network tab is active. If it's gray, click it to start recording.
Preserve log: Check the "Preserve log" box to ensure that all network requests are captured, even after page reloads.
Clear existing logs: Click the "Clear" button (a circle with a line through it) to clear out any existing logs from previous actions.
Reproduce the issue: Perform the actions on the page that are causing the problem while the Network tab is open.
Save the HAR file: Right-click on any of the network requests in the grid and select "Save all as HAR with Content".
Save the file: Choose a location on your computer and save the HAR file.