C# String Unescape
Turn a C# string literal back into text. Accepts @"verbatim" with doubled quotes and a regular "escaped" literal.
What unescaping a C# string does
Both literal forms are accepted. In a verbatim literal the surrounding @" and the closing quote are removed and every doubled quote becomes one; nothing else is interpreted, so a backslash stays a backslash. In a regular literal the escape rules are the same set Java uses, so the text is decoded the same way. Text that is neither form is refused with a message rather than having its quotes guessed at.
How to use it
C# String Unescape: paste the C# string literal into the box above, and press Run to get the text below.
Worked example
Input:
@"C:\logs\app.exe"
Output:
C:\logs\app.exe
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads C# string literal and returns text; reloading the page discards both.
Both literal forms are accepted. In a verbatim literal the surrounding @" and the closing quote are removed and every doubled quote becomes one; nothing else is interpreted, so a backslash stays a backslash. In a regular literal the escape rules are the same set Java uses, so the text is decoded the same way. Text that is neither form is refused with a message rather than having its quotes guessed at.
Turn a C# string literal back into text. Accepts @"verbatim" with doubled quotes and a regular "escaped" literal.
How to use it
C# String Unescape: paste the C# string literal into the box above, and press Run to get the text below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads C# string literal and returns text; reloading the page discards both.
What to Expect
Best for
- Converting C# string literal to text when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
@"C:\logs\app.exe"
Sample output
C:\logs\app.exe
Frequently asked questions
How do I use the c# string unescape?
C# String Unescape: paste the C# string literal into the box above, and press Run to get the text below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.