Free online JSON analyzer. Just load your JSON in the input field and you'll automatically get detailed information about it, such as its basic structure, nesting depth, nested objects and arrays, data type distribution, and the total number of objects, arrays, strings, numbers, and booleans in it. Created for developers by developers from team Browserling.
Free online JSON analyzer. Just load your JSON in the input field and you'll automatically get detailed information about it, such as its basic structure, nesting depth, nested objects and arrays, data type distribution, and the total number of objects, arrays, strings, numbers, and booleans in it. Created for developers by developers from team Browserling.
This tool analyzes JavaScript Object Notation (JSON) data files and prints their statistics. Primarily, it checks if the input JSON has a valid syntax, and if there are any errors, it displays them in a human-readable way so that you can fix them. If the JSON is valid, the program displays useful information about the data structure. The information is divided into three category blocks, and each block of information can be activated or deactivated using checkboxes in the options. The first category includes the main JSON information. Specifically, the program determines whether the given JSON is an object, array, string, number, boolean value, or null, and indicates whether the data structure contains any additional nested objects or arrays, and determines the maximum nesting depth. The second block of information includes statistics about the data types used in the JSON. Specifically, the program counts the number of objects, arrays, strings, numbers, boolean "true" and "false" values, and "null" values. The third block of information allows you to recursively traverse into nested data and extract information from JSON's hierarchical structure. In particular, you can explore data at any depth level of the JSON file and extract data type information at that depth. Additionally, you can find the name (key) of the parent object or array, print all values at this depth level, list keys and their count in the object at this depth level, or if it's an array, then list values and their count in the array. The "Analyze All Nested Objects" option lets you extract this information about nested objects and arrays at all depth levels at once. You also can specify certain depths from which you want to extract the information. For example, if you specify depths "2, 3-5" in the "Analyze Specific Nesting Level" option, the program will extract information only from the 1st, 3rd, 4th, and 5th depth levels of JSON. Json-abulous!
This tool analyzes JavaScript Object Notation (JSON) data files and prints their statistics. Primarily, it checks if the input JSON has a valid syntax, and if there are any errors, it displays them in a human-readable way so that you can fix them. If the JSON is valid, the program displays useful information about the data structure. The information is divided into three category blocks, and each block of information can be activated or deactivated using checkboxes in the options. The first category includes the main JSON information. Specifically, the program determines whether the given JSON is an object, array, string, number, boolean value, or null, and indicates whether the data structure contains any additional nested objects or arrays, and determines the maximum nesting depth. The second block of information includes statistics about the data types used in the JSON. Specifically, the program counts the number of objects, arrays, strings, numbers, boolean "true" and "false" values, and "null" values. The third block of information allows you to recursively traverse into nested data and extract information from JSON's hierarchical structure. In particular, you can explore data at any depth level of the JSON file and extract data type information at that depth. Additionally, you can find the name (key) of the parent object or array, print all values at this depth level, list keys and their count in the object at this depth level, or if it's an array, then list values and their count in the array. The "Analyze All Nested Objects" option lets you extract this information about nested objects and arrays at all depth levels at once. You also can specify certain depths from which you want to extract the information. For example, if you specify depths "2, 3-5" in the "Analyze Specific Nesting Level" option, the program will extract information only from the 1st, 3rd, 4th, and 5th depth levels of JSON. Json-abulous!
In this example, we analyze a JSON file containing information about various beverages. We display the basic info about the file as well as statistics about the data types it contains. As shown in the printout, this JSON file is an array that contains nested arrays and objects with a total depth of 3. Additionally, we see that the total number of objects is 2, then there are 3 arrays, 8 strings, and 4 object keys.
In this example, we extract information from a JSON object about all nested data structures at the 2nd level of nesting. We do so by choosing the the mode to extract nested data at a specific depth and setting the depth level to "2". As a result, we obtain information about an array that's under the key "categories" and an object under the key "specs".
In this example, we activate all information analysis options and get the most complete profile of the given JSON data structure. In the output, we get detailed information about the JSON object, the statistical analysis of different data types, as well as full information about the data at every level of nesting of the JSON object.
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
Find keys and/or values that interest you in a JSON file.
Create a text list from a JSON array or object.
Create a JSON array from a text list.
Generate HTTP form data from a JSON object.
Generate JSON object from HTTP form data.
Create a HTML table from keys and values of a JSON object.
Convert a JSON file to a CSON file.
Convert a CSON file to a JSON file.
Convert a JSON config to a TOML config.
Convert a TOML file to a JSON file.
Convert a JSON data structure to Bencode encoding.
Convert Bencode data to JSON data.
Convert a JSON file to a JSONL file.
Convert a JSONL file to a JSON file.
Convert binary JSON data structure (BSON) to JSON.
Convert a JSON file to a universal binary JSON (UBJSON).
Convert universal binary JSON (UBJSON) to regular JSON.
Serialize JSON data to binary MessagePack format.
Unserialize binary MessagePack to a JSON struct.
Serialize JSON data to binary Protobuf format.
Unserialize binary Protobuf to a JSON struct.
Generate a LaTeX table from a JSON object.
Convert a JSON data file to an INI configuration file.
Convert an INI configuration file to JSON data file.
Loop over JSON structure and truncate all values or keys.
Find the nesting depth of a JSON data structure.
Convert a JSON data structure to a data URL.
Create a PHP data structure from a JSON data structure.
Create a JSON data structure from a PHP data structure.
Diff JSON files and show differences visually.
Lexicographically sort the order of JSON object keys.
Exchange keys with values in a JSON file.
Create a JSON array with random values.
Create a JSON object with random keys and values.
Randomly change the positions of array elements.
Randomly change the order of key, value pairs.
Add random spaces and newlines in a JSON file.
Tokenize a JSON data structure.
Remove all JSON syntax and leave just the values.
Change curly braces, commas, and quotes to other symbols.
Fix incorrectly quoted (usually single quote) keys and values.
Make all keys and values in a JSON to be single-quoted.
Make all keys and values in a JSON to be double-quoted.
Create JSON that looks real but is fake (FakeSON).
Execute a jq query on a JSON data structure.
Filter keys and values that match a pattern.
Create a JSON array from a string.
Create groups of JSON array items.
Merge two or more JSON arrays together.
Find differences in two or more JSON arrays.
Merge two or more JSON objects together.
Introduce errors in a JSON data structure.
Try to fix a damaged JSON to the best of our ability.
Convert images to valid JSON strings that look like ASCII art.
Create an abstract visualization of JSON's complexity.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling, our mission is to make people's lives easier, so we created this collection of JSON tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Behind the scenes, all JSON tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!