woori.today
Family Sites

JSON Formatter

Format JSON for readability or minify it for compact storage and copying.

JSON Formatter: Input / Result

Input

{"name":"Mina","active":true}

Result

{
  "name": "Mina",
  "active": true
}

How it works

The tool parses the input as JSON, then serializes the same data again. Pretty mode adds indentation; minify mode removes structural whitespace while preserving spaces inside string values.

A practical use

Paste an API response or configuration object to inspect nested arrays and objects before sharing it. Choose minify when you need compact JSON for a request or a size comparison.

When something goes wrong

Quote property names and strings with double quotes, and remove a comma after the final item. If parsing fails, inspect the braces, brackets, and quotes around the reported line. JSON does not allow comments.

Tool-specific question

Will formatting change my values or data types?

No. It parses and writes JSON again, changing whitespace and indentation only. It does not turn date strings into dates or validate an application-specific schema.

About this tool

Format JSON with indentation for readability or minify it into a compact string.

How to use

  1. Enter JSON text.
  2. Choose Pretty Print or Minify.
  3. Fix any syntax error shown, then copy the result.

Options

Pretty Print adds readable spacing; Minify removes unnecessary whitespace.

Privacy

No. Your input is handled in the browser you are using. Privacy

Related tools