My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Text to Decimal

Encode text as decimal UTF-8 byte values from 0 to 255.

Text conversions use UTF-8 bytes. For decoding, enter complete byte values.

How to use this tool

Enter text and process it to get one decimal number per UTF-8 byte.

Important to know

Encode text as decimal UTF-8 byte values from 0 to 255.

The numbers represent bytes, not Unicode code points. Non-ASCII characters produce multiple values.

Formula and methodology

Encode text as UTF-8 and print the unsigned decimal value of each byte.

Example

The word Hi becomes 72 105.

Frequently asked questions

Is a decimal value always one character?

No. UTF-8 characters can span several bytes and therefore several decimal values.