Loading tool…
Convert non-ASCII text to \uXXXX escape sequences (the kind used in JSON and most programming languages), or decode escapes back to characters.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
A Unicode escape represents a character by its code point in a source-safe form, e.g. \u00e9 for é. Many languages and JSON use this so files can stay pure ASCII while still carrying any character.
Encoding replaces every character outside the printable ASCII range with \uXXXX. Decoding converts \uXXXX (and \xXX) sequences back to their characters.
JSON strings, JavaScript/Java/Python source, config files, and log output that has been ASCII-escaped for safe transport.
\uXXXX escapes, which is exactly how JSON represents them.\uXXXX and two-digit \xXX escapes.