← Return to tool list

String escape tool

Escape and unescape strings

Input

Output

Common escape characters

characters JavaScript HTML URL Description
Line feed \n <br> %0A newline character
Tab \t &#9; %09 tab character
" \" &quot; %22 double quotes
' \' &#39; %27 single quote
\ \\ \ %5C backslash