ASCII 92
Reverse Solidus (Backslash) (\)
Printable ASCII
Backslash. Escape character in most string literals (\n, \t, \"). Path separator on Windows.
Common uses & context
The character '\' — Reverse Solidus (Backslash) — has ASCII code 92 (0x5C), octal 0134, binary 01011100. Backslash. Escape character in most string literals (\n, \t, \"). Path separator on Windows.
Punctuation and symbol codes carry the most syntactic weight per byte in programming: a single '\' can change how a parser reads an entire expression. When '\' needs to appear as literal data rather than syntax, you often have to escape it — in string literals, in regular expressions, in URLs (where it becomes %5C), or in HTML. Knowing its exact code point (92) helps when you filter, validate, or sanitize input byte by byte.
All encodings at a glance
| Decimal | 92 |
| Hexadecimal | 0x5C |
| Octal | 0134 |
| Binary | 01011100 |
| HTML numeric entity | \ |
| URL encoding | %5C |
| UTF-8 bytes | 0x5C |
Code snippets
JavaScript
String.fromCharCode(92); // "\"
92.toString(16); // "5c"Python
chr(92) # '\'
ord(chr(92)) # 92
hex(92) # '0x5c'HTML
\ <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Code 92 (0x5C); URL-encoded form%5C.
- ▸In HTML the numeric entity is \.
- ▸When used as literal data in regex or strings, '\' usually needs escaping — check the rules for your language.
Frequently asked questions
What character is ASCII code 92?
ASCII code 92 is the character '\' (Reverse Solidus (Backslash)). In hexadecimal it is 0x5C, in octal 0134, and in binary 01011100.
What is 0x5C in ASCII?
Hexadecimal 0x5C equals decimal 92, which is the character '\' (Reverse Solidus (Backslash)). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x5C = 92) and look up that code point.
How do I write the character with code 92 in code?
In JavaScript use String.fromCharCode(92); in Python use chr(92); in HTML use the numeric entity \. In a URL it is percent-encoded as %5C, and in UTF-8 it is stored as the byte sequence 0x5C.