Inspect a small API response
Input and settings
{"name":"Mali","active":true}Expected result
{
"name": "Mali",
"active": true
}Choose 2 spaces and click Format. Minify reverses whitespace formatting; it does not validate a business schema.
Format, minify and check JSON syntax with selectable indentation in your browser.
DeveloperPaste your raw or minified JSON into the input area.
Click Format to pretty-print with indentation, or Minify to strip whitespace.
Invalid input displays the browser parserβs error message; a line number is not guaranteed.
Choose indentation style (2 or 4 spaces) to match your project's conventions.
Copy the formatted output with the copy button.
Input and settings
{"name":"Mali","active":true}Expected result
{
"name": "Mali",
"active": true
}Choose 2 spaces and click Format. Minify reverses whitespace formatting; it does not validate a business schema.
References: JSON.parse β MDN
Pretty-print a minified API response to quickly find the field you need.
Paste your package.json or app config to catch syntax errors before deploying.
Strip whitespace from JSON assets before bundling to reduce payload size.
Format a colleague's JSON snippet to make it readable during review.
Format, validate, and minify JSON instantly in your browser. Useful for developers debugging API responses, configuring app files, or cleaning up minified payloads to read them.
Found incorrect guidance or a result? Send the team steps and a non-sensitive example.
Convert a JSON array of objects into CSV text for copying or download.
Encode UTF-8 text as Base64 or decode Base64 back to text; this is not encryption.
Encode or decode a URL component using percent encoding.
Convert YAML to JSON or JSON to YAML, then inspect the resulting data types.
Test JavaScript regular expressions with flags, match highlighting and capture groups.
Inspect JWT header and payload data without verifying its signature or authenticity.