31

I am using Google chrome's developer tools to inspect the timeline of some requests. There is the option of storing them as a .HAR file, but I could not find anything that opens it. In a browser, it looks like a simple text file.

Does anybody know how to save Developer Tool's data in a suitable format or how to open .HAR files?

18

The HTTP Archive format (HAR) format is intended to be a format for sharing HTTP data across tools. Although there are a bunch of tools that support HAR & allow exporting, only a few among those appear to allow import:

  • 1
    Is there any way to open this directly with Chrome? – Pacerier Dec 29 '14 at 8:32
  • @Pacerier Yes. It's just a JSON file. – Cees Timmerman Jul 10 '15 at 8:11
  • This has always baffled me - why does Chrome allow you to save HAR files but not open them? – Monkpit Jul 21 '16 at 18:59
6

.har seems to be an HTTP Archive Spec file. You can use HTTP Watch to open such files. FWIW those are JSON files

  • Httpwatch v8.5 throws exception on Chrome 32 .har trace. "onContentLoad value in /pageTimings is not an integer value :( Im using this one: ericduran.github.io/chromeHAR – felickz Feb 10 '14 at 15:34
3

Starting in Chrome 62 you can simply:

Drag and drop a HAR file into the Network panel to import it.

(From the release notes.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.