Our Network


Coming Soon


Coming Later

JSON Value Extractor

World's Simplest JSON Tool

Free online JSON value extractor. Just load your JSON object in the input field and the tool will automatically convert its values to a list. In the tool options, you can specify the nesting depth of objects that you want to extract values from. You can also customize the extracted value delimiter and optionally stringify values and wrap them in quotes for convenient further use. Created for developers by developers from team Browserling.

JSON Value Extractor

World's Simplest JSON Tool

Free online JSON value extractor. Just load your JSON object in the input field and the tool will automatically convert its values to a list. In the tool options, you can specify the nesting depth of objects that you want to extract values from. You can also customize the extracted value delimiter and optionally stringify values and wrap them in quotes for convenient further use. Created for developers by developers from team Browserling.

Tool Options

Value Extraction Depth

Depth of the objects that you want to extract values from. For example, "1", "1, 3", or "1-4".
Use "*" to extract all values from all objects at all recursion levels.
The outer object has depth 1, the object nested within it is at level 2, and so on.

Value Output

Delimit extracted values with this symbol (use \n for a newline and \t for a tab).
Stringify extracted values and enclose them in double quotation marks (").

Complex Values

If the object's value is a nested array or object, print "[array]" or "{object}" as a value. Otherwise, don't print it.

What Is a JSON Value Extractor?

This tool extracts object values from the given JSON (JavaScript Object Notation) objects. In the input of the tool, you must load a valid JSON object and the tool will recursively walk through it and print just the "value" parts of the "key-value" pairs it finds. You can also specify which values you want to get and customize their display. In the tool options, you can set the nesting depth (recursion level) of the objects to look for values in. For example, setting this option to "1" will extract values from the first level of nesting (root object). Similarly, setting it to "2" will recurse into all second-level objects and will look for values there. You can also specify several depth levels at once. For example, "1, 3" will extract values from the first and third levels. Additionally, you can specify a range of levels. For example, "1-4" will extract values from all objects starting from the root object and going four levels deep. To quickly extract all values from all nested objects, enter a wildcard star "*". Values that can be found in JSON objects are objects, arrays, strings, numbers, booleans, or the special value null. If a value at some level is an array or object, you can choose to display these complex recursive structures as "[array]" for arrays and "{object}" for objects. You can also specify a delimiter that's used to separate the extracted values. Last but not least, you can select the "Wrap Values in Quotes" option to stringify the extracted values and enclose them in double quotes. If you need to extract object keys from JSON, you can use our Extract JSON Keys tool. Json-abulous!

What Is a JSON Value Extractor?

This tool extracts object values from the given JSON (JavaScript Object Notation) objects. In the input of the tool, you must load a valid JSON object and the tool will recursively walk through it and print just the "value" parts of the "key-value" pairs it finds. You can also specify which values you want to get and customize their display. In the tool options, you can set the nesting depth (recursion level) of the objects to look for values in. For example, setting this option to "1" will extract values from the first level of nesting (root object). Similarly, setting it to "2" will recurse into all second-level objects and will look for values there. You can also specify several depth levels at once. For example, "1, 3" will extract values from the first and third levels. Additionally, you can specify a range of levels. For example, "1-4" will extract values from all objects starting from the root object and going four levels deep. To quickly extract all values from all nested objects, enter a wildcard star "*". Values that can be found in JSON objects are objects, arrays, strings, numbers, booleans, or the special value null. If a value at some level is an array or object, you can choose to display these complex recursive structures as "[array]" for arrays and "{object}" for objects. You can also specify a delimiter that's used to separate the extracted values. Last but not least, you can select the "Wrap Values in Quotes" option to stringify the extracted values and enclose them in double quotes. If you need to extract object keys from JSON, you can use our Extract JSON Keys tool. Json-abulous!


JSON Value Extractor Examples

Click to try!
click me

Extract Values from a JSON Object

In this example, we extract values from a simple JSON object containing information about the origin of an airplane. The input JSON is flat and contains just one level of data – all values are located at the root level, so we input "1" in the depth option. In the output, each value is displayed on a new line, separated by a newline character "\n".

{ "invention": "Airplane", "inventor": "Wright Brothers", "year": "1903" }
Airplane Wright Brothers 1903
Required options
These options will be used automatically if you select this example.
Depth of the objects that you want to extract values from. For example, "1", "1, 3", or "1-4".
Delimit extracted values with this symbol (use \n for a newline and \t for a tab).
Stringify extracted values and enclose them in double quotation marks (").
If the object's value is a nested array or object, print "[array]" or "{object}" as a value. Otherwise, don't print it.
click me

Find Values in a Nested Object

In this example, we find values in a nested object at the 2nd recursion level of JSON data. At this level, there is an object "location" which contains five keys: "address", "city", "state", "zip", and "amenities". We use a comma followed by a space ", " as a separator to create a comma-separated list of values. As the "amenities" key contains an array, which creates the 3rd recursion level, instead of traversing this array, we enable the option "Print Complex Values" and print the whole array as an "[array]" abbreviation as it's too complex to print as a simple value.

{ "name": "Coffee Shop Name", "location": { "address": "123 Main St", "city": "Anytown", "state": "CA", "zip": "12345", "amenities": [ "Free Wi-Fi", "Outdoor Seating" ] } }
123 Main St, Anytown, CA, 12345, [array]
Required options
These options will be used automatically if you select this example.
Depth of the objects that you want to extract values from. For example, "1", "1, 3", or "1-4".
Delimit extracted values with this symbol (use \n for a newline and \t for a tab).
Stringify extracted values and enclose them in double quotation marks (").
If the object's value is a nested array or object, print "[array]" or "{object}" as a value. Otherwise, don't print it.
click me

Extract All Values

In this example, we extract all values from a JSON object, which contains more nested objects and arrays. To traverse the entire key-value tree in its entirety, we set the depth parameter to "*" to include all depth levels. We use a newline character ( ) as a value separator and JSON-stringify the values by adding quotes to all of them.

{ "familyTree": { "familyName": "Smith", "members": [ { "name": "John Smith", "age": 45, "gender": "male", "children": [ { "name": "Emily Smith", "age": 18, "gender": "female" }, { "name": "Michael Smith", "age": 15, "gender": "male" } ] } ] } }
"{object}" "Smith" "[array]" "John Smith" "45" "male" "[array]" "Emily Smith" "18" "female" "Michael Smith" "15" "male"
Required options
These options will be used automatically if you select this example.
Depth of the objects that you want to extract values from. For example, "1", "1, 3", or "1-4".
Delimit extracted values with this symbol (use \n for a newline and \t for a tab).
Stringify extracted values and enclose them in double quotation marks (").
If the object's value is a nested array or object, print "[array]" or "{object}" as a value. Otherwise, don't print it.

Pro tips Master online json tools

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!

https://onlinetools.com/json/extract-json-values?input=%7B%0A%20%20%20%20%22invention%22%3A%20%22Airplane%22%2C%0A%20%20%20%20%22inventor%22%3A%20%22Wright%20Brothers%22%2C%0A%20%20%20%20%22year%22%3A%20%221903%22%0A%7D&depth=1&separator=%255Cn&add-quotes=false&print-complex-values=false

All JSON Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly color-code the syntax of a JSON file.
Quickly beautify a JSON data structure.
Quickly compress a JSON file.
Quickly convert JavaScript data to a JSON string.
Quickly convert a JSON string to JavaScript data.
Quickly check JSON for errors and report them.
Quickly escape special JSON characters.
Quickly unescape an escaped JSON string.
Quickly convert a JSON data structure to an XML file.
Quickly convert an XML file to a JSON data structure.
Quickly convert a JSON data structure to a YAML markup.
Quickly convert a YAML markup to a JSON data structure.
Quickly convert a JSON file to a TSV file.
Quickly convert TSV data to a JSON file.
Quickly convert a JSON file to a CSV file.
Quickly convert CSV data to JSON data.
Quickly convert a JSON structure to binary JSON encoding.
Quickly convert JSON to a PNG, GIF, JPG, or BMP image.
Quickly create a screenshot from JSON code.
Quickly encode JSON to base64.
Quickly decode base64 to JSON.
Quickly convert JSON to URL-encoding.
Quickly convert URL-escaped JSON back to JSON.
Quickly convert JSON data to plain text.
Quickly edit a JSON file in a neat JSON editor in your web browser.
Quickly extract keys from objects in JSON data.
Quickly extract values from objects in JSON data.
Quickly reduce the nesting level of an array of arrays.
Quickly create a single-level JSON object from nested JSON objects.
Quickly rewrite JSON strings, keys, and values using escape codes.
Quickly obfuscate a JSON data structure.
Quickly remove certain information from a JSON data structure.
Quickly display detailed information about a JSON data structure.
Quickly convert a JSON file to properties file.
Quickly convert a properties file to a JSON file.

Coming Soon

These JSON tools are on the way!
Find JSON Keys/Values

Find keys and/or values that interest you in a JSON file.

Convert JSON to a List

Create a text list from a JSON array or object.

Convert a List to JSON

Create a JSON array from a text list.

Convert JSON to Form Data

Generate HTTP form data from a JSON object.

Convert Form Data to JSON

Generate JSON object from HTTP form data.

Convert JSON to HTML

Create a HTML table from keys and values of a JSON object.

Convert JSON to CSON

Convert a JSON file to a CSON file.

Convert CSON to JSON

Convert a CSON file to a JSON file.

Convert JSON to TOML

Convert a JSON config to a TOML config.

Convert TOML to JSON

Convert a TOML file to a JSON file.

Convert JSON to Bencode

Convert a JSON data structure to Bencode encoding.

Convert Bencode to JSON

Convert Bencode data to JSON data.

Convert JSON to JSONL

Convert a JSON file to a JSONL file.

Convert JSONL to JSON

Convert a JSONL file to a JSON file.

Convert BSON to JSON

Convert binary JSON data structure (BSON) to JSON.

Convert JSON to UBJSON

Convert a JSON file to a universal binary JSON (UBJSON).

Convert UBJSON to JSON

Convert universal binary JSON (UBJSON) to regular JSON.

Convert JSON to Message Pack

Serialize JSON data to binary MessagePack format.

Convert Message Pack to JSON

Unserialize binary MessagePack to a JSON struct.

Convert JSON to Protobuf

Serialize JSON data to binary Protobuf format.

Convert Protobuf to JSON

Unserialize binary Protobuf to a JSON struct.

Convert JSON to a LaTeX Table

Generate a LaTeX table from a JSON object.

Convert JSON to INI

Convert a JSON data file to an INI configuration file.

Convert INI to JSON

Convert an INI configuration file to JSON data file.

Truncate JSON

Loop over JSON structure and truncate all values or keys.

Find JSON Depth

Find the nesting depth of a JSON data structure.

Convert JSON to a Data URI

Convert a JSON data structure to a data URL.

Convert JSON to a PHP Array

Create a PHP data structure from a JSON data structure.

Convert a PHP array to JSON

Create a JSON data structure from a PHP data structure.

Compare Two JSON Files

Diff JSON files and show differences visually.

Sort JSON Object Keys

Lexicographically sort the order of JSON object keys.

Swap JSON Keys with Values

Exchange keys with values in a JSON file.

Create a Random JSON Array

Create a JSON array with random values.

Create a Random JSON Object

Create a JSON object with random keys and values.

Randomize a JSON Array

Randomly change the positions of array elements.

Randomize a JSON Object

Randomly change the order of key, value pairs.

Add Spacing to JSON

Add random spaces and newlines in a JSON file.

Tokenize JSON

Tokenize a JSON data structure.

Remove JSON Syntax

Remove all JSON syntax and leave just the values.

Change JSON Syntax

Change curly braces, commas, and quotes to other symbols.

Fix Quotes in JSON

Fix incorrectly quoted (usually single quote) keys and values.

Use Single Quotes in JSON

Make all keys and values in a JSON to be single-quoted.

Use Double Quotes in JSON

Make all keys and values in a JSON to be double-quoted.

Generate FakeSON

Create JSON that looks real but is fake (FakeSON).

Run jq

Execute a jq query on a JSON data structure.

Filter JSON

Filter keys and values that match a pattern.

Split a String into a JSON Array

Create a JSON array from a string.

Group a JSON Array

Create groups of JSON array items.

Merge JSON Arrays

Merge two or more JSON arrays together.

Compare JSON Arrays

Find differences in two or more JSON arrays.

Merge JSON Objects

Merge two or more JSON objects together.

Damage JSON

Introduce errors in a JSON data structure.

Fix JSON

Try to fix a damaged JSON to the best of our ability.

Create JSON Art

Convert images to valid JSON strings that look like ASCII art.

Visualize a JSON Structure

Create an abstract visualization of JSON's complexity.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

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!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!