Encode a word
Paste a small example into the tool and change one part at a time.
In decimal, Hi becomes 72 105 - the code for H then i.
Преобразуйте текст в коды ASCII и обратно.
Последнее обновление
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
An ASCII converter maps characters to the numeric codes computers use to store them, and back again. ASCII (American Standard Code for Information Interchange) assigns a number 0–127 to each basic English character - A is 65, a is 97, space is 32. This tool shows you those codes and decodes them, in decimal, hexadecimal, or binary.
Modern text goes beyond the original 128 ASCII characters, so this converter uses Unicode code points under the hood. That means accented letters, symbols, and emoji all get correct codes too - é is 233, and an emoji is a code point above 127. Switching the base lets you read the same code as decimal (65), hex (41), or binary (01000001).
It's handy for debugging encoding issues, working through a computer-science exercise, or decoding a string of numbers someone sent you. Everything runs locally in your browser.
A=65 and a=97: uppercase and lowercase letters are 32 apart.0–9 are codes 48–57, and space is 32.Choose Text → ASCII to get the codes, or ASCII → Text to decode a list of codes.
Show the codes in decimal, hexadecimal, or binary - the decoder reads whichever base you pick.
Enter text to encode, or paste codes separated by spaces or commas to decode.
Copy the result with one click, or swap to reverse the conversion.
Common characters with their decimal, hex, and binary codes. See the full ASCII table for all 128 characters.
| Character | Decimal | Hex | Binary |
|---|---|---|---|
| (space) | 32 | 20 | 00100000 |
| 0 | 48 | 30 | 00110000 |
| 9 | 57 | 39 | 00111001 |
| A | 65 | 41 | 01000001 |
| Z | 90 | 5A | 01011010 |
| a | 97 | 61 | 01100001 |
| z | 122 | 7A | 01111010 |
| ! | 33 | 21 | 00100001 |
| @ | 64 | 40 | 01000000 |
| ~ | 126 | 7E | 01111110 |
Paste a small example into the tool and change one part at a time.
In decimal, Hi becomes 72 105 - the code for H then i.
Copy the original value, run the tool, then compare the result.
Paste this in ASCII → Text mode (decimal) to get Coddy.
41 is A in hex but ) in decimal, so match the base to how the codes were written.5 has ASCII code 53, not 5.A is 65 in decimal, 41 in hexadecimal, and 01000001 in binary. Lowercase a is 97.