JSON Formatter
Validate, pretty-print or minify JSON, with the line and column of any error. Runs in your browser.
Paste JSON from an API response, a log line or a config file to check that it's valid and make it readable, or minify it to one line for a request body or an environment variable. Errors show the exact line and column. Comments and trailing commas (common in hand-edited files) are accepted and removed, and sorting keys makes two versions easy to compare in the Text Diff.
Formatted in your browser. Your JSON is never sent to tclient.com.
This page runs on your device (WebAssembly), so API responses with tokens or customer data stay there. To check, open your browser's developer tools (F12), go to the Network tab and format: no request is made.