TOP

Free browser converter

Decimal to Unicode Converter

Convert decimal code points or UTF-8 bytes to Unicode text in your browser with explicit ASCII, Unicode code point, and UTF-8 byte handling.

No signupFree online conversion

Interactive tool

Convert decimal code points or UTF-8 bytes to Unicode text

Ready

Mode and output format

Choose the exact representation you need; the tool does not guess an encoding.

Detailed conversion guide

How Decimal to Unicode Conversion Works

Decimal code point mode maps each base-10 scalar directly to a character. Decimal 20320 is U+4F60 (你), and 128512 is U+1F600 (😀). Values may be separated by spaces, commas, semicolons, or lines.

UTF-8 decimal byte mode decodes values from 0 through 255 as one encoded byte sequence. The bytes 228 189 160 become 你; the single scalar 20320 represents the same character at a different layer.

InputOutputMeaning
65Acode point
233écode point
20320code point
228 189 160UTF-8 bytes

Decimal to Unicode in JavaScript and Python

Validate Unicode scalars before String.fromCodePoint or chr. For UTF-8 bytes, validate 0-255 and decode Uint8Array or bytes as one sequence.

// validate first, then convert
const value = Number.parseInt(token, radix);
if (!Number.isInteger(value)) throw new Error("Invalid input");

Unicode Scalars vs Decimal UTF-8 Bytes

A scalar must be 0 through 1,114,111 and cannot fall in the surrogate interval 55,296 through 57,343. Those values are rejected.

A UTF-8 byte is only 0 through 255. Malformed sequences produce a visible warning, so corrupted bytes are not presented as verified text.

Related converters

Choose the converter for the direction and representation you need.

Advertisement

Sponsored link