ASCII 49
Digit 1 (1)
Printable ASCII
The digit one.
All encodings at a glance
| Decimal | 49 |
| Hexadecimal | 0x31 |
| Octal | 0061 |
| Binary | 00110001 |
| HTML numeric entity | 1 |
| URL encoding | %31 |
| UTF-8 bytes | 0x31 |
Code snippets
JavaScript
String.fromCharCode(49); // "1"
49.toString(16); // "31"Python
chr(49) # '1'
ord(chr(49)) # 49
hex(49) # '0x31'HTML
1 <!-- numeric entity (no named entity for this character) -->