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

FormatValueCopy
Code pointOfficial Unicode notationU+007C
Official nameUnicodeData.txt, Unicode 18.0.0VERTICAL LINE
Unicode 1.0 nameLegacy aliasVERTICAL BAR
DecimalBase 10124
HexadecimalBase 160x007C
OctalBase 80o174
BinaryBase 20000000001111100
General categorySymbol, mathSm
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)|
HTML entity (hex)|
CSS content escapeUse inside content: "…"\007C
URL encodedPercent-encoded UTF-8%7C

Programming languages

FormatValueCopy
JavaScript / TypeScript\u007C
JSONUTF-16 surrogate pairs\u007C
Python\u007C
Java / C# / Kotlin\u007C

Byte encodings

FormatValueCopy
UTF-81 byte7C
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.

View all basic latin (ascii)