An HTTP Archive (HAR) file is a JSON-formatted log of a web browser’s interactions with a web server. HAR files are an industry standard for exchanging information about HTTP requests and responses. They can be used to:
- Debug and visualize web page performance and functionality
- Understand blocked request-responses
- Perform network visualization
- Perform decrypted traffic forensics
- Troubleshoot authentication issues
- Troubleshoot performance issues, such as slow page load or timeouts
When experiencing an issue with a website and while using the CleanBrowsing DNS, a HAR can be invaluable to helping us understand what might be happening.
In this article we’ll walk you through the process of creating a HAR file.
Video Explainer – Creating a HAR File
Written Instructions – Creating a HAR File
Step 1 – Open Developer Tools
Navigate to More Tools > Developer Tools via your browsers settings.
![CleanBrowsing-DevTools CleanBrowsing-DevTools](https://cleanbrowsing.org/wp-content/uploads/2022/03/CleanBrowsing-DevTools.png)
Open the website in question, and click on Network
![](https://cleanbrowsing.org/help/wp-content/uploads/2024/05/HAR-PartI-1024x552.png)
Step 2 – Start Recording Website Communication
Make sure recording is enabled, this should be on by default, but always good to confirm. You want it to look like this:
![](https://cleanbrowsing.org/help/wp-content/uploads/2024/05/HAR-PartII-1024x552.png)
Notice that the recorder looks enabled, that’s what you want.
Step 3 – Preserve the Communication Logs
Next you want to make sure logs are being preserved, you do that by selecting the Preserve Log option (disabled by default).
Located here:
![](https://cleanbrowsing.org/help/wp-content/uploads/2024/05/HAR-PartIII-1024x528.png)
Step 4 – Refresh the Page
Refresh the page to start capturing requests. It will populate the right pane like this:
![](https://cleanbrowsing.org/help/wp-content/uploads/2024/05/HAR-PartIV-1024x481.png)
Step 5 – Export the File
Now export the data and send it to us.
Click the export button and it will download to your local directory, then use your favorite email client to email it to support@cleanbrowsing.org.
![](https://cleanbrowsing.org/help/wp-content/uploads/2024/05/HAR-PartVI-1024x507.png)