Free online JSON censoring tool. Just load your JSON in the input field and all sensitive data in it will automatically get censored. In the tool options, you can customize which values should be censored. You can censor keys and values in objects, values in arrays, and numbers in numeric data types. Also, you can specify the string to replace sensitive data with in the output JSON. Created for developers by developers from team Browserling.
Free online JSON censoring tool. Just load your JSON in the input field and all sensitive data in it will automatically get censored. In the tool options, you can customize which values should be censored. You can censor keys and values in objects, values in arrays, and numbers in numeric data types. Also, you can specify the string to replace sensitive data with in the output JSON. Created for developers by developers from team Browserling.
This tool makes it easy to remove or hide all unwanted words, strings, patterns, keys, and numbers from the given JSON data structure. It allows you to quickly censor confidential information, personal data, phone numbers, and other sensitive records. In the tool options, you can manage which parts of the JSON data structure should be censored. In particular, to censor data in JSON strings, activate the "Censor JSON Strings" checkbox and specify all the patterns that should be concealed in the multi-line option. Then, enter a new pattern to use in place of the hidden value. For example, you can replace the individual's name "Sam" with the asterisk symbol "*" or another placeholder of your choice, such as "[REDACTED]". If you are replacing a longer word with a single symbol or a shorter pattern, you can enable the "Mask Each Symbol" option, which will make the replacement the same length as the original value. If this option is on, then in the same example, the word "Sam" will be replaced with three asterisk symbols "***" (one for each letter). If the string that you want to replace is used in both as an independent word and as part of another word (for example, "Sam" can be an independent word or used in the word "Sample"), then you can activate the "Match Full Words Only" option to censor only independent word. To censor keys in JSON objects, activate the "Censor JSON Keys" checkbox. Then, in a similar way, enter the keys you want to replace and specify their replacements. Optionally, you can also configure the case sensitivity of the patterns. To censor numeric values in JSON, activate the "Censor JSON Numbers" option. This option only replaces numeric data types that are not surrounded by quotes. For example, you can censor age, price, or geographic coordinates. The numbers you want to censor can be specified in a vertical list in the multi-line option one by one (for example, "10", "-25", or "32.65"). To quickly censor multiple numbers in JSON, you can specify a range of values. For example, the range "1-100" will censor all numbers from 1 to 100, and the range "-50--5" will censor all numbers from -50 to -5. A new number or a string can be set in place of the censored number. For example, you can replace all numbers with just zero "0" or a string "[NUMERIC]". Finally, you can choose the format for outputting JSON with censored data. In particular, you can choose whether to use a prettified JSON format with indentation, select spaces or tabs for indentation, or output a minified JSON without indentation. Json-abulous!
This tool makes it easy to remove or hide all unwanted words, strings, patterns, keys, and numbers from the given JSON data structure. It allows you to quickly censor confidential information, personal data, phone numbers, and other sensitive records. In the tool options, you can manage which parts of the JSON data structure should be censored. In particular, to censor data in JSON strings, activate the "Censor JSON Strings" checkbox and specify all the patterns that should be concealed in the multi-line option. Then, enter a new pattern to use in place of the hidden value. For example, you can replace the individual's name "Sam" with the asterisk symbol "*" or another placeholder of your choice, such as "[REDACTED]". If you are replacing a longer word with a single symbol or a shorter pattern, you can enable the "Mask Each Symbol" option, which will make the replacement the same length as the original value. If this option is on, then in the same example, the word "Sam" will be replaced with three asterisk symbols "***" (one for each letter). If the string that you want to replace is used in both as an independent word and as part of another word (for example, "Sam" can be an independent word or used in the word "Sample"), then you can activate the "Match Full Words Only" option to censor only independent word. To censor keys in JSON objects, activate the "Censor JSON Keys" checkbox. Then, in a similar way, enter the keys you want to replace and specify their replacements. Optionally, you can also configure the case sensitivity of the patterns. To censor numeric values in JSON, activate the "Censor JSON Numbers" option. This option only replaces numeric data types that are not surrounded by quotes. For example, you can censor age, price, or geographic coordinates. The numbers you want to censor can be specified in a vertical list in the multi-line option one by one (for example, "10", "-25", or "32.65"). To quickly censor multiple numbers in JSON, you can specify a range of values. For example, the range "1-100" will censor all numbers from 1 to 100, and the range "-50--5" will censor all numbers from -50 to -5. A new number or a string can be set in place of the censored number. For example, you can replace all numbers with just zero "0" or a string "[NUMERIC]". Finally, you can choose the format for outputting JSON with censored data. In particular, you can choose whether to use a prettified JSON format with indentation, select spaces or tabs for indentation, or output a minified JSON without indentation. Json-abulous!
In this example, we hide the personal information of a person in a JSON record. The unwanted data resides in the string values of a JSON object, so we activate the "Censor JSON Strings" option and configure the masking options. We replace the first name, the last name, and the last four digits of the phone number with asterisks (*). The number of asterisks corresponds to the length of the hidden value. Additionally, we disable the case sensitivity option to simultaneously replace the first name and last name written in both uppercase and lowercase letters.
In this example, we protect a user's privacy by hiding sensitive data that contains their political views in both the JSON object's key and value. We do it by specifying the key "political_views" in the JSON-key censoring option and the value "liberal" in the JSON-value censoring option. We replace this data with the string "[OMITTED]", effectively masking the user's political views. Moreover, we preserve the input structure of the JSON by adding tab indentation to the output JSON.
In this example, we redact the balance and all transaction amounts from an exported financial document in JSON format. As the balance and transactions have numerical data types, to hide them, we activate the "Censor JSON Numbers" option. Then we specify the current balance in the options as "1201.50" and to hide all transactions, we specify a range of transaction amounts as "1-1000". As a result, all numerical data are replaced with the value "0", ensuring that financial information remains confidential.
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!