JSON input
Paste JSON to validate, format or minify it locally in your browser.
Validation
Document details
JSON formatting and validation
Formatting adds indentation for readability; minifying removes unnecessary whitespace. Parsing and formatting happen locally in your browser, so the JSON you paste is not submitted to Utilitory.
More useful tools
General information only. Results are estimates and may vary by convention, provider, location or implementation.
More information
How to use it
Paste JSON text into the input and use the formatter or validator. Formatting adds indentation and line breaks for readability, while validation checks whether the text follows JSON syntax. This is useful for configuration files, API responses and debugging.
What valid JSON looks like
JSON supports objects, arrays, strings, numbers, true, false and null. Object keys must be quoted strings. For example, {"enabled": true, "count": 3} is valid, while {enabled: true} is not valid JSON.
Common syntax errors
Trailing commas, single-quoted strings, comments and unescaped quotation marks are not permitted by standard JSON. JavaScript object literals can accept syntax that strict JSON cannot, so copying a JavaScript object directly may fail validation.
Formatting is not schema validation
A syntactically valid document can still be wrong for a particular API. A service may require specific fields, data types or value ranges. JSON Schema or application-level validation is needed to check those requirements.
Privacy and safety
Use care when pasting API keys, personal information or confidential records into any web tool. This formatter is designed to work in the browser, but sensitive data should still be handled according to your organisation’s policies.
Explore related tools
Working on a larger task? Browse the connected calculators in these toolkits.
Developer & Networking Tools →Continue exploring Developer & Networking Tools
These calculators work independently. Open another tool to continue your planning.