Decimal to ASCII (Text) Converter

72
72
H
105
105
i

text

Show the working for text → decimal

This converter works on code values, one at a time, from the table. Codes are not capped, so values above 127 are accepted. For whole text rather than single codes, use Binary to Text; for codes capped to 0 to 127, use ASCII to Text.

Going the other way? Convert text back to decimal

How do you convert decimal to ASCII?

Decimal to text conversion reads each value as a code between 0 and 127 and looks up the character that the ASCII table gives for it.

  1. Read the first value. This example uses 72.
  2. Convert it to a decimal code if it is not one already: 72.
  3. Look that code up in the table. 72 is H.
  4. Repeat for every value and join the results: 72 105 = Hi.

Decimal to Text Conversion Table

The codes this page works through, each with the character it stands for and the same value in hex, octal and binary. Find the code in the first column and read across; the row is the whole conversion. Codes 0 to 31 and 127 have no glyph, so the Char column shows their short name instead. This page shows the rows you need; ASCII code chart (decimal, hex, octal, binary) carries all 128.

Decimal to Text Conversion Table
DecCharHexOctBin
33!2104100100001
4803006000110000
5793907100111001
65A4110101000001
72H4811001001000
90Z5A13201011010
97a6114101100001
100d6414401100100
105i6915101101001
110n6E15601101110
115s7316301110011
122z7A17201111010

The base this page writes, defined by the digits it uses, how a value is marked, and what each position is worth.

Base reference
BaseRadixDigits PrefixPlace worthTypical range
Decimal100–9 none10ⁿany; decimal pages treat 0–255 as the byte range

Worked Example: 72 105 to Text

One code value, taken from the table and written out in full. This is the same working the converter shows when you turn on "show steps".

72
72
H
105
105
i

text

Result: 72 105 = Hi

Start with the code itself: 72. The table gives one row per code from 0 to 127, and that row is the whole answer — there is no arithmetic to get wrong, only a row to find. Reading the row across gives the same value in every base the table carries.

The row gives H directly. Nothing is padded and nothing is rounded, so a code either has a row or it is out of range — and the converter says which. That is the difference between a lookup and a calculation, and it is why the answer here can be checked by eye against the table above.

Check it in reverse

The value looks the same read backwards. H maps to code 72, and code 72 maps to 72 — the table is a two-way lookup, not a calculation, so no rounding or padding can change the answer. To verify the result by hand, convert the characters back to decimal codes and compare it with the code you started from.

Worked examples: decimal to text

Each example gives the value first, then the working. Click a value to load it in the converter.

What is 65 in text?

Decimal 65 is A in text.

Method: look code 65 up in the 0–127 table; the row gives A.

Load this value in the converter

What is 97 in text?

Decimal 97 is a in text.

Method: look code 97 up in the 0–127 table; the row gives a.

Load this value in the converter

What is 72 in text?

Decimal 72 is H in text.

Method: look code 72 up in the 0–127 table; the row gives H.

Load this value in the converter

What is 48 in text?

Decimal 48 is 0 in text.

Method: look code 48 up in the 0–127 table; the row gives 0.

Load this value in the converter

What is 33 in text?

Decimal 33 is ! in text.

Method: look code 33 up in the 0–127 table; the row gives !.

Load this value in the converter

What is 90 in text?

Decimal 90 is Z in text.

Method: look code 90 up in the 0–127 table; the row gives Z.

Load this value in the converter

What is 122 in text?

Decimal 122 is z in text.

Method: look code 122 up in the 0–127 table; the row gives z.

Load this value in the converter

What is 57 in text?

Decimal 57 is 9 in text.

Method: look code 57 up in the 0–127 table; the row gives 9.

Load this value in the converter

What is 100 in text?

Decimal 100 is d in text.

Method: look code 100 up in the 0–127 table; the row gives d.

Load this value in the converter

What is 110 in text?

Decimal 110 is n in text.

Method: look code 110 up in the 0–127 table; the row gives n.

Load this value in the converter

What is 115 in text?

Decimal 115 is s in text.

Method: look code 115 up in the 0–127 table; the row gives s.

Load this value in the converter

What is 105 in text?

Decimal 105 is i in text.

Method: look code 105 up in the 0–127 table; the row gives i.

Load this value in the converter

Every example above reverses exactly — write the same characters back as decimal code values.

What Changes the Code Output?

Values above 127

Values above 127 are accepted here, because this converter is not capped to ASCII. 233 is é and 8364 is €. every ASCII code and its character lists the codes that ASCII itself defines.

Which base the code is written in

The same code can be typed as decimal, hex, octal or binary, and the base selector says which one you mean. 65, 41, 101 and 01000001 are all the letter A. Pick the wrong base and you look up a different row.

Control codes and printable codes

Codes 32 to 126 are printable characters; 0–31 and 127 are control codes. A control code has no glyph, so the table shows its short name instead — 10 is LF, 13 is CR. Converting one is valid; displaying one is not.

One code or a list

Several codes separated by spaces convert as a list, in order, and each keeps its own row. The separator is a display choice and does not change any value.

Decimal to Text in Code

The same rule in one line. Both take code values and return the characters.

Python: bytes(int(g, 10) for g in s.split()).decode('utf-8')
JavaScript: new TextDecoder().decode(new Uint8Array(s.split(/\s+/).map(g => parseInt(g, 10))))

Common Mistakes

Frequently Asked Questions

Which decimal values are printable characters?

Codes 32 to 126. ASCII codes 32–126 are printable characters; 0–31 and 127 are control characters (for example 10 = line feed, 13 = carriage return, 32 = space). Below 32 the converter names the control code instead of drawing a glyph.

What does a decimal code above 127 convert to?

This converter is not capped, so 233 gives é and 8364 gives €. Codes 128–255 are not part of ASCII. They belong to extended sets such as Latin-1 (ISO 8859-1), where 255 is ÿ; in pure ASCII a value above 127 is out of range. For reference, é is U+00E9 and encodes as C3 A9 (2 bytes).

How do you convert decimal to ASCII in Python and Excel?

Python: chr(65) gives A. Excel: =CHAR(65) does the same for codes 1 to 255. ASCII defines 128 characters, codes 0–127, using 7 bits; in practice each code is stored in one 8-bit byte with a leading 0.

Every code here reverses: the same value converts straight back in the character to decimal code direction.

The rest of the family sits on every binary converter.