Underneath every character is a plain number, and this tool shows you those numbers directly: paste any text and watch it become a list of decimal byte values, live as you type. Hi becomes 72 105, because capital H is byte 72 and lowercase i is byte 105. The conversion runs entirely in your browser, so nothing you type is uploaded, logged, or stored, and the page is free, signup-free, and identical on mobile and desktop.
Decimal is the friendliest of all the byte notations because it needs no translation to read: 65 is simply 65, and an ASCII chart confirms that is capital A. That friendliness is why textbooks, spreadsheets, and programming tutorials quote characters in decimal. The tool encodes your text as UTF-8 first, then lists each byte in base 10. For basic English that is one number per character; beyond ASCII, UTF-8's variable-length sequences add numbers: é takes 2 bytes, most Chinese characters take 3, and emoji take 4, so one visible character can produce several numbers.
The classic reference points anchor everything. Capital A is 65, lowercase a is 97, the space is 32, and digits start at 48. Once you can recite those four values, converting your own name by hand becomes a realistic exercise, and this page becomes your checker.
What the Numbers Represent
Each number in the output is one UTF-8 byte, a value from 0 to 255. The mapping from characters to numbers comes from the character encoding, and UTF-8 keeps the classic ASCII assignments unchanged: 72 is H, 105 is i, 33 is the exclamation mark, 32 is the space. These are the same values printed in every ASCII table since the 1960s, which is why decimal output matches textbook exercises exactly for English text.
For characters outside ASCII, UTF-8 takes over with multi-byte sequences. The é you see on screen is the two numbers 195 and 169; a Chinese character is typically three numbers; an emoji is four. A common surprise is that uppercase and lowercase letters differ by exactly 32: A is 65 and a is 97, which made case-flipping a single-bit operation on the old terminals where these tables were designed.
Spreadsheet users know these numbers from the CHAR and CODE functions: CODE returns the decimal value of a character, and CHAR turns a number back into one. This tool is essentially those functions applied to a whole string at once, with full UTF-8 support that spreadsheets often lack.
How to Use This Tool (Step by Step)
- Type or paste your text into the input box. The number list updates live with every keystroke; there is no convert button.
- Read the output as space-separated decimal values, one per UTF-8 byte. Multi-byte characters produce multiple numbers.
- Use the copy button to take the result into worksheets, code, or homework.
- If an error message appears, it describes the problem rather than emitting partial output.
- To reverse the process, paste the numbers into the companion decimal-to-text tool; the original characters return exactly, emoji included.
Worked Examples and Anchor Values
Check any row by hand against an ASCII chart, or use the anchor table below it to build your own conversions.
| Input text | Decimal output |
|---|---|
| Hi | 72 105 |
| Code! | 67 111 100 101 33 |
| space | 32 |
| HAL | 72 65 76 |
| é | 195 169 |
| 中 | 228 184 173 |
| Anchor character | Decimal value | Note |
|---|---|---|
| space | 32 | First printable character |
| 0 through 9 | 48 to 57 | Digits are consecutive |
| A | 65 | Capitals run 65 to 90 |
| a | 97 | Lowercase runs 97 to 122, offset by 32 |
| DEL | 127 | End of one-byte ASCII range |
The anchor table is the working core of hand conversion. Given that A is 65 and letters are consecutive, E is 65 plus 4, which is 69; given digits start at 48, the digit 7 is 48 plus 7, which is 55. Every letter and digit converts in one addition once the anchors are memorized.
Common Use Cases
- Teaching and homework: ASCII value exercises are a staple of introductory computing, and pasting your answer here checks every number at once.
- Spreadsheet work: predicting what CHAR and CODE will return, or debugging formulas that rely on character arithmetic.
- Cipher exercises: Caesar shifts and letter math are easiest in decimal, where adding 2 to 65 gives 67, the letter C.
- Encoding verification: paste suspect text and count the numbers to see whether a character took 1, 2, 3, or 4 bytes, which explains mysterious length mismatches.
- Protocol debugging: many protocol documents quote ASCII values in decimal; convert your expected header and compare.
How the Conversion Works Internally
Step one: the browser's TextEncoder converts your string into UTF-8 bytes, an array of values 0 to 255. Step two: each byte is written in base 10, which for values under 100 means nothing more than the number itself, and values 100 to 255 are three digits. Step three: the numbers are joined with spaces in order. Unlike base conversions to binary, hex, or octal, no padding is needed, because decimal width is natural; the value 32 is simply 32.
The encoder is where the subtlety lives. Text looks like characters but travels as numbers, and the encoding rule determines which numbers. Because this tool uses UTF-8, its output matches modern JSON, HTTP, and file storage byte for byte. A converter that assumed a legacy single-byte code page would disagree on everything beyond ASCII, which is why two converters can return different lists for the same é.
Decimal Codes Compared with Binary, Hex, and Octal
All four notations describe the same bytes. Decimal is the most readable and matches ASCII charts, at the cost of variable width: 32, 105, and 195 all describe one byte but occupy different digit counts. Hex fixes the width at two digits per byte, which is why editors and dumps use it. Octal fixes it at three digits and survives in C escapes. Binary shows every bit at eight characters per byte. The same Hi is 72 105 in decimal, 48 69 in hex, and 01001000 01101001 in binary; pick the notation your audience or tool expects, and the site has converters for each direction running the identical UTF-8 pipeline.
Tips and Best Practices
- Round-trip your work: paste the numbers into decimal-to-text and confirm the original string returns before submitting homework or shipping code.
- Memorize the four anchors, 32, 48, 65, and 97; they cover most hand conversions in one addition each.
- Count the numbers to measure byte size; the count equals the UTF-8 byte count, which is what file sizes and buffer limits measure.
- When a value above 127 appears, expect neighbors: a multi-byte character always contributes two, three, or four numbers together.
- Remember the 32 offset between cases; 72 plus 32 is 104, which turns H into h arithmetically, and that bit-level trick explains many case-handling bugs.
- Decimal is notation, not secrecy; anyone can decode the list, so never rely on it to hide text.