Loading the HAR Viewer…

Open and read HAR files in your browser

This free HAR viewer shows everything inside a HAR file: every request a page made, laid out on a waterfall timeline, with status codes, sizes, timings, headers, cookies, the query string, and the request and response bodies. Use it to find out why a page is slow, why a request failed, or what a website sent and got back.

A HAR file (HTTP Archive) is a recording of a page’s network traffic, saved from your browser’s developer tools. It’s plain JSON, but it’s huge and hard to read by hand. Drop it here and you get a clear table you can sort, filter and search.

Your file is read in your browser and is never uploaded. There’s no account and no limit on how many files you open.

In the tool, How to use in the top bar opens a short guide, and the search box finds anything the tool can do: type what you want, like “cookies”, “slow” or “cURL”, and it takes you there.

How to view a HAR file

  1. Open the file. Drop your .har file on the tool, click Open a HAR file, or paste the HAR text. No file yet? Click Try a sample.
  2. Read the table. Each row is one request, with its name, method, status, type, size, time and a bar on the waterfall.
  3. Narrow it down. Type in the filter box, click a type such as Fetch/XHR or Img, or click 4xx, 5xx or Failed.
  4. Look inside a request. Click a row to see its Headers, Payload, Response, Timing and Cookies.
  5. Save or share what you found. Copy a request as cURL, save a response body, or save the shown requests as a smaller HAR file or a CSV table.

How to save a HAR file

Most desktop browsers can save a HAR file from their developer tools:

  1. On the page you want to look at, press F12 or Ctrl+Shift+I (or Cmd+Option+I) to open the developer tools.
  2. Click the Network tab, then reload the page so every request is recorded. If the page moves to another address, turn on the option to keep (preserve) the log first.
  3. Right-click any request in the list and choose the option to save all as HAR, or click the download (export) button in the Network tab.

Some browsers leave the response bodies out unless you choose to save the HAR with content. Without bodies you still see the timing, headers and status of every request.

Read the waterfall

The waterfall shows when each request started and how long it took, on one shared timeline. Long bars are slow requests; bars that start late were waiting for something else to finish first.

  • Point at a bar to see its timing: waiting to start, DNS lookup, connecting, the secure (TLS) connection, sending, waiting for the server (TTFB) and downloading.
  • The blue line marks DOMContentLoaded, when the page’s HTML was ready. The red line marks load, when the page and its images, styles and scripts had finished.
  • The timeline strip above the table shows every request at once. Drag across it to look at just that stretch of time, and click Show all times to go back.
  • Long stretches with no requests, such as the time between two page loads, are squeezed into a striped band that shows how long they lasted, so the requests themselves get the room.
  • When the file holds more than one page load, pick a page in the list next to the filter box. Each page has its own blue and red lines.

The line under the table shows how many requests there are, how much data was transferred over the network, the size of the resources, and when the page finished, along with the DOMContentLoaded and load times.

Find slow and failed requests

  • Slowest requests: click the Time column to sort by time. Click again to turn the order around.
  • Largest requests: click the Size column. “cache” means the file came from the browser cache, so nothing was downloaded.
  • Errors: click 4xx for client errors such as 404 Not Found or 401 Unauthorized, 5xx for server errors such as 500, or Failed for requests that got no answer at all. Failed rows are shown in red; click one to see the reason, such as a server name that couldn’t be found.
  • Slow server: a long green part in the timing is waiting for the server (TTFB). The server took that long to start answering.

Filter and search

Type in the filter box to keep only the requests whose URL contains your words. You can also use these filter words, and mix them with normal words:

  • status:404 or status:5xx keeps requests with that status code.
  • method:post keeps requests sent with that method.
  • domain:example.com keeps requests to that domain.
  • type:img or type:xhr keeps requests of that type.
  • mime:json keeps responses of that content type.
  • larger-than:100k keeps responses bigger than 100 kB.
  • -png hides every request whose URL has “png” in it. A minus works in front of the filter words too.

Turn on Headers & bodies to also look for your words inside the headers, cookies, query string and the request and response bodies. That’s how you find which request carried a token, a user ID or an error message.

Look inside a request

Click any request to open its details:

  • Headers: the URL, method, status, server address, protocol, start time and size, then every response header and request header.
  • Payload: the query string parameters and the request body, such as form fields or JSON.
  • Response: the response body. JSON is shown neatly with colors, images are previewed, and long bodies show the first 200 kB with a button to show all.
  • Timing: each phase of the request with its own bar, and what each phase means.
  • Cookies: the cookies sent with the request and the cookies set by the response, with their domain, path, expiry and flags.

Use the arrow keys to move through the requests while the details are open.

Copy as cURL and save your findings

  • Copy as cURL turns the request into a command you can paste into a terminal to send it again, with the same method, headers and body.
  • Copy URL copies the full address of the request.
  • Copy response and Save response keep the response body, for example to open a JSON file in another tool.
  • Save at the top right saves the requests left by your filters as a smaller HAR file, saves the table as a CSV file you can open in a spreadsheet, or copies all their URLs.

Big HAR files

The file is read in the background, so the page stays responsive while it loads, and the table only draws the rows on screen. In our tests a 108 MB HAR file with 20,000 requests opened in well under a second on a desktop computer, and searching inside all of its bodies took under a second. The tool accepts files up to 512 MB; how big a file your device can open depends on its memory. A phone has less memory, so very big files are best opened on a computer.

Your HAR file stays private

HAR files often hold passwords, cookies, session tokens and personal data, so you shouldn’t send them to a website you don’t trust. This viewer reads the file in your browser: it’s never uploaded and it isn’t saved anywhere, so closing the page clears it. Only a few view settings, such as light or dark mode, are remembered.

Before you share a HAR file with someone else, remove the secrets from it first with the HAR Sanitizer. It replaces cookies, tokens and passwords and keeps everything else, so the file still shows the problem.

Frequently asked questions

What is a HAR file?

A HAR file (HTTP Archive) is a JSON file that records the network traffic of a web page: every request, its headers, cookies, timings and, often, the response bodies. You save it from your browser’s developer tools.

Is this HAR viewer free?

Yes. It’s completely free, with no sign-up and no limit on how many files you open.

Is my HAR file uploaded?

No. The file is read in your browser and is never sent to a server. It isn’t saved anywhere either, so closing the page clears it.

How do I find slow requests in a HAR file?

Click the Time column to sort the requests by time, slowest first. Then click a request and open the Timing tab to see where the time went, such as waiting for the server or downloading.

Why is the response body empty?

The HAR file doesn’t include it. Some browsers only save response bodies when you save the HAR file with content. Responses with no body, such as redirects, also show nothing.

Can I open a very large HAR file?

Yes. Big files are read in the background and only the rows on screen are drawn. A 108 MB file with 20,000 requests opened in under a second in our tests. Very big files need more memory, so use a computer rather than a phone.

Can I search inside headers and response bodies?

Yes. Turn on Headers & bodies next to the filter box. Then the words you type are also looked for in headers, cookies, the query string and the request and response bodies.

Does it work on a phone?

Yes. Open the HAR file, tap a request to see its details full screen, and tap Back to the list to return. Swipe the type buttons sideways to see them all.