HAR File Viewer and Sanitizer
Load a HAR exported from browser DevTools, filter and inspect each request, compare sizes by type and host, and download a sanitised copy.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Export a HAR
In DevTools Network, reload the page and choose Save all as HAR.
- 2Open it
Press Open HAR file and pick the file.
- 3Read the waterfall
Filter by text, status or type and tap rows for details.
- 4Check the summary
See bytes by type, requests per host, and the slowest and largest requests.
- 5Sanitise
In Sanitise and share tick what to remove and add extra header names.
- 6Share safely
Download the sanitised HAR, review it and send that file instead of the original.
เกี่ยวกับเครื่องมือนี้
A HAR file is a recording of everything a page loaded: each request and response with headers, cookies, sizes and a breakdown of time spent in DNS, connecting, TLS, waiting for the server and downloading. Support teams often ask for one, but HAR files also contain session cookies, bearer tokens and sometimes typed passwords. This viewer opens HAR files in your browser and shows a waterfall like the DevTools Network panel, request details, totals by resource type and host, and a sanitiser that redacts secrets so the file is safer to send.
Who it is for
Developers debugging slow pages or failing calls, support engineers receiving HAR files from customers, and users asked to send one who want to remove private data first.
Making a HAR file
In Chrome or Edge open DevTools, go to Network, reload the page, then right-click the request list and choose "Save all as HAR". Firefox and Safari have the same option. Recent Chrome versions can export with or without sensitive data; this tool sanitises either.
The waterfall
Each row shows the file name and host, status, type, transferred size, total time and a bar split into colours: queued, DNS, connect, TLS, send, waiting (time to first byte) and download. A blue line marks DOMContentLoaded and a red line the load event. Filter by URL text, by status (404 or 5xx) or by type, and tap a row for its request and response headers, a timing chart and any request body.
Summary
Totals show bytes transferred by resource type, requests per host (each new host costs DNS, TCP and TLS time), the slowest requests and the largest ones, which are usually the first things to fix.
Sanitising
Choose what to remove: - secret headers such as Authorization, Cookie, Set-Cookie, X-API-Key and CSRF tokens, plus any names you add - all cookie values - query parameters whose names look like token, key, secret, session or signature - password, token and key fields inside JSON or form request bodies - response bodies entirely The tool counts the changes and downloads a new file; the original is not modified.
Worked example
The sample HAR has 10 requests. The 410 KB app.js and the 380 KB hero image dominate the transfer, the fonts and analytics hosts add their own DNS and TLS time, and the login call returns 401. With all options on, the sanitiser redacts the session cookie and Cookie header, the Bearer header on /api/cart, token=abc123 in its URL and the password in the login body.
Limits
Redaction is pattern-based. Personal data such as names or emails in URLs, response content or custom fields is not detected, so read the file before sharing it. Timings are those recorded by the browser that made the file. HAR files from tools that leave out timings or sizes show those columns as zero.
ตัวอย่างพร้อมวิธีทำ
10 requests, app.js 410 KB and hero.jpg 380 KB largest; sanitiser redacts cookie, bearer token, token query and password.
สรุปสั้น ๆ
- หมวดหมู่: นักพัฒนาและข้อมูล
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: HTTP Archive (HAR) 1.2 specification by Jan Odvarko (W3C Web Performance Working Group draft)
คำถามที่พบบ่อย
Is my HAR file uploaded?
No. It is read in your browser and not even saved in local storage.
What does sanitising remove?
Secret headers, cookie values, token-like query parameters, password and key fields in request bodies, and optionally response bodies.
Is a sanitised HAR completely safe?
Not guaranteed. Personal data in URLs or content is not detected; review the file before you share it.
What does the waiting time mean?
Time from sending the request to the first byte of the response: mostly server processing and network latency.
Can I export the requests to a spreadsheet?
Yes. Export CSV gives one row per request with sizes and every timing phase.
Which browsers' HAR files work?
Any HAR 1.2 file from Chrome, Edge, Firefox, Safari, proxies such as Charles or Fiddler, or test tools.
