C# Escape Unescape
Escape or unescape C# string literal special characters.
When to use this tool
Helps when embedding strings in C# source code that contain quotes, backslashes, or control characters that need proper escaping. Also useful for decoding escaped C# strings from configuration files, serialized data, or debug output.
How to use
Input the text you want to escape or unescape. Use "Escape" mode to produce a C#-compatible escaped string literal, or "Unescape" mode to convert C# escape sequences back into readable characters.