Unescape Tool
Convert escape sequences back to their actual characters
About the String Unescape Tool
This tool unescapes a string, turning sequences such as \n, \t, \" and \u0041 back into real line breaks, tabs, quotes and characters. It is how you make a log line or JSON string value readable.
Unescaping a string reverses the backslash sequences that let special characters live inside a quoted value. Inside a JSON string a line break has to be written as \n, so a multi-line message arrives as one line with visible \n markers in it.
That is the everyday case: a stack trace or log message pulled out of a JSON field is unreadable until the escapes are turned back into real line breaks. The same applies to a message stored in a config value or a database column.
Unicode escapes are handled as well. \u0041 becomes A and \u00e9 becomes é, which matters when a system has escaped non-ASCII characters for transport and left them that way. Everything runs in your browser, so log data is not uploaded.
How to use the String Unescape Tool
- Paste the escaped string. Enter the value containing backslash sequences.
- Unescape it. Sequences are converted to the characters they represent.
- Read the output. Line breaks and tabs now appear as real whitespace.
- Copy the result. Take the readable text.
String Unescape Tool features
- Converts \n, \r, \t and \\ sequences
- Handles escaped quotes
- Decodes \u Unicode escapes
- Makes JSON string values readable
- Instant results as you type
- Runs entirely in your browser
Frequently asked questions
What does unescaping actually do?
It converts backslash sequences into the characters they represent, so \n becomes a real line break and \t a tab.
Why is my log message full of \n?
It was stored inside a JSON string, where line breaks must be escaped. Unescaping restores the real breaks.
Are Unicode escapes handled?
Yes. \u0041 becomes A and \u00e9 becomes é.
What is the difference from HTML decoding?
This handles backslash escapes used in JSON and code. HTML decoding handles ampersand entities used in markup.
Is my input uploaded?
No. Unescaping happens entirely in your browser.