ASCII 0
Null (NUL)
Control character
String terminator in C. Rarely appears in text; frequently in binary files.
All encodings at a glance
| Decimal | 0 |
| Hexadecimal | 0x00 |
| Octal | 0000 |
| Binary | 00000000 |
| HTML numeric entity | � |
| URL encoding | %00 |
| UTF-8 bytes | 0x00 |
Code snippets
JavaScript
String.fromCharCode(0); // "NUL"
0.toString(16); // "00"Python
chr(0) # control char NUL
ord(chr(0)) # 0
hex(0) # '0x00'HTML
� <!-- numeric entity (no named entity for this character) -->