Decimal Char Code Converter

Convert text to space-separated decimal char code points

Ad placeholder (leaderboard)

Every character has a numeric Unicode code point. This converter lists those code points in decimal for any text, and turns a list of decimal numbers back into a string.

How it works

For encoding, the tool reads the string one code point at a time (so emoji and other astral characters stay whole) and prints each code point as a decimal number:

A   -> 65
z   -> 122
🚀  -> 128640

For decoding, the input is split on whitespace, each token is parsed as a decimal number, and String.fromCodePoint rebuilds the character. Values must be valid Unicode scalar values (0 to 1114111, excluding the surrogate block).

Example and notes

The word Hi becomes 72 105. These are code points, which equal byte values only for ASCII; for anything above U+007F the decimal number is the character’s Unicode scalar value, not a UTF-8 byte. That makes this tool ideal for building HTML numeric entities (🚀) or debugging which exact character a glyph maps to.

Ad placeholder (rectangle)