onlinejsontools logo

Json unstringifier

World's simplest json tool

Free online JSON unstringifier. Just load your JSON value in the input form and it will automatically get unstringified. There are no ads, popups or nonsense, just an awesome JSON parser. Load a JSON string – get a parsed JSON data structure. Created for developers by developers from team Browserling.
sneak preview sssshhhhh!
We just started working on a new site – Online GIF Tools – utilities for working with GIFs. Check it out!
Json unstringifier tool What is a json unstringifier?
This tool transforms the input JSON string to a valid JavaScript value or expression. It uses your browser's parse method, which parses a string according to JSON grammar (syntax) rules. If the string doesn't have syntax errors, it creates a simple JavaScript value or a more complex object from the string. This function is the inverse of the stringify method and the parsing process is often called unstringification. To avoid parse errors, the input text has to wrapped in double quotation marks and the control characters must be written as the special JSON escape symbols. For example, tabs and newlines can't be literal tabs but must be written as and .
Json unstringifier examples Click to use
Roman Proverb
This example unescapes a previously JSON-stringified Roman proverb. It turns escape symbols back to control characters (\t to a tab and \n to a newline), removes backslashes before quotation marks and drops the surrounding quotes.
"\"It is better to live\none day as a lion, than\na thousand days as a lamb.\"\n\tRoman proverb."
"It is better to live one day as a lion, than a thousand days as a lamb." Roman proverb.
Parse JS Code
In this example, we transform the input JSON data to a valid JavaScript object. We expand tabs and newlines, unquote other special symbols, and output well-formatted JavaScript.
"var employees = [\n\t{\n\t\t\"firstName\" : \"John\",\n\t\t\"lastName\" : \"Frank\"\n\t},\n\t{\n\t\t\"firstName\" : \"Anna\",\n\t\t\"lastName\" : \"Smith\"\n\t},\n\t{\n\t\t\"firstName\" : \"Billy\",\n\t\t\"lastName\" : \"Jones\"\n\t}\n];"
var employees = [ { "firstName" : "John", "lastName" : "Frank" }, { "firstName" : "Anna", "lastName" : "Smith" }, { "firstName" : "Billy", "lastName" : "Jones" } ]
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://onlinejsontools.com/unstringify-json?input=%22%5C%22It%20is%20better%20to%20live%5Cnone%20day%20as%20a%20lion%2C%20than%5Cna%20thousand%20days%20as%20a%20lamb.%5C%22%5Cn%5CtRoman%20proverb.%22
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 file.
Quickly convert 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 document to a CSV document.
Quickly convert a CSV document to a JSON document.
Quickly convert JSON to a PNG, GIF, JPG or BMP image.
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.
Coming soon These json tools are on the way
Display JSON Statistics
Display detailed information about a JSON data structure.
Flatten JSON
Extract all values or keys from a JSON object as a flat list.
Extract JSON Keys
Extract all keys from all key-value JSON pairs.
Extract JSON Values
Extract all values from all key-value JSON pairs.
Obfuscate JSON
Obfuscate a JSON data structure.
Convert JSON to a HTML
Create a HTML table from keys and values of a JSON object.
Convert JSON to Properties
Convert a JSON file to properties file.
Convert Properties to JSON
Convert properties data to JSON data.
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 BSON
Convert a JSON data structure to binary BSON data.
Convert BSON to JSON
Convert binary JSON data structure (BSON) to JSON.
Convert JSON to Message Pack
Serialize JSON data to binary MessagePack format.
Convert Message Pack to JSON
Unserialize binary MessagePack to 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.
Visualize a JSON Structure
Create an abstract visualization of JSON's complexity.