ASCII code 52: "4"

ASCII 52 is Digit 4. In hex it is 0x34 and in binary 00110100.

4Character
52Decimal
0x34Hex
064Octal
00110100Binary

All representations

FormatValue
NameDigit 4
Decimal52
Hexadecimal0x34
Octal064
Binary00110100
HTML numeric entity4 / 4
Unicode code pointU+0034
URL encoded%34
UTF-8 bytes34 (one byte, same as ASCII)

Notes

Nearby codes

DecHexCharName
50322Digit 2
51333Digit 3
53355Digit 5
54366Digit 6

Get this code in code

JavaScript  '4'.charCodeAt(0)   // 52
Python      ord('4')          # 52
C           (char)52