123024.com · JSON
JSON (JavaScript Object Notation) is the mainstream format for front/back-end data exchange. Indented form is easier for humans; minified form is better for transport and storage. This tool formats, minifies, and expands/collapses a tree in your browser — input is not uploaded.
Unformatted JSON often sits on one line; deep nesting makes structure hard to see. After formatting, hierarchy is clear, so missing fields, type mistakes (number as string), and stray commas are easier to spot.
Minify does the opposite: strip whitespace for smaller payloads, config embeds, or size-sensitive paste. Switch views as needed.
JSON requires double-quoted keys, no comments, and no trailing commas (some lenient parsers allow exceptions). If format fails, check quote style, bracket matching, and whether you pasted a JS object literal instead of strict JSON.