String Escape / Unescape
Escape special characters like newlines, tabs, quotes, and backslashes into escape sequences—or reverse it. Handy for embedding text in code. Everything runs in your browser.
FAQ
Is my text sent to a server?
No. Everything runs entirely in your browser and no text leaves your device.
Which characters are escaped?
Newline (\n), tab (\t), carriage return (\r), double quote (\"), backslash (\\), and other characters that break code strings.
Does it decode Unicode escapes?
Yes. In unescape mode, sequences like \u0041 or \x41 are turned back into actual characters.
Related tools
Format JSON for readability or minify it to a single line. Syntax errors are shown instantly.
Encode text to Base64 or decode Base64 back to text, with full Unicode support.
Percent-encode Korean and special characters for URLs, or decode them back.
Pick Linux file permissions with checkboxes to get the octal (755) and symbolic (rwxr-xr-x) forms, or set them from an octal value. Everything runs in your browser.
Parse a cron expression field by field and compute the next 5 run times.
Compare two texts line by line and highlight added and removed lines.