Decimal to Text Converter

Turn character codes like 72 101 108 108 111 back into the words they spell.

72 101 108 108 111 does not look like anything until you decode each number against the ASCII table: H-e-l-l-o.

Where you have already met these numbers

If you have ever typed © into HTML to get a copyright symbol, or held Alt and typed a number on Windows to get a special character, you have used decimal-to-text conversion without naming it that. Both rely on exactly the same idea: a number stands in for a specific character.

The mapping is not arbitrary. It comes from the ASCII standard, first published in 1963, which assigns every letter, digit and punctuation mark a number from 0 to 127. HTML numeric character references and old DOS code pages both built directly on top of it.

Decimal codes for common characters

CharacterDecimal code
Space32
048
957
A65
Z90
a97
z122
&38
<60
>62

Reading a whole sentence back

To decode a sequence, split it into individual numbers and look each one up on its own — the codes are not concatenated or combined, each number stands for exactly one character. 87 111 114 108 100 decodes to W-o-r-l-d by exactly the same rule the table above shows for individual letters.

Numbers past 127 are not covered by standard ASCII. They belong to extended character sets or Unicode, where the same numeric code can mean different things depending on which encoding is assumed — one of the more common sources of mis-decoded text.

Decimal to text questions

What does the number 72 stand for in text?

The capital letter H, according to the ASCII standard. Every printable character below 128 has one fixed decimal code like this, which is what makes decimal-to-text decoding exact and reversible.

Is this the same system as HTML entity codes like &#169;?

Yes, for characters in the ASCII range. HTML numeric character references use the same underlying code point numbers, just written with an ampersand, a hash sign and a semicolon around them.

How do I decode a sentence, not just one letter?

Split the numbers apart and decode each one individually against the ASCII table, in order. Each decimal number represents exactly one character, so 87 111 114 108 100 becomes World, one letter per number.

Why does 32 decode to a blank space rather than nothing?

Because a space is a real, defined ASCII character with its own code, not the absence of a character. Code 32 is specifically assigned to the space bar, which is why it decodes to a visible gap rather than an empty result.

Do codes above 127 still work the same way?

Not reliably. Codes 0 to 127 are standard ASCII and decode the same way everywhere. Above 127, the meaning of a number depends on which extended character set or Unicode encoding is assumed, so the same code can decode differently.

Cookie
We care about your data and would love to use cookies to improve your experience.