Java & .Net Escape or Unescape online helps you to escapes the characters in a string as per java and .net string rules. Below characters should be properly escaped for compiling the java source code.
For example;
- Newline should be replaced with \n
- Tab should be replaced with \t
- Carriage return should be replaced with \r
- Form feed should be replaced with \f
- Double quote should be replaced with \"
- Backslash should be replaced with \\
- Backspace should be replaced with \b