This tool converts escaped Java string literals back to their original plain text form. It decodes escape sequences like \", \\, \n, \t, and Unicode escapes (\uXXXX) back to their actual characters.
Java string unescaping is the process of converting escape sequences back to their original characters. When you copy a string from Java source code, it often contains escape sequences that need to be converted back to readable text.
| Escape Sequence | Result | Description |
|---|---|---|
| \" | " | Double quote |
| \' | ' | Single quote |
| \\ | \ | Backslash |
| \n | Newline | Line feed (LF) |
| \r | Carriage Return | Carriage return (CR) |
| \t | Tab | Horizontal tab |
| \b | Backspace | Backspace character |
| \f | Form Feed | Form feed character |
| \uXXXX | Unicode char | Unicode escape sequence |
Input: Hello \"World\"\\nHow are you?
Output: Hello "World"
How are you?