Binary to Text
Decode binary back into readable text.
Turn escaped strings from code back into readable text.
Unescape Text resolves the escapes in a code or JSON string back into real characters — \n becomes a line break, \uXXXX becomes its character, surrogate pairs combine into emoji — with modes for SQL, shell and CSV as well, and detection for double-escaped text.
A JSON string copied out of a log is a wall of backslashes: every quote escaped, every newline written as \n, every non-ASCII character as \uXXXX. It is valid and it is unreadable, which is a problem when you are trying to see what actually went wrong.
This resolves the escapes back into real characters. JSON and JavaScript escapes including \n, \t, \r, \", \\ and \uXXXX are handled, with surrogate pairs combined so emoji come back whole. There are modes for SQL doubled quotes, shell escaping and CSV doubled quotes as well. Double-escaped text, where a backslash was itself escaped, is detected and can be unescaped twice — which is what you need when a value has passed through two systems that each escaped it.
\n, \t, \r, \", \\ and \uXXXX all resolved, with real line breaks restored as line breaks.
Two escapes encoding one emoji become that emoji rather than two broken symbols.
A \\n means a literal backslash, and the tool offers the second pass that a value escaped twice needs.
JSON and JavaScript, SQL doubled quotes, shell escaping and CSV, each by its own rules.
An unrecognised sequence is left as it is and reported, rather than discarding the rest of the string.
From a log, a JSON payload, a config file or source code.
JSON and JavaScript, SQL, shell or CSV — each unescapes by its own rules.
Escapes become real characters, with line breaks restored as line breaks.
Double-escaped text is detected and a second pass is offered.
Because it was escaped twice, usually by two systems that each did their own escaping. A \\n means a literal backslash followed by an n, and needs a second pass to become a line break.
Yes, including surrogate pairs, so two escapes that together encode an emoji are combined into the single character rather than left as two broken symbols.
Very little in practice. JavaScript additionally allows \x hex escapes, octal escapes in older code, and escaped line continuations, all of which this tool handles in JavaScript mode.
No. An unrecognised escape sequence is left exactly as it is and reported, rather than throwing away the rest of the string.
What people who use the Unescape Text think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Unescape Text. It takes half a minute and no account.
Write the first reviewDecode binary back into readable text.
Convert text into decimal character codes.
Read any text aloud using the voices on your device.
Convert text to lowercase, including accented and non-Latin letters.
Wrap every line with text before and after, in one pass.
Turn a word count into how long the text takes to read or say.
Draw random letters, with or without vowels and repeats.
Break text into chunks by delimiter, length, lines or words.