← All tools

Unicode, Backslash & JSON Escape Converter

Escape or unescape string text with Unicode, C-style backslashes, or JSON string syntax.

text-escape-converterLOCAL WORKSPACE

Enabling local controls…

Writes UTF-16 \uXXXX escapes for non-ASCII and literal backslashes. Unescape also accepts \u{…} code points.

Result

Enter text and choose Escape or Unescape.

How to use this tool

Choose the receiving string syntax, then Escape or Unescape. For JSON, match whether the destination expects the surrounding quotes.

When not to use it

Treat the result as text. A valid escape sequence does not validate code, markup or a complete JSON document.