URL-Decode

JSON Escape/Unescape

Result

JSON Escape/Unescape is the process of escaping the offending characters in JSON string that could prevent the parsing or interpretation or unescape the JSON special characters to their original ones.

JSON Escape

Some characters are reserved in JSON and must be escaped before the JSON string is used.

The following characters are reserved in JSON and must be properly escaped before being used in the string. 

In JSON Escape,

  • Backspace is converted to b
  • Form feed is converted to f
  • A new line is converted to n
  • The carriage return is converted to r
  • The double quote is converted to."
  • The backslash is converted to 
  • The tab is converted to t

JSON Unescape

The JSON Unescape is the process of bringing the JSON special characters to their original ones.

The JSON string's following characters must be appropriately unescaped and bring them back to the original ones.

In JSON Unescape,

  • is converted to backspace.
  • f is converted to form feed.
  • n is converted to a new line.
  • is converted to carriage return.
  • is converted to a double quote.
  •  is converted to backslash.
  • is converted to a tab.

How Do You Use the Json Escape/Unescape Tool Online?

For this, do the following steps.

  • Open the JSON Escape/Unescape Online tool.
  • Enter the JSON code.
  • Click on the "Escape" button.
  • The tool replaces the reserved characters in JSON with their corresponding escaped characters.
  • The resulting code will be provided in the "Result" section.
  • Please copy the code and paste it into the desired location.
  • You can unescape the JSON escaped string by clicking the "Un Escape" button.

How can the JSON Escape/Unescape Online Tool use the Load Sample Data option?

Coding is crucial. A small mistake can sometimes have devastating results. It is always better to have a backup of the code file before proceeding with the escape/unescape process.

The load sample data option is quite helpful in this way. It allows you to check the results that minify can give. 

For that, 

  • Click on the "load sample data" button.
  • Sample data will be shown in the upper portion.
  • Click on the "Escape" button to escape the JSON string. The result will be displayed in the "Result" section.
  • Click on the "Un Escape" button to unescape the JSON string. The result will be displayed in the "Result" section.

Do we keep a copy of your source code?

Protecting user trust is our top priority. We do not keep a copy of the source code that the user input into the JSON Escape/Unescape process.