Text to Decimal Converter

Convert text to decimal ASCII and UTF-8 byte values, with a choice of separator. Reversible with the decimal to text tool.

Independently verified for accuracy

Calculator by Toolsloft ↗
Decimal
72 101 108 108 111

Convert text into the decimal value of each byte, the same numbers behind ASCII and UTF-8. Pick whatever separator you need between values. For plain English the numbers line up with familiar ASCII codes, and non-ASCII characters are shown as their UTF-8 bytes.

How this is calculated

The text is encoded to UTF-8 bytes, and each byte is printed as its decimal value from 0 to 255, joined by your chosen delimiter. For ASCII characters this equals the classic ASCII code (A is 65, space is 32); multi-byte characters produce one number per byte.

How to use

  1. Type or paste your text.
  2. Choose the separator between values.
  3. Copy the decimal output.

Examples

  • ASCII codes: Hi becomes 72 105
  • Single letter: A becomes 65

FAQ

Are these ASCII codes?
For standard English characters, yes. Each byte is the ASCII value. Characters outside ASCII are encoded as UTF-8, so they show as more than one byte value.
Can I turn the numbers back into text?
Yes. Use the decimal to text converter, which reads the same byte values back into characters.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.