ASCII 124
ASCII 124 is Vertical line, written |.
Every representation
| Character | | |
| Name | Vertical line |
| Decimal | 124 |
| Hexadecimal | 0x7C |
| Octal | 0174 |
| Binary | 01111100 |
| HTML entity | | |
| Escape sequence | \x7C |
| Unicode | U+007C |
| Group | Punctuation or symbol |
What it is for
Vertical bar. The pipe in shell, and alternation in a regular expression.
Where the number comes from
Codes 32 to 126 hold the printable characters. The punctuation was distributed around the letters and digits so that the most common characters fell into positions that were convenient for the teleprinter keyboards of the time.
Frequently asked questions
What is ASCII 124?
Vertical line, the character |. In hexadecimal it is 0x7C, in octal 0174, and in binary 01111100.
How do I type ASCII 124?
Type | directly. In a string literal it can also be written \\x7C, and in HTML as |.
Is ASCII 124 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 117 — u
- ASCII 118 — v
- ASCII 119 — w
- ASCII 120 — x
- ASCII 121 — y
- ASCII 122 — z
- ASCII 123 — {
- ASCII 125 — }
- ASCII 126 — ~
- ASCII 127 — DEL
Full ASCII table · Text to binary converter · Number base converter