Skip to content
UniKit

Radix to text decoder

Decode numbers in any radix from 2 to 36 (hexadecimal by default) back into text, treating each number either as a Unicode code point (4F60 → 你) or as a UTF-8 byte (E4 BD A0 → 你). Accepts 0x / U+ prefixes and reports invalid digits or invalid UTF-8 explicitly, all locally.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Radix numbers

Decoded text

Code point mode accepts U+0000–U+10FFFF; byte mode decodes strictly as UTF-8. The result depends only on the input and options.

Enter radix numbers to see the decoded text

What this tool does

  • Turn a list of Unicode code points from a spec or API doc (4F60 597D) back into readable text
  • Decode hexadecimal UTF-8 byte strings from captures, logs or databases into Chinese text
  • Convert binary, octal, decimal or base-36 integer encodings to text to check for typos

Example

Input

4F60 597D

Output

你好

Hexadecimal code point mode is the default: 4F60 is 你 and 597D is 好. In UTF-8 byte mode the same two characters are E4 BD A0 E5 A5 BD.

Frequently asked questions

What is the difference between code point and byte mode?

In code point mode every number is one Unicode code point (U+0000–U+10FFFF), so 4F60 → 你 and a Chinese character needs a single number. In byte mode every number is one UTF-8 byte, so 你 needs three (E4 BD A0); decoding then follows UTF-8 strictly and invalid byte sequences raise an error.

Which radices and spellings are supported?

Radix 2 to 36. Numbers can be separated by spaces, newlines, tabs, commas, semicolons or pipes, and each may carry a 0x, U+ or \u prefix. Letters are case-insensitive, but every digit must be smaller than the radix value — a G in hexadecimal is an error, never silently dropped.

Why does it report a value out of range?

Code point mode rejects values above U+10FFFF and anything in the surrogate range U+D800–U+DFFF, which cannot stand for a character on its own. Byte mode rejects values above 255. Out-of-range input yields an explicit error instead of garbled output.

Is anything uploaded?

No. Parsing and decoding happen in the browser with a hand-written parser; no network request is made and no local file is read.

Keywords:binary to texttxt-restore

Related tools