Free Online Utility • Unicode Studio • Grapheme-Aware Engine

Convert Unicode to Decimal

Convert Unicode characters into exact decimal (base-10) scalar code points or UTF-8 bytes with customizable formatting.

Reference & Unicode Spec Unicode 16.0
Code Point Mode: ch.codePointAt(0).toString(10)
UTF-8 Byte Mode: TextEncoder().encode(text) -> base-10 per byte
RadixBase 10 (Decimal)
Scalar RangeU+0000 .. U+10FFFF
ModesCode Points or UTF-8 Bytes
UNICODE TO DECIMAL (BASE-10)
Decimal Output

        
100% client-side Unicode Engine Instant

Session Calculation Log

No entries recorded in this session yet.

How Convert Unicode to Decimal Works

Convert Unicode to Decimal transforms any Unicode string — including accented letters, CJK ideographs, math symbols, and 4-byte emoji — into exact base-10 (decimal) representations of either scalar code points or UTF-8 bytes.

The Unicode Standard assigns unique scalar code points from U+0000 through U+10FFFF across 17 planes, encompassing over 150,000 characters spanning world scripts, mathematical operators, technical symbols, combining diacritics, and multi-codepoint emoji sequences. Every operation in this utility runs completely client-side inside your browser using native code-point and grapheme-cluster algorithms so surrogate pairs, ZWJ emoji, and combining marks stay intact with zero server latency.

Base-10 Scalar vs UTF-8 Projection

Scalar: cp = ch.codePointAt(0) -> cp.toString(10)
UTF-8:  bytes = TextEncoder().encode(str) -> byte.toString(10)

Using full Unicode code points preserves supplementary characters (U+10000–U+10FFFF) as single numeric values instead of splitting them into UTF-16 surrogate halves.

Worked Reference Examples

InputOutputTechnical Note
Hello 🌍72 101 108 108 111 32 127757Scalar base-10
A (U+0041)65ASCII code point 65
€ (U+20AC)8364Euro sign

Practical Developer & Internationalization Workflows

Decimal Protocol & Parser Fixtures

Generate exact base-10 Unicode code points or UTF-8 bytes for unit tests.

Unicode Character Inspection

Switch between scalar code points and UTF-8 wire bytes instantly.

Compatibility, Edge Cases & Best Practices

Surrogate-pair emoji such as 🌍 (U+1F30D) are always decoded into their true scalar code point rather than two broken UTF-16 code units.

Copy verified outputs directly to your clipboard or export them as UTF-8 text files ready for web apps, REST APIs, database migrations, typography tests, and localization pipelines.

Frequently Asked Questions

What is the difference between Code Points and UTF-8 Bytes in decimal?
Code Points outputs the abstract Unicode scalar number of each character (e.g. 🌍 = 127757), while UTF-8 Bytes outputs the 1–4 individual wire bytes used to store it.
Are 4-byte emojis handled accurately?
Yes — iterating via `codePointAt(0)` keeps every supplementary character (U+10000–U+10FFFF) intact.
Can I convert decimal back to Unicode?
Yes — use the companion Convert Decimal to Unicode tool in the same category.