JSON formatter

Format or minify JSON while preserving numbers and duplicate keys. Browser processing: 1 million input characters, 100 nesting levels, 4 million output characters.

Your inputs stay herePUFFINMINT

Set your data

Set your data

Result

Enter your data and run the tool. Your result will appear here.

The values you enter stay on this page. Reloading or closing it clears them.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use the tool

  1. Fill in these fields: Source text, Result format.
  2. Select “Format” to obtain the result.

Method and principles

JSON · RFC 8259

Practical example

Input
  • Source text: {"tool":"Puffinmint","id":9007199254740993}
  • Result format: Pretty · 2-space indent
Result
{ "tool": "Puffinmint", "id": 9007199254740993 }

Limits and checks

Limits and checks
ParameterValue
Source text≤ 1000000 characters

Sources and further reading

Favorites