How to export a HAR file in Safari

Turn on developer features in Safari settings, open Web Inspector, select the Network tab, reproduce the problem and click Export. Safari has no sanitized export, so redact the file before you share it.

Last updated:

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

Steps

  1. Turn on developer featuresIn Safari, choose Safari, then Settings, then Advanced, and tick Show features for web developers (older versions call it Show Develop menu in menu bar). A Develop menu appears in the menu bar.
  2. Open Web InspectorGo to the page with the problem and choose Develop, then Show Web Inspector, or press Option+Command+I. Select the Network tab.
  3. Preserve the log and clear old requestsTick Preserve Log so items stay across page loads, then click the bin icon to clear the list.
  4. Reproduce the problemReload the page and repeat the steps that fail. Make sure the filter box is empty so every request is exported.
  5. Export the HARClick Export in the Network tab toolbar (or press Command+S in the tab) and save the file.

Check the file before sharing

Safari does not offer a sanitized export, so the file can contain cookies, authorization headers, tokens in URLs and form data. Redact it with the HAR sanitizer before you share it.

What next

Drop the file on HAR Playground to find the failing and slow requests. Using another browser? See how to capture a HAR file in any browser.

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.