Online Java String Unescape Tool - Convert Escaped Java Text to Plain Text

Online Java String Unescape Tool

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.


Online Java String Unescape
 

The escaped Java string which will be converted to plain text


                        

What is Java String Unescaping?

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.

Supported Escape Sequences

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

How to use this tool?

  1. Enter or paste your escaped Java string in the input area above.
  2. Click the "Unescape Java String" button.
  3. The plain text output will be displayed.
  4. Use the Java Escape tool to escape text for Java.

Example

Input: Hello \"World\"\\nHow are you?

Output: Hello "World"
How are you?

Search Tutorials