Loona Automation logoLoona Developer Tools
Home › Encoders & Decoders

Unicode Escape Decoder

In short: turn \uXXXX, \u{1F600}, \xXX and the common \n / \t escapes back into real text — handy for cleaning strings copied out of JSON, Java or JavaScript code.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

caf\u00e9 \u2615 \uD83D\uDE00

Output:

café ☕ 😀

About this converter

Text copied out of code arrives full of escapes: JSON dumps from Java services, localization files, log output. This decoder reverses the standard forms — \uXXXX including surrogate pairs (which recombine into emoji automatically), the ES6 \u{...} code-point form, \xXX byte escapes, and the control escapes \n, \t, \r and \\. It deliberately does not invent characters for malformed escapes: a stray \u12 in the input stays visible in the output, because silently dropping characters makes broken source data harder to find, not easier.

Frequently Asked Questions

The output still shows some \u sequences — why?

Those were malformed (not four hex digits) or escaped twice in the source (\\u0041). Decode the double-escaped ones by first undoing the doubled backslash.

Can it decode a whole JSON file?

It handles JSON string contents well, but a full JSON document is better validated by the JSON Formatter — this page is for the string values inside it.

What is \u{1F600}?

The ECMAScript code-point escape form, used when a character exceeds four hex digits: \u{1F600} is 😀 without needing a surrogate pair.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.