JSON Formatter

Formats a JSON string creating an object tree with color highlights. You can now clearly identify object constructs (objects, arrays and members).

Please provide a text to format

JSON Explained


What is JSON? 

JavaScript Object Notation (JSON) is an open-standard file format or data interchange format originally specified by Douglas Crockford in the early 2000s that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). It is a very common data format, with a diverse range of applications, such as serving as replacement for XML in AJAX systems.

JSON is a language-independent data format. It was derived from JavaScript, but many modern programming languages include code to generate and parse JSON-format data. The official Internet media type for JSON is application/json. JSON filenames use the extension .json.


Why use JSON? 

Since the JSON format is text only, it can easily be sent to and from a server, and used as a data format by any programming language.

JavaScript has a built in function to convert a string, written in JSON format, into native JavaScript objects:

JSON.parse()

So, if you receive data from a server, in JSON format, you can use it like any other JavaScript object.