All representations
| Format | Value |
|---|---|
| Name | Tilde |
| Decimal | 126 |
| Hexadecimal | 0x7E |
| Octal | 0176 |
| Binary | 01111110 |
| HTML numeric entity | ~ / ~ |
| Unicode code point | U+007E |
| URL encoded | %7E |
| UTF-8 bytes | 7E (one byte, same as ASCII) |
Notes
- In a URL it is encoded as itself (unreserved).
Nearby codes
Get this code in code
JavaScript '~'.charCodeAt(0) // 126
Python ord('~') # 126
C (char)126