Escapes characters into the notation your language expects, and turns escape sequences back into readable text. Formats:
\uXXXXfor JavaScript, JSON and Java. Characters outside the Basic Multilingual Plane become a surrogate pair, e.g.๐โ๐.\u{1F600}for modern JavaScript, Rust and similar.\uXXXX/\U0001F600for Python and C.😀and😀HTML numeric references.\1F600for CSS.\xF0\x9F\x98\x80as raw UTF-8 bytes.
Only escape non-ASCII keeps ordinary printable ASCII readable and escapes everything else, which is usually what you want for source files. Unescape understands all of the formats above at once, plus \n, \t, \\ and quote escapes, so you can paste mixed input. Runs locally in your browser.