Data / JSONDesk
Validate and format JSON
Make JSON readable, validate syntax or produce a compact copy without uploading it.
Your input
No sign-up. Input and file contents stay in this browser.
Your result
Your result will appear here.
How to use JSONDesk
Paste JSON or open a UTF-8 file. Format uses two-space indentation; Compact removes optional whitespace. Invalid syntax produces an error without downloading a replacement. Numbers outside safe JavaScript precision are rejected so long identifiers should be quoted. Standard JSON parsing keeps the last value for a duplicate object key; use unique keys. Comments and trailing commas are not valid JSON.