JavaScript Escaper
Escape and unescape strings for JavaScript literals.
⌘L resetClick output to select all
28 chars
28 characters · 1 words · 28 bytes (UTF-8)
⌘L clear
Output
Output will appear here
Click in the output to select all text
Related tools
Featured
Base64 Encoder / Decoder
Encode or decode Base64 strings instantly with size metrics.
Base64Encode
Popular
URL Encoder / Decoder
Encode or decode URL components and query parameters.
URLEncode
Popular
HTML Entity Encoder / Decoder
Convert special characters to and from named/numeric HTML entities.
HTMLEntities
Popular
Case Converter
Convert text between upper, lower, title, camel, snake, kebab, pascal, constant, and dot cases.
CaseCamel Case
Text Reversal
Reverse characters in any string or multi-line text block.
ReverseText
Reverse Words
Reverse individual words in place while preserving sentence structure.
Reverse wordsWord order
Reverse Lines
Reverse the order of lines in a list or document.
Reverse linesInvert lines
Remove Duplicate Lines
Remove duplicate lines from text while preserving or sorting order.
DuplicateUnique