Free online JSON key extractor. Just load your JSON object in the input field and the tool will automatically convert its keys to a list. In the tool options, you can specify the extraction depth of the nested objects, set an output separator for the extracted keys, and wrap the keys in quotes. Created for developers by developers from team Browserling.
Free online JSON key extractor. Just load your JSON object in the input field and the tool will automatically convert its keys to a list. In the tool options, you can specify the extraction depth of the nested objects, set an output separator for the extracted keys, and wrap the keys in quotes. Created for developers by developers from team Browserling.
This tool extracts object keys from the given JSON (JavaScript Object Notation). In the input, you must load a valid JSON object, and the program will recursively walk through it and extract keys from each depth level, including nested objects. To extract keys from specific depth levels, you can specify the recursion depth values in the options. For example, the depth of "2" means the program should extract keys only from an object nested within the root object or root array. If you want to extract keys only from the main (outer) object, you can specify the number "1" in the depth option. Similarly, to extract keys from the main object and another object that it contains, enter two numbers "1, 2" in the depth option. To extract even more keys from even deeper objects, you can use a range, such as "1-4". To quickly extract all keys from all levels, use the asterisk "*". You can also specify a delimiter character in the options to use for separating the extracted keys. Additionally, you can enclose the extracted keys in double quotes, which makes it easy to integrate them in other programs and programming languages. If you need to extract values from JSON objects, you can use our Extract JSON Values tool. Json-abulous!
This tool extracts object keys from the given JSON (JavaScript Object Notation). In the input, you must load a valid JSON object, and the program will recursively walk through it and extract keys from each depth level, including nested objects. To extract keys from specific depth levels, you can specify the recursion depth values in the options. For example, the depth of "2" means the program should extract keys only from an object nested within the root object or root array. If you want to extract keys only from the main (outer) object, you can specify the number "1" in the depth option. Similarly, to extract keys from the main object and another object that it contains, enter two numbers "1, 2" in the depth option. To extract even more keys from even deeper objects, you can use a range, such as "1-4". To quickly extract all keys from all levels, use the asterisk "*". You can also specify a delimiter character in the options to use for separating the extracted keys. Additionally, you can enclose the extracted keys in double quotes, which makes it easy to integrate them in other programs and programming languages. If you need to extract values from JSON objects, you can use our Extract JSON Values tool. Json-abulous!
In this example, we extract keys from a JSON object containing geolocation data. We set the extraction depth to 1, which means: extract keys only from the outer (root) object without recursing into any child objects. Additionally, we change the delimiter symbol to a comma "," symbol. As a result, we obtain a comma-separated list of latitude, longitude, altitude, and timestamp, which are the four keys of the root object.
In this example, we load a JSON object representing a shape with three levels of nesting. As we want to extract keys only from specific levels within this nested structure, we set the depth to "2, 3". This depth argument extracts keys from depth 2 (this is the "shape" object) and depth 3 (this is the "dimensions" object). As a result, we get 5 keys, which we separate with a space. Notice that the key "shape" wasn't extracted as it's located at depth 1 (root object).
In this example, we enter the "*" symbol in the extraction depth option to recursively extract all keys from all levels of the given JSON object. The input JSON contains detailed information about a player, including name, level, and inventory. The depth of this JSON is 4, which means it has objects or arrays at levels 1, 2, 3, and 4. In the output, we get all 10 keys, and we separate them with a newline ("\n") character, and enclose them in double quotes so that it was easy to copy them to another program and use as strings.
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!