Escape special characters in JavaScript strings or convert escaped text back to its original form. Quickly handle quotes, backslashes, line breaks, tabs and Unicode characters.
Select whether you want to escape text or decode an escaped JavaScript string.
Your converted text appears below. You can edit the result or copy and download it.
Try these examples to understand how JavaScript escaping works.