Box drawings light vertical

│ is the Unicode character “BOX DRAWINGS LIGHT VERTICAL” (U+2502). It belongs to the Box Drawing block and was added in Unicode 1.1. Click it to copy, or use the codes below.

│ codes

UnicodeCode point U+2502
HTML codeDecimal, works in any HTML page │
HTML hexHexadecimal HTML code │
CSSFor the CSS content property \2502
JavaScriptEscape in JavaScript strings \u2502
PythonEscape in Python strings \u2502
URL encodedPercent-encoded UTF-8 %E2%94%82
UTF-8Bytes in UTF-8 E2 94 82
UTF-16Code units in UTF-16 2502
Alt codeWindows, number pad Alt + 179

How to type │

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Hold Alt and type 179 on the number pad (Num Lock on), then let go of Alt.

In Microsoft Word, type 2502 and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “box drawings light vertical”.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+2502. Every format is on the box drawings light vertical page.

About │

Unicode name
BOX DRAWINGS LIGHT VERTICAL
Code point
U+2502 (9474)
Block
Box Drawing
Category
Other Symbol
Unicode version
1.1