U+007C
Vertical Line|
Vertical Line is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "pipe", "vertical", "bar", "or".
Quick facts
- Unicode
- U+007C
- Decimal
- 124
- Hex
- 0x007C
- Octal
- 0o174
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+007C | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | VERTICAL LINE | |
| Unicode 1.0 nameLegacy alias | VERTICAL BAR | |
| DecimalBase 10 | 124 | |
| HexadecimalBase 16 | 0x007C | |
| OctalBase 8 | 0o174 | |
| BinaryBase 2 | 0000000001111100 | |
| General categorySymbol, math | Sm | |
| Unicode blockU+0000–U+007F | Basic Latin | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | | | |
| HTML entity (hex) | | | |
| CSS content escapeUse inside content: "…" | \007C | |
| URL encodedPercent-encoded UTF-8 | %7C |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u007C | |
| JSONUTF-16 surrogate pairs | \u007C | |
| Python | \u007C | |
| Java / C# / Kotlin | \u007C |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-81 byte | 7C | |
| UTF-16 (BE) | 007C | |
| UTF-32 (BE) | 0000007C |
How to type Vertical Line
Windows
Hold Alt and type +7C with the hex numeric keypad option enabled, or type 7C then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 007C. Or open Character Viewer (Control+Command+Space) and search "Vertical Line".
Linux
Press Ctrl+Shift+U, type 7c, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: | in HTML, \007C in CSS, and \u007C in JavaScript.
Official Unicode reference
- Character name
- VERTICAL LINE
- Unicode 1.0 name
- VERTICAL BAR
- Block
- Basic Latin (U+0000–U+007F)
- General category
- Sm — Symbol, math
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Vertical Line symbol?
Click the Copy button at the top of this page, or select | and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Vertical Line?
Vertical Line is U+007C (decimal 124, hexadecimal 0x007C, octal 0o174). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Vertical Line?
The Unicode Standard (version 18.0.0) names this character "VERTICAL LINE"; its Unicode 1.0 name was "VERTICAL BAR". Its General_Category is Sm (Symbol, math).
What is the HTML code for Vertical Line?
Use | or |. In CSS, use content: "\007C".
How do I type Vertical Line in code?
JavaScript: "\u007C". Python: "\u007C". JSON and Java: "\u007C". The UTF-8 byte sequence is 7C.
Is Vertical Line an emoji?
No. Vertical Line is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.
Related symbols in Basic Latin (ASCII)
View all basic latin (ascii)- Small letter F
- Small letter G
- Small letter H
- Small letter I
- Small letter J
- Small letter K
- Small letter L
- Small letter M
- Small letter N
- Small letter O
- Small letter P
- Small letter Q
- Small letter R
- Small letter S
- Small letter T
- Small letter U
- Small letter V
- Small letter W
- Small letter X
- Small letter Y
- Small letter Z
- Left Curly Bracket
- Right Curly Bracket
- Tilde