Format & Minify
JSON Beautify
Paste JSON to pretty-print it with a two-space indent.
Format & Minify
Paste JSON to pretty-print it with a two-space indent.
JSON Beautify pretty-prints a JSON value with a two-space indent. Objects and arrays are expanded onto their own lines. Strings, numbers, true, false and null stay valid JSON.
Key order stays as parsed unless Sort object keys is on. That option orders each object's keys by UTF-16 code unit. Array elements are never reordered, and numbers follow JSON.parse, so 1.0 becomes 1 and 1e2 becomes 100.
Formatting runs in your browser. The JSON you paste is never uploaded. Swap sends the result to JSON Minify.
It reprints a JSON value with a two-space indent so objects and arrays are easier to read. The result matches JSON.stringify with an indent of 2. Empty objects and empty arrays stay on one line.
Numbers are reprinted the way JSON.parse reads them, so 1.0 becomes 1 and 1e2 becomes 100. Key order stays as parsed unless Sort object keys is on. That option orders keys by UTF-16 code unit. Keys that JSON treats as array indexes still print in numeric order first, because that is how JSON.stringify lists them. Array elements are not sorted.
The output is replaced by a problem note that says Invalid JSON and points at the bad spot when the engine reports a position. A truncated value, a trailing comma or a comment is rejected instead of being repaired.
No. Beautifying runs in your browser and the text you paste is never uploaded, logged or stored. Google Analytics records page views and feature use, never content.
Minify JSON to a single line as you type, dropping indent and extra spaces between tokens. Runs in your browser; your text is never uploaded.
Indent well-formed XML, or minify it onto one line.
Indent HTML elements, or minify markup without changing text.
Break a SQL statement onto clause lines, or collapse it to one line.
Indent CSS rules, or minify a stylesheet.
Iternal · AI Blueprint Builder
The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.
Open the AI Blueprint Builder (opens in a new tab)↑↓ to move · ↵ to open · esc to close
aiformatting.app cleans up the text. The AI Blueprint Builder ranks the AI initiatives your team is weighing, scoring each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget.
Free to start · about 60 minutes · iternal.ai
Every tool here stays free, with no account to create. Leave a work email and the team behind aiformatting.app will send the occasional note on practical AI tooling.