ASCII 124 — |
The printable character "|" at ASCII code 124.
All Representations
1240x7C0o17401111100|Character Details
| Character | | |
| Name | | |
| Decimal | 124 |
| Hexadecimal | 0x7C |
| Octal | 0o174 |
| Binary | 01111100 |
| HTML Entity | | |
| Category | Symbol |
| Printable | Yes |
About ASCII 124 (|)
The vertical bar (pipe) embodies one of Unix's most powerful and elegant concepts. The shell pipe operator '|' chains commands together, sending one program's stdout as stdin to another — a design philosophy that shaped the entire Unix paradigm of small, composable, single-purpose tools. In programming, '||' is the logical OR operator in C, JavaScript, and many other languages, while single '|' performs bitwise OR. In regular expressions, '|' denotes alternation between patterns. In some SQL dialects, '||' concatenates string values.
Symbol characters in ASCII include mathematical operators, logical notation, and special-purpose marks that serve critical roles across programming, mathematics, and digital communication. Symbols are heavily context-dependent — the same character may act as an arithmetic operator in one language, a regex metacharacter in another, and a shell configuration flag in a third context. This contextual polyvalence makes symbols among the most functionally overloaded characters in computing, requiring careful attention to their meaning in each domain.
In the ASCII encoding table, Vertical Bar is assigned code point 124 in decimal (0x7C hexadecimal, 174 octal, 01111100 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Vertical Bar works reliably across all operating systems, programming languages, and internet protocols.
Related ASCII Characters
Nearby ASCII Codes
Explore the Full ASCII Table
Browse all 128 ASCII characters with codes, representations, and detailed references.