Example input/output
Input: path: C:\Users\Ada
Output: path: C:\\Users\\Ada
How it works
This tool applies C# string escape sequences: backslash becomes \\, double quote becomes \", newline becomes \n, tab becomes \t, carriage return becomes \r, and null becomes \0. Processing runs in your browser.
Common use cases
- Escape special characters in strings before inserting them into C# source code
- Prepare user-supplied text for use in string literals
- Debug string encoding issues in C# applications