JSON Formatter - Parse your Large JSON Objects into Readable Format

Free JSON Formatter

JSON Formatter

JSON Formatter bueatifies (formats) the JSON string in readable and colored format.
Output is easy to read by humans to understand large JSON string in few seconds.
Colors used in JSON Formatter's output are similar to colors of codes in different IDEs and Text Editors.

What is JSON?

JSON stands for JavaScript Object Notation
JSON is a lightweight data-interchange format
JSON is language independent
JSON is "self-describing" and easy to understand

Why use JSON?

There are tons of reasons why you would want to use JSON:

  • It's human readable... if it's properly formatted :-P
  • It's compact because it doesn't use a full markup structure, unlike XML
  • It's easy to parse, especially in JavaScript
  • A gazillion JSON libraries are available for most programming languagues
  • The data structure is easy to understand even if you're an idiot

The JSON format

There are just a few rules that you need to remember:

  • Objects are encapsulated within opening and closing brackets { }
  • An empty object can be represented by { }
  • Arrays are encapsulated within opening and closing square brackets [ ]
  • An empty array can be represented by [ ]
  • A member is represented by a key-value pair
  • The key of a member should be contained in double quotes. (JavaScript does not require this. JavaScript and some parsers will tolerate single-quotes)
  • Each member should have a unique key within an object structure
  • The value of a member must be contained in double quotes if it's a string (JavaScript and some parsers will tolerates single-quotes)
  • Boolean values are represented using the true or false literals in lower case
  • Number values are represented using double-precision floating-point format. Scientific notation is supported
  • Numbers should not have leading zeroes
  • "Offensive" characters in a string need to be escaped using the backslash character
  • Null values are represented by the null literal in lower case
  • Other object types, such as dates, are not properly supported and should be converted to strings. It becomes the responsability of the parser/client to manage this.
  • Each member of an object or each array value must be followed by a comma if it's not the last one
  • The common extension for json files is '.json'
  • The mime type for json files is 'application/json'

                                

Other useful JSON resources

  • JSON.org - Excellent overall explanation and list of many JSON libraries
  • Wikipedia - Brief explanation of JSON
 

Recent Posts

Explore the recent blog posts about our Responsive Checker Tool and other Online Tools and get to know the latest information and latest technology trends from the whole world.

Best JSON formatter and JSON validator
  • 15 Jun
    2017

What is JSON? JSON stands for JavaScript Object Notation. JSON is a lightweight and data interchange format which is used to change the content into readable and writeable formats for humans. The JSON formatter formats the given JSON string into the formatted form with different colors. It has also colored format. JSON string output can be understood and can be read easily... Read More

Test your website on different mobile phones
  • 11 Jun
    2017

What is a mobile friendly website? It is a type of website which displays properly and perfectly on small screen devices such as: Android phones, iPhones, iPads, tablets, mini laptops etc. A mobile friendly website has many features like, it loads faster than non-mobile friendly website as many irrelevant sections are being hidden. A user can easily read the content on a mobile... Read More

How to generate an HTML sitemap
  • 06 May
    2017

What is a sitemap? "Sitemap is a type of file which consists of a huge number of URLs or LINKS of all web pages of your website." Working of a sitemap: Work of a sitemap is to provide a file of URLs of all pages of your website for Google and other search engines. In this manner, a user can easily navigate to... Read More