Unicode Decoder

Convert Unicode code points back to readable text. Supports \u escapes, U+ notation, HTML decimal/hex entities, and decimal code points with auto-detection.

About Unicode Decoder

Overview

The Unicode Decoder converts Unicode code points back into readable text. It supports five common formats: JavaScript-style backslash-u escapes, U+ notation, HTML decimal entities, HTML hex entities, and plain decimal code points. The decoder auto-detects the format by default, and can handle mixed notations in a single input. It correctly reconstructs emoji and astral characters from surrogate pairs.

Features

  • Auto-detection of five input formats: \u escapes, U+ notation, HTML decimal, HTML hex, and decimal code points.
  • Correct reconstruction of emoji and astral characters from surrogate pairs.
  • Supports files up to 100MB via upload or drag and drop.
  • Live mode for real-time decoding while you type.
  • One-click copy to clipboard.
  • Download the result as a text file.
  • All processing happens in your browser, keeping your data private.
  • Includes dark mode for comfortable use.
  • Responsive layout that works on mobile devices.

How to Use

  1. Paste Unicode escapes, U+ codes, HTML entities, or decimal code points into the input box.
  2. Leave the format set to Auto-detect, or pick the specific format if you know it.
  3. Turn on live mode for instant decoding as you type, or turn it off and click Decode.
  4. Use the Copy button to copy the result, or Download to save it as a file.

FAQ

What formats can the decoder handle?

The decoder handles five formats: JavaScript \u escapes (\u4E16), U+ notation (U+4E16), HTML decimal entities (世), HTML hex entities (世), and plain decimal code points (19990). Select Auto-detect and it identifies the right one for you.

How are emoji and astral characters decoded?

For backslash-u input, the decoder detects high and low surrogate pairs and combines them into the correct character. For U+ and HTML formats, it reads the full code point directly and uses String.fromCodePoint() to produce the character.

Why does decimal mode need to be selected explicitly?

Plain decimal numbers are ambiguous — a sequence of digits could be text, IDs, or code points. Auto-detect cannot reliably distinguish them, so you need to choose the Decimal format explicitly when your input consists of space or comma-separated integers.

Is my text sent to a server?

No. All decoding happens in your browser, so your text never leaves your device. You can use this tool on sensitive content with confidence.