ToolNest

Unicode Converter

Text ↔ \uXXXX escapesRuns locally · nothing uploaded

Input
Output
Also works as:unicode encodeunicode decodeunicode escapecode point

How to use

  1. 1Choose encode or decode.
  2. 2Pick an output format when encoding.
  3. 3Copy the result.

FAQ

Why does an emoji become two \u escapes?

Characters outside the BMP need a UTF-16 surrogate pair in JavaScript/JSON: 😀 = \ud83d\ude00.

Can it decode mixed formats?

Yes, \u, &#x and U+ forms can be mixed.