Gratis å bruke, uten konto

HAR-viser

Åpne et HAR-nettverksopptak lokalt for å undersøke forespørsler, svarkoder, overføringsstørrelser og tidsbruk. Filtrer listen og finn trege eller mislykkede kall. Ingenting lastes opp.

Filen behandles lokalt. Maksimal filstørrelse: 5 MiB og 5 000 forespørsler.

HAR-filer kan inneholde informasjonskapsler, autorisasjonstokener, personopplysninger og private URL-er. Denne siden laster aldri opp filen. Verdier i forespørselens spørringsstreng skjules i listen; stier og vertsnavn kan fortsatt identifisere private systemer. Ikke del et opptak du ikke har kontrollert.

Hvordan viser jeg en HAR-fil?

Velg en HAR- eller JSON-fil, eller lim inn innholdet, og trykk deretter «Analyser». Filtrer forespørsler etter URL-tekst, metode eller status. Viseren viser et kompakt fossefallsdiagram og et sammendrag.

Veiledning

Slik bruker du HAR-viser

HAR Viewer opens a HAR network capture, the JSON file that a browser's developer tools can export, and lists every request with its method, status, time, content size and a small waterfall bar. You can filter the list and see a short summary. It does not replay requests, show headers or bodies, or measure how long a page took to load.

Slik gjør du

  1. Choose a HAR or JSON file from your device, or paste the HAR text into the box. The file can be up to 5 MiB and hold up to 5,000 requests. Press Load example if you only want to see how it looks.
  2. Press Analyze HAR. The summary shows the number of requests, the number of errors (status 400 and above), the total response content size, the sum of request times and the slowest request.
  3. Type in the filter box to search the shown address, method, status or content type. You can also narrow the list to one HTTP method, or to error responses only, or to successful ones only.
  4. Read the list. Each row has a bar that starts where the request began on the timeline. Only 100 matching rows show at first; press Show next 100 to see more. Clear removes everything.

Eksempler

The built-in example

Du skriver inn
Handling
Load example, then Analyze HAR
Du får
Forespørsler
3
Feil
1
Svarinnhold
25.3 KB
Sum av forespørselstider
323.0 ms
Tregeste
180.0 ms

The three entries last 48, 180 and 36 ms, which add up to 264. Their content sizes are 7,200, 320 and 18,400 bytes, a total of 25,920 bytes, shown as 25.3 KB. Only the second entry has an error status (503).

Kjørt med verktøyets egen kode.

A token in the address is hidden

Du skriver inn
Forespørsels-URL
https://shop.example/api/cart?token=abc123&page=2
Du får
Vist URL
https://shop.example/api/cart?token=%5Bredacted%5D&page=%5Bvalue+hidden%5D
Søk etter Abc123
0 matches

Query values are replaced before display. A name such as token is marked redacted, and any other name gets a value-hidden label. Because the filter reads the shown address, searching for the hidden value finds nothing.

Kjørt med verktøyets egen kode.

Overlapping requests add up to more than the real wait

Du skriver inn
Oppføring 1
starts 0 ms, lasts 48 ms
Oppføring 2
starts 20 ms, lasts 180 ms
Oppføring 3
starts 50 ms, lasts 95 ms
Du får
Sum av forespørselstider
323.0 ms
Tregeste
180.0 ms

The three requests overlap, so the first byte went out at 0 ms and the last one ended at 200 ms. The sum of 323 ms counts the overlapping time more than once, so it must not be read as the time to load the page.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Find which requests failed (status 400 or above) in a capture a colleague or customer sent you.
  • Spot the slowest request in a capture before you open the full developer tools.
  • Check roughly how many requests a page made and how much response content they carried.
  • Look at a capture without installing a desktop program or sending the file to an online service.

Begrensninger

  • It reads HAR 1.2 only. A file whose log version is not 1.2, or that has no log.entries list, is rejected.
  • Maximum input is 5 MiB, 5,000 requests, 120,000 JSON values and 48 levels of nesting. Only 100 matching rows are drawn at a time.
  • It never shows request or response headers, cookies or bodies, and it cannot replay or export anything.
  • The sum of request times is not the page-load time, because requests can overlap. Page-load events are not rebuilt.
  • Hosts and URL paths stay visible in the list, so a masked list can still reveal private systems.

Tips

  • Open the original capture in a text editor before you share it. This tool hides query values in its list, but the file itself may still hold cookies, tokens and personal data.
  • To find failures fast, set the status filter to errors, then sort your reading by the time column in your head: look for rows with long bars.
  • If an entry has no readable start time, its bar is placed by its position in the file, so do not trust bar order for such files.

Kilder

Vanlige spørsmål

What is a HAR file?

A HAR (HTTP Archive) file is a JSON record of the requests a browser made while loading pages. Browser developer tools can save one from the network panel. It lists addresses, status codes, timings and sizes, and it may also hold headers, cookies and bodies.

Is my HAR file uploaded anywhere?

The tool's own code reads the file in the browser with the file reader and parses it as JSON. It contains no code that sends the file anywhere. Even so, HAR files can hold sensitive data, so treat the original file with care.

Can a HAR file contain passwords or tokens?

Yes. A capture can include cookies, authorization headers, session tokens, form data and private addresses. This viewer hides query values and address credentials in its list, but it cannot clean the original file. Check the original before you send it to anyone.

What does the number of errors mean?

It counts entries whose status code is 400 or higher, which covers client errors such as 404 and server errors such as 503. Entries with no valid status, shown as a dash, are not counted as errors.

Why is the total time larger than the page load time?

The total adds the duration of each request. Browsers run many requests at the same time, so their durations overlap. The sum therefore counts some time more than once and cannot tell you how long the page took.

Why does a pasted file show an odd error message?

A few failure messages in the current page come from a shared list and can be worded for another tool, for example a size message that mentions characters, not megabytes. Trust the real limits: 5 MiB, 5,000 requests and 48 levels of nesting.

Does it work with files from every browser?

It works with any file that follows the HAR 1.2 layout, which most browser exports use. A file with another version number, or one that is cut short or edited by hand, may be rejected.

Hvordan viser jeg en HAR-fil?

Velg en HAR- eller JSON-fil, eller lim inn innholdet, og trykk deretter «Analyser». Filtrer forespørsler etter URL-tekst, metode eller status. Viseren viser et kompakt fossefallsdiagram og et sammendrag.

Lastes HAR-filen min opp?

Nei. Filen leses og analyseres bare i denne nettleseren. HAR-opptak kan inneholde øktinformasjonskapsler, autorisasjonsheadere, personopplysninger og private nettadresser. Spørringsverdier og legitimasjon skjules i forespørselslisten, men undersøk originalfilen før du deler den.

Kan jeg filtrere HAR-forespørsler etter status eller metode?

Ja. Søk i renset URL, vert eller forespørselsmetadata, og avgrens deretter listen etter HTTP-metode eller vellykket-/feilstatus. Sammendraget bygger fortsatt på hele opptaket.

Viser HAR-fossefallsdiagrammet nøyaktig sidens lastetid?

Nei. Det visualiserer tidsstemplene og varighetene for forespørslene som er registrert i HAR-filen. Forespørsler kan overlappe, og summen av varighetene er ikke sidens lastetid.

Vises informasjonskapsler og autorisasjonsheadere?

Nei. Headere og forespørselskropper vises ikke. Verdier i spørringsstrenger skjules i forespørselslisten, men stier eller verter kan fortsatt inneholde privat informasjon; kontroller opptaket før du deler det.