Format & Minify
JSON Minify
Paste JSON to collapse it onto one line.
Format & Minify
Paste JSON to collapse it onto one line.
JSON Minify collapses a JSON value onto one line. Indent and spaces between tokens are removed. Text inside strings is kept, including spaces.
Sort object keys works in this direction too. Every object's keys are ordered by UTF-16 code unit and array elements stay put. The minified text is valid input for JSON Beautify.
Minifying runs in your browser. The JSON you paste is never uploaded. Swap sends the result to JSON Beautify.
It removes indentation and the spaces between JSON tokens so the value fits on one line. Text inside strings is unchanged, including spaces and line-break escapes such as \n.
It reprints the value JSON.parse read. Number notation becomes canonical, so 1.0 becomes 1, and duplicate keys keep the last value. Spaces inside strings stay.
Yes. Turn on Sort object keys to order every object's keys by UTF-16 code unit before the line is printed. Array elements stay in their original order. Array-index keys such as 2 and 10 still print in numeric order, because that is how JSON.stringify lists them.
No. Minifying 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.
Pretty-print JSON with two-space indent as you type, keeping key order unless you sort keys. 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.