jsonecho

.NET (C#) Unescape

Paste escaped .NET (C#) text and get the original characters back.

Loading the tool...

How to use .NET (C#) Unescape

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

About .NET (C#) Unescape

You have a string literal from a .cs file, a log or a decompiled assembly, and you want the real text. Unescaping converts \n, \t, \", \uXXXX and \xHH back to their characters. With the verbatim option it converts doubled quotes instead.

Four-digit and eight-digit unicode escapes are handled, so emoji and other characters outside the BMP work.

Frequently asked questions

Does it understand \x escapes?

Yes, \x followed by one to four hex digits, along with \u and \U unicode escapes.

How do I unescape a verbatim string?

Tick the verbatim option. Then only doubled quotes are collapsed to single quotes.

Can I paste a string with the leading @?

Remove the @ and the outer quotes before you paste.

More in Escape and Text

All tools →