A short word
"Hey" converts to 72 101 121 — H, e and y.
Text to decimal converter — get the decimal byte value (0–255) of every character, free online.
About
Turn any text into the plain decimal numbers a computer stores it as. Each byte becomes a number from 0 to 255 — the most human-readable way to see character codes, and the form many programming exercises, byte arrays and spreadsheet formulas expect.
Capital A is 65 and Z is 90, lowercase a is 97 and z is 122, the digit 0 is 48 and a space is 32 — every lowercase letter is exactly 32 more than its capital. These are the values you'd write in a byte array like new Uint8Array([72, 105]) and what charCodeAt() or ord() return for ASCII text. Because the output is UTF-8 bytes, every number stays between 0 and 255: é is code point 233, but it's stored as the two bytes 195 169. If you need one code per character instead, use the ASCII converter.
Examples
4 worked examples
"Hey" converts to 72 101 121 — H, e and y.
"ABC" converts to 65 66 67 — capital letters run in order from 65 for A to 90 for Z.
"Hi" followed by a new line converts to 72 105 10 — the line break is the byte 10.
"😀" converts to 240 159 152 128 — four bytes, because emoji sit far outside the ASCII range.
FAQ
Quick answers to common questions about the Text to Decimal Converter.
Type your text above and click "Convert to decimal". Each UTF-8 byte of the text is shown as a decimal number from 0 to 255, all in your browser.
72 101 108 108 111 — one number each for H, e, l, l and o.
Because each number is one byte, and a byte holds 0–255. Characters that need more room are split across several bytes instead of getting a bigger number.
In UTF-8, é is stored as two bytes: 195 and 169. Plain ASCII characters always take one byte, but accented letters, symbols and emoji take two to four.
For English letters, digits and common punctuation, yes — UTF-8 uses the same values as ASCII for the first 128 characters. They only differ for characters outside that range.
No. Numbers are written plainly — 9 for a tab, 32 for a space, 101 for e — and separated by single spaces.
No. Those convert a single number between bases. Text to decimal encodes characters into their byte values.
Yes. Paste them into the box and click "Decimal to text", or use the dedicated decimal to text page.
Yes. There's no sign-up or limit, and the conversion runs entirely on your device — your text is never uploaded.
Did Text to Decimal Converter work for you?