.HAR

Файл HAR

HTTP Archive
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A HAR file is an HTTP Archive - a JSON log of every network request a browser made during a session. Open it by dragging it onto the Google HAR Analyzer or into browser DevTools (F12 > Network). Before sharing one, sanitize it: a HAR stores cookies, auth tokens, and passwords in plain text.

Разработчик: W3C Web Performance Working Group (originally Jan Odvarko / Firebug, with the Web Performance WG) Категория: Интернет-файлы Открыть стандартное MIME: application/json
ОТКРЫВАЕТСЯ НА Windows macOS Linux Web
Связанные: .CRDOWNLOAD · .JNLP · .WEBARCHIVE · .PART

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 29, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла HAR?

A .har file - short for HTTP Archive - is a JSON-based log that records every HTTP request and response exchanged during a browser session. Browsers, proxies, and performance-monitoring tools export .har files so developers and support engineers can replay, inspect, and analyze network activity offline.

The format originated around 2007 as the export format of Firebug's Net panel and was later formalized in a W3C Editor's Draft in 2012. HAR 1.2 is the version written by all major browsers today: Chrome, Edge, Firefox, and Safari all include a Save all as HAR option in their DevTools Network tab.

Internally, a .har file is a single JSON object with one top-level key - log - containing:

  • version - always 1.2 in modern exports (older tools wrote 1.1)
  • pages[] - one entry per page load, with overall load timing
  • entries[] - one entry per HTTP request/response pair, including URL, method, status code, headers, cookies, posted form data, and per-stage timings (DNS lookup, TCP connect, TLS handshake, send, wait, receive)

Because .har files store all of this as plain UTF-8 text, they can contain sensitive data such as session cookies, authorization tokens, and full response bodies. Treat them like credentials before sharing publicly or attaching to a support ticket.

Support teams at services including Microsoft 365, Okta, Zendesk, and Cloudflare routinely ask users to record and attach a .har file to help diagnose login failures, slow page loads, and API errors. Security researchers also load .har exports into tools like Fiddler or Wireshark to inspect and replay captured sessions.

Files grow quickly: a simple page load may produce 200 KB-2 MB; recording a complex session for several minutes can exceed 100 MB. The format has no built-in compression, though .har files are routinely gzipped externally for storage or transfer. Any text editor can open them - since they are plain JSON - and dedicated analyzers such as the Google Admin Toolbox HAR Analyzer present the data as interactive waterfall tables of requests and responses.

Безопасность и защита

РИСК: HIGH

The danger of a HAR is not malware but EXPOSURE. A HAR captures everything the browser sent and received in clear text: session cookies, OAuth/bearer tokens, API keys, CSRF tokens, full POST bodies and sometimes typed passwords. Anyone who obtains the file can often replay the user's authenticated session. High-profile incidents (e.g. the 2023 Okta support-system breach, where stolen HAR files contained session tokens) make this concrete. Before sharing a HAR: generate it WITHOUT response content where possible, and run it through a sanitizer (e.g. Cloudflare/Google 'HAR sanitizer' or the har-sanitizer tool) to strip cookies, Authorization headers and tokens. Never post a raw HAR in a public ticket, forum or chat. The file itself does not execute, so opening one to READ it is safe.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕHTTP Archiveтакже известен как HAR file, HTTP Archive format
РАЗРАБОТЧИКW3C Web Performance Working Group (originally Jan Odvarko / Firebug, with the Web Performance WG)с 2007 (HAR 1.1 draft, Firebug Net panel); W3C draft 'HTTP Archive (HAR) format' 2012
КАТЕГОРИЯИнтернет-файлы
MIME-ТИПapplication/json
ТИПJSON-based log of a browser/HTTP client session (text)
СТАНДАРТОткрытый · без роялти
Это расширение также используется в…
  • Resource Interchange Audio (legacy .HAR) - A few old DOS-era games used .har for packed audio/resource archives; unrelated to HTTP Archive.

Программы, открывающие файлы HAR

Windows5 apps
Google Admin Toolbox HAR Analyzer Бесплатно Open the site in a browser, drag the .har onto the page - it renders a timeline and per-request detail entirely client-side (file is not uploaded).
Google Chrome / Microsoft Edge DevTools Бесплатно Press F12, open the Network tab, right-click in the request list, choose 'Import HAR file' (or drag the .har onto the panel) to replay the waterfall.
Visual Studio Code Бесплатно Open the .har as JSON; use Format Document and folding to read it. The 'HAR Viewer' extension adds a structured view.
Notepad / any text editor Открытый код Open as text - it's JSON. Use a JSON plugin to pretty-print before reading.
Fiddler Everywhere Freemium File to Import to HAR - loads the capture into Fiddler's inspectors for replay and analysis.
macOS2 apps
Safari Web Inspector Встроенная Enable the Develop menu, open Web Inspector to Network, then import the HAR; or use the Google HAR Analyzer in any browser.
Google HAR Analyzer (web) Бесплатно Same client-side analyzer works in Safari/Chrome on macOS.
Linux2 apps
Google HAR Analyzer (web) Бесплатно Same client-side analyzer works in Safari/Chrome on macOS.
Chromium / Firefox DevTools Открытый код F12 to Network to Import HAR.
Web1 app
Google Admin Toolbox HAR Analyzer Бесплатно Open the site in a browser, drag the .har onto the page - it renders a timeline and per-request detail entirely client-side (file is not uploaded).

Технические подробности

глубокая спецификация
Container formatJSON (plain text, UTF-8)
MIME typeapplication/json; also registered as application/har+json
File signatureNone - identified by JSON structure; file almost always begins with {"log":{"version":"1.2"
Internal version fieldlog.version field: "1.2" in all modern exports; older tools wrote "1.1"
Top-level schema{log:{version, creator, browser, pages[], entries[]}} - one entries[] item per HTTP request/response pair
Per-entry timing fieldsMillisecond-resolution per stage: dns, connect, ssl, send, wait (TTFB), receive - enables waterfall chart analysis
Binary content handlingBinary response bodies are base64-encoded inside the JSON text field
CompressionNone built-in; commonly gzipped externally as .har.gz for storage or transfer
Privacy sensitivityHigh - stores cookies, authorization headers, auth tokens, and full request/response bodies in clear text
Typical file size200 KB - 50 MB per session; media-heavy or extended sessions can exceed 100 MB
Platform supportExported by Chrome, Edge, Firefox, and Safari DevTools; imported by Charles Proxy, Fiddler, Proxyman, and others
Primary use casesPerformance analysis, web debugging, support diagnostics (Microsoft 365, Okta, Zendesk, Cloudflare), and HTTP traffic auditing
Entry count limitUnbounded - the entries array grows with each request captured; limited only by available memory
Выпущен2007 (HAR 1.1 draft, Firebug Net panel); W3C draft 'HTTP Archive (HAR) format' 2012
Последняя версияHAR 1.2 (the version recorded inside every modern export's log.version field)
Открыть стандартноеДа · без роялти
Спецификацияwww.softwareishard.com

Конвертации HAR

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами HAR. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах HAR.

Часто задаваемые вопросы

What is a HAR file and why did support ask for one?
It's a JSON log of all the network requests your browser made - a recording of exactly what your browser sent and received. Support uses it to see failing requests, slow responses and errors they can't reproduce on their end.
How do I create a HAR file in Chrome or Edge?
Press F12, click the Network tab, tick 'Preserve log', reproduce the problem, then right-click any request and choose 'Save all as HAR with content' (or the download icon).
How do I open and read a HAR file?
Drag it into the Google HAR Analyzer (toolbox.googleapps.com/apps/har_analyzer) for a visual waterfall, import it into browser DevTools' Network tab, or open it as JSON in VS Code / Notepad++.
Is it safe to share a HAR file?
Not as-is. A HAR can contain your cookies, login tokens and even passwords in plain text. Sanitize it (strip cookies/Authorization headers) before sending, and never post it publicly.
Can I convert a HAR to a Wireshark capture (.pcap)?
No - a HAR is an HTTP-level log without packet data, so it can't become a real pcap. Capture traffic with Wireshark directly if you need packets.
What program opens a .har file?
Any browser's DevTools, the web-based Google HAR Analyzer, Fiddler, Charles, or any text/JSON editor - it's plain JSON.

Ссылки

1IANA media type - application/vnd.fujifilm... (HAR uses application/json / application/har+json)www.iana.org
2HAR 1.2 specification (softwareishard / W3C draft)www.softwareishard.com

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.EXEWindows Executable (Portable Executable)
10.PRDXSoftMaker Presentations Document

Похожие расширения

.CRDOWNLOADChrome Partial Download File
.JNLPJava Network Launch Protocol file
.WEBARCHIVESafari Web Archive
.PARTPartial Download File
.DOWNLOADPartial / Incomplete Download File
.ASPXActive Server Page Extended (ASP.NET Web Form)

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z