JSON formatter
Validate, format or minify JSON; copy or download the result.
Local processing · Inputs are not uploadedUp to 1 MiB. Numbers use JavaScript precision; use strings for very large integers.
Enter content, then choose an action.
How to use
- Paste the JSON you want to check.
- Choose Format or Minify to remove extra whitespace.
- Copy or download the result.
Example
{"name":"The49","tools":["JSON","CSV"],"free":true}Frequently asked questions
Are JSON comments supported?
No. Remove comments and trailing commas, and use double quotes for property names.
Can large integers lose precision?
The browser JSON parser can lose precision beyond the JavaScript safe integer range. Store long identifiers as strings.
What happens to duplicate keys?
The parser keeps the last value for a repeated key. Do not rewrite a file with this tool if you must preserve duplicate keys.
Related tools
Developer
URL encoder / decoder
Encode or decode UTF-8 URL parameters, including Unicode and special characters.
Processed locally in your browser
Developer
Static QR code
Generate a static QR code from a URL or text, preview it and download PNG or SVG.
Processed locally in your browser
Data conversion
CSV deduplicator
Remove duplicate rows, keep their first occurrence and export CSV.
Processed locally in your browser