Free online JSON string hider. Just load your JSON in the input field and all strings in it (including object keys and values) will automatically get converted to JSON escape codes. In the tool options, you can choose between different escape formats, such as surrogate pairs (\uHHHH), raw hex bytes (\xHH), and Unicode code points (\u{HHHHH}). Additionally, you can minify the output JSON to make it even harder to read. Created for developers by developers from team Browserling.
Free online JSON string hider. Just load your JSON in the input field and all strings in it (including object keys and values) will automatically get converted to JSON escape codes. In the tool options, you can choose between different escape formats, such as surrogate pairs (\uHHHH), raw hex bytes (\xHH), and Unicode code points (\u{HHHHH}). Additionally, you can minify the output JSON to make it even harder to read. Created for developers by developers from team Browserling.
This tool hides (obfuscates) the contents of a JSON data structure by rewriting strings in it to JavaScript escape sequences. This process is also called obfuscation and it involves finding all strings in the given data and converting them into encoded strings, character by character. The available encoding formats include UTF8 surrogate pair encoding (works in JSON and JavaScript), hexadecimal encoding (works only in JavaScript), and Unicode code point encoding (works only in JavaScript). This conversion makes it difficult for humans to read JSON strings directly, thus hiding sensitive data from being easily snoopable while still keeping the JSON syntax valid and parsable. By default, the program replaces strings with escape sequences in array elements and object values, but in the options, you can enable the "Hide Object Keys" to also replace object keys. In the options, you can also choose between different encoding methods, such as "Use Surrogate Pairs" (format: \uHHHH or \uHHHH\uHHHH), "Use Hex Bytes" (format: \xHH), or "Use Code Points" (format: \u{HHHHH}). The hex byte format works with simple ASCII strings, while surrogate pair and code point formats work with Unicode data and emojis. Additionally, you can specify whether to print hexadecimal characters in escape codes in uppercase or lowercase. For the output formatting, you can change the JSON data structure indentation settings, which include using spaces or tabs, and also define the number of spaces per indent level. You can also make the output completely unreadable by minimizing the JSON output. In this case, a compact JSON version is created without extra whitespaces, thus making the JSON strings harder to decipher. Json-abulous!
This tool hides (obfuscates) the contents of a JSON data structure by rewriting strings in it to JavaScript escape sequences. This process is also called obfuscation and it involves finding all strings in the given data and converting them into encoded strings, character by character. The available encoding formats include UTF8 surrogate pair encoding (works in JSON and JavaScript), hexadecimal encoding (works only in JavaScript), and Unicode code point encoding (works only in JavaScript). This conversion makes it difficult for humans to read JSON strings directly, thus hiding sensitive data from being easily snoopable while still keeping the JSON syntax valid and parsable. By default, the program replaces strings with escape sequences in array elements and object values, but in the options, you can enable the "Hide Object Keys" to also replace object keys. In the options, you can also choose between different encoding methods, such as "Use Surrogate Pairs" (format: \uHHHH or \uHHHH\uHHHH), "Use Hex Bytes" (format: \xHH), or "Use Code Points" (format: \u{HHHHH}). The hex byte format works with simple ASCII strings, while surrogate pair and code point formats work with Unicode data and emojis. Additionally, you can specify whether to print hexadecimal characters in escape codes in uppercase or lowercase. For the output formatting, you can change the JSON data structure indentation settings, which include using spaces or tabs, and also define the number of spaces per indent level. You can also make the output completely unreadable by minimizing the JSON output. In this case, a compact JSON version is created without extra whitespaces, thus making the JSON strings harder to decipher. Json-abulous!
In this example, we hide the names of Canadian provinces in a JSON array that are represented as strings. We use the UTF8 surrogate pair encoding, where each character of the string is represented either as a Unicode code point (if it's in the Basic Multilingual Plane (BMP) with code point values from U+0000 to U+FFFF) or with a surrogate pair (if it's outside the BMP). As a result, the province data is presented in an encrypted format, making the JSON strings less readable to humans (but perfectly parsable to JavaScript interpreters).
This example changes the encoding of values in an object containing information about a pet. The tool uses the hexadecimal encoding to convert each letter in each string into a hex code. It prints the hex bytes in lowercase in the "\xhh" format. The hexadecimal byte encoding only works in JavaScript, so to decode the strings, simply run the array through a JavaScript interpreter or enter it in the developer tools console. As the "Hide Object Keys" option is turned off, the object keys remain unchanged. The numeric values of objects also remain unencoded as there are no escape codes for numbers.
In this example, we obscure all strings in a larger JSON object containing arrays. We turn on the "Hide Object Keys" option to also encode object keys and choose the Unicode code point encoding format "\u{HHHHH}" (please note that this encoding format works only in JavaScript). Additionally, to further complicate the decryption of JSON, we minify the output JSON and eliminate all spaces.
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!