All representations
| Format | Value |
|---|---|
| Name | Slash (solidus) |
| Decimal | 47 |
| Hexadecimal | 0x2F |
| Octal | 057 |
| Binary | 00101111 |
| HTML numeric entity | / / / |
| Unicode code point | U+002F |
| URL encoded | %2F |
| UTF-8 bytes | 2F (one byte, same as ASCII) |
Notes
- In a URL it is encoded as
%2F.
Nearby codes
Get this code in code
JavaScript '/'.charCodeAt(0) // 47
Python ord('/') # 47
C (char)47