Pasting a 50 KB API response into a browser tab feels instantaneous—until an engineer drops a **120 MB production JSON export**, Elasticsearch dump, or CloudTrail log file into a naive web formatter and watches Chrome freeze with an **`Aw, Snap! Out of Memory`** crash.

Understanding *why* browsers choke on massive JSON payloads—and how to combine **Web Workers**, **Streaming File Readers**, **NDJSON**, and CLI tools like `jq`—lets you inspect and validate multi-hundred-megabyte files without locking up your machine.

Why Browser Tabs Freeze on 100MB+ JSON Payloads

Three compounding memory and main-thread bottlenecks occur when a web app handles large JSON naively:

  1. UTF-16 String Inflation (2x RAM): JavaScript engines (V8, SpiderMonkey, JavaScriptCore) store strings internally using UTF-16 encoding for non-ASCII content, and copying `textarea.value` -> `JSON.parse()` -> `JSON.stringify(obj, null, 2)` simultaneously holds the raw string, the parsed object graph (which often consumes **4x–6x the raw file size** in V8 object pointers!), and the indented output string in heap memory—turning a 120 MB file into **900+ MB of tab RAM**.
  2. Main-Thread Blocking (INP Freeze): Synchronous `JSON.parse()` on a 100 MB string blocks the UI event loop for 800–2,500 ms, freezing scrolling, typing, and paint frames.
  3. DOM `