Text to unescape

Unescaped text

Why unescape JSON text?

Unescaping JSON is useful when you have JSON-escaped text that you want to convert back to its original form with proper special characters. This is often needed when working with data from APIs, configuration files, or when debugging JSON strings.

Examples of JSON unescaping

Escaped text

This is a \"JSON string\" with special characters:\nBackslash: \\\nNewline: \n\nTab:\t\nQuotes: \"Hello\" and 'World'\nControl chars: \b\f\n\r\t\nUnicode: \ud83d\ude00 \u00f1 \u20ac \u4f60\u597d

Unescaped text

This is a "JSON string" with special characters:
Backslash: \
Newline: 

Tab:	
Quotes: "Hello" and 'World'
Control chars: 

	
Unicode: 😀 ñ € 你好

Common JSON escape sequences that get unescaped

Escape SequenceCharacterDescription
\""Double quote
\\\Backslash
\//Forward slash
\b[backspace]Backspace character
\f[form feed]Form feed character
\n[newline]Line feed character
\r[carriage return]Carriage return character
\t[tab]Tab character
\uXXXX[unicode character]Unicode character (where XXXX is the hex code)

When to use JSON unescaping

  • When processing JSON strings that have been escaped for storage or transmission
  • When extracting readable text from JSON data
  • When debugging JSON strings to see the actual content
  • When converting JSON-escaped text back to its original form for display or editing
  • When working with APIs that return escaped JSON strings

This tool uses JavaScript's built-in JSON.parse() function to properly unescape text according to the JSON specification. Note that the input must be a valid JSON-escaped string for the unescaping to work correctly.

Other tools

Other tools available on this website: