Use C# Escape / Unescape
Escapes the contents of a regular double-quoted string literal without its surrounding quotes. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.
Behavior and limits
Escapes the contents of a regular double-quoted string literal without its surrounding quotes. Unescape accepts those contents, not a whole source file. Uses language-specific escape rules; template literals, raw strings and C# verbatim strings are not supported.
Example input
Hello "Ada"
你好 👋
Expected behavior for the example
Escapes the quotes, line break and Unicode characters as string contents; unescape returns the original text.
Check important output in the application that will consume it. Use the tool directory to find related formats and tasks.
Frequently asked questions
How does C# Escape / Unescape handle my input?
Escapes the contents of a regular double-quoted string literal without its surrounding quotes. Unescape accepts those contents, not a whole source file. Uses language-specific escape rules; template literals, raw strings and C# verbatim strings are not supported.
Is my input uploaded or saved automatically?
Processing runs locally in this browser. Input and results are not saved automatically. Downloads happen only when you choose them. The static preview blocks scripts and external resources when one is available.