What is this tool for?
This tool is used to escape special characters in a string, which is useful when you want to use the string in a programming language.
How to use this tool?
Enter the string you want to escape in the input area, and the escaped string will be displayed in the output area.
What characters will be escaped?
Name | Character | Escape Sequence |
---|---|---|
Backslash | \ | \\ |
Double quote | " | \" |
Newline | \n | |
Carriage return | \r | |
Tab | \t | |
Left curly brace | { | \{ |
Right curly brace | } | \} |