All representations
| Format | Value |
|---|---|
| Name | Backslash |
| Decimal | 92 |
| Hexadecimal | 0x5C |
| Octal | 0134 |
| Binary | 01011100 |
| HTML numeric entity | \ / \ |
| Unicode code point | U+005C |
| URL encoded | %5C |
| Escape sequence | \\ |
| UTF-8 bytes | 5C (one byte, same as ASCII) |
Notes
- In a URL it is encoded as
%5C.
Nearby codes
| Dec | Hex | Char | Name |
|---|---|---|---|
| 90 | 5A | Z | Uppercase Z |
| 91 | 5B | [ | Left square bracket |
| 93 | 5D | ] | Right square bracket |
| 94 | 5E | ^ | Caret (circumflex) |
Get this code in code
JavaScript '\\'.charCodeAt(0) // 92
Python ord('\\') # 92
C (char)92