Encode & secure

Unicode Escape

Convert text to \uXXXX escapes and back.

Runs locally Free No signup

A working example is preloaded — edit it or clear it.

Unicode converterUnicode

What this tool does

Logs, JSON strings and source code often contain escaped Unicode. This converter turns accents, emoji and control characters into \uXXXX sequences and decodes them back, including surrogate pairs and code-point syntax.

How to use it

  1. Choose escape or unescape.
  2. Pick non-ASCII only or every character.
  3. Copy the result or swap it back.

Questions

How are emoji handled?

Character pairs outside the BMP are written as two UTF-16 surrogate escapes in minimal mode, so the output is valid JavaScript.

What is the difference between the scopes?

Non-ASCII escapes only characters outside the printable ASCII range; all escapes every character, including spaces and letters.

Which escape syntax can it decode?

\uXXXX, \u{XXXXX}, \xXX and the common \n, \r, \t, \\ sequences.

← Back to all tools
Type to filter, ↑↓ to move, ↵ to open, esc to close.esc