Toolman

ASCII 53

ASCII 53 is Digit 5, written 5.

Every representation

Character5
NameDigit 5
Decimal53
Hexadecimal0x35
Octal0065
Binary00110101
HTML entity5
Escape sequence\x35
UnicodeU+0035
GroupDigit

What it is for

The digit 5. The digits occupy 48 to 57, so subtracting 48 from a digit's code gives its numeric value — the oldest trick in character handling.

Where the number comes from

The digits were placed at 48 to 57 so that 0 through 9 are contiguous and the low four bits of each code are the digit's own value: 53 in binary is 00110101, and the last four bits are 0101, which is 5.

Frequently asked questions

What is ASCII 53?

Digit 5, the character 5. In hexadecimal it is 0x35, in octal 0065, and in binary 00110101.

How do I type ASCII 53?

Type 5 directly. In a string literal it can also be written \\x35, and in HTML as 5.

Is ASCII 53 printable?

Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.

Nearby codes

Full ASCII table · Text to binary converter · Number base converter