ASCII code 49: "1"

ASCII 49 is Digit 1. In hex it is 0x31 and in binary 00110001.

1Character
49Decimal
0x31Hex
061Octal
00110001Binary

All representations

FormatValue
NameDigit 1
Decimal49
Hexadecimal0x31
Octal061
Binary00110001
HTML numeric entity1 / 1
Unicode code pointU+0031
URL encoded%31
UTF-8 bytes31 (one byte, same as ASCII)

Notes

Nearby codes

DecHexCharName
472F/Slash (solidus)
48300Digit 0
50322Digit 2
51333Digit 3

Get this code in code

JavaScript  '1'.charCodeAt(0)   // 49
Python      ord('1')          # 49
C           (char)49