JSON Escape Unescape – Use our JSON Escape / Unescape online tool to escape or unescape JSON strings and special characters such as backspace, new line, backslash, double quote, tab and carriage return.
JSON string escape/unescape uses following rules to convert special characters in JSON file or code.
- Backspace is replaced with \b
- Form feed is replaced with \f
- Newline is replaced with \n
- Carriage return is replaced with \r
- Tab is replaced with \t
- Double quote is replaced with \”
- Backslash is replaced with \\
JSON Escape / Unescape Online Tool
Escaped / Unescaped JSON:
Escape / Unescape Online Tools
How to Escape or Unescape JSON using JSON Escape / Unescape Online Tool
Step 1: Paste JSON code or drag JSON file.
Step 2: Click on Escape button to Escape JSON Special characters.
Escape JSON special characters by converting them to the following escaped characters so that JSON string safe to use.
backspace is converted to
form feed is converted to
new line is converted to
carriage return is converted to
tab is converted to
double quote is converted to
backslash is converted to
Step 3: Click on Unescape button to unescape JSON code.
Unescape JSON special characters by converting them back to the following unescaped characters.
\b is converted to
\f is converted to
\n is converted to
\r is converted to
\t is converted to
\" is converted to
\\ is converted to
Step 4: Copy the escaped or unescaped JSON string result. You can also use clear button to start afresh.
JSON Special Characters
The following table shows the list of JSON Special Characters for using in JSON strings.