Unicode escape to text

Paste text from a translation file or API response where Arabic shows as \u06XX and read it.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter encoded text.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Each \uXXXX becomes a UTF-16 unit (surrogate pairs join into one character), and each \u{X}, \UXXXXXXXX and U+XXXX becomes the character with that code point. The rest of the text is kept.

Example

Result: Text: مرحبا 😀; Escapes converted: 7.

\u0645\u0631\u062D\u0628\u0627 \uD83D\uDE00
مرحبا 😀

Limits and caveats

  • Other escapes like \n or \x41 are left alone; use the JavaScript unescape tool for those.
  • A lone surrogate like \uD83D without its partner gives an invalid character.

Questions about this tool

Why does Arabic show as \u0627\u0644?

Some programs and APIs store non-Latin letters as Unicode escapes so they survive ASCII-only transport.

Does it read the U+0645 format?

Yes, and it drops the spaces between consecutive U+ codes so words come back joined.

Does hex letter case matter?

No. \u062d and \u062D give the same letter.