JSON Formatter
Beautify, minify, and validate JSON data
Input JSON
Output
What is JSON?
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write, and easy for machines to parse and generate.
JSON is commonly used for transmitting data in web applications between a server and client.
JSON Syntax Rules
Objects: Enclosed in curly braces { } with key-value pairs.
Arrays: Enclosed in square brackets [ ] with comma-separated values.
Keys: Must be strings in double quotes.
Values: Can be strings, numbers, booleans, null, objects, or arrays.