JSON to HAR Converter

Turn structured request/response JSON into a valid HAR 1.2 file you can drop into Chrome DevTools, Firefox, or any HAR viewer.

Input

Waiting for input
1

Output

1

Instant

Runs entirely in your browser — no upload, no wait.

100% private

Your JSON never leaves the tab. Nothing is logged.

No signup

Free, unlimited, no account required.

What HAR is for

HTTP Archive (HAR) is the W3C-tracked JSON format DevTools uses to record network activity. Sharing a HAR file lets a teammate replay your exact session — headers, bodies, timing, cookies — in their own DevTools.

Minimum required fields

Each entry needs a startedDateTime, request (with method, url, headers), and response (with status, content). Timing fields are optional but make waterfall views meaningful.

{
  "log": {
    "version": "1.2",
    "creator": {"name": "jsonbeautify", "version": "1.0"},
    "entries": [{
      "startedDateTime": "2026-01-01T00:00:00Z",
      "request": {"method": "GET", "url": "https://api.example.com", "headers": []},
      "response": {"status": 200, "content": {"text": "{}"}}
    }]
  }
}

Why generate HAR programmatically

Recording from DevTools is fine for one-off captures, but reproducible test fixtures, mock servers, and load-testing replay scripts often need HAR files generated from synthetic data. The converter handles the format details so you can focus on the request shape.

Validating the result

The output is checked against the official HAR 1.2 JSON Schema. Errors point at the offending entry by index so you can fix the source quickly.

Privacy

Conversion runs locally. Your request/response data stays in your browser.

Related tools

Frequently asked questions