jsonecho

Java Unescape

Paste escaped Java text and get the original characters back.

Loading the tool...

How to use Java Unescape

  1. Paste the escaped text.
  2. Copy the readable result.

About Java Unescape

Strings copied from Java source, stack traces or properties files come full of \n, \" and \uXXXX sequences. Unescaping turns them into the real characters so you can read or reuse the text.

Octal escapes and unicode escapes are supported along with the usual short ones.

Frequently asked questions

Are \uXXXX escapes decoded?

Yes. Note that the Java compiler processes them before parsing, so in real source code a \u000a in a string is an actual line break. Here they simply turn into the character.

Does it handle octal escapes like \101?

Yes, octal escapes from \0 to \377 are converted.

Can I unescape a whole .properties file?

Yes. Properties files use the same escape sequences, so the text comes out readable.

More in Escape and Text

All tools →