ASCII 53
ASCII 53 is Digit 5, written 5.
Every representation
| Character | 5 |
| Name | Digit 5 |
| Decimal | 53 |
| Hexadecimal | 0x35 |
| Octal | 0065 |
| Binary | 00110101 |
| HTML entity | 5 |
| Escape sequence | \x35 |
| Unicode | U+0035 |
| Group | Digit |
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
- ASCII 46 — .
- ASCII 47 — /
- ASCII 48 — 0
- ASCII 49 — 1
- ASCII 50 — 2
- ASCII 51 — 3
- ASCII 52 — 4
- ASCII 54 — 6
- ASCII 55 — 7
- ASCII 56 — 8
- ASCII 57 — 9
- ASCII 58 — :
- ASCII 59 — ;
- ASCII 60 — <
Full ASCII table · Text to binary converter · Number base converter