Developer utilities

JSON Formatter & Repair

Prettify, validate and clean up JSON. It also understands common JSON-like mistakes such as single quotes, unquoted keys and trailing commas.

● Processing happens in your browser
Indent
INPUT0 characters
Paste JSON or JSON-like text to begin.
FORMATTED OUTPUTWaiting for input

      
Your formatted result will appear here.
Try an example:
About repair: Standard JSON must follow strict syntax. Repair mode accepts common JSON5-style variations and a few common Python literals. If the input is ambiguous or structurally broken (for example, missing values or missing separators), the tool will show an error rather than silently guessing and changing your data. Your input is not uploaded to a server.