Skip to content
EmojiDB

U+2502 · Other symbol

HTML entity

│

Box Drawings Light Vertical Symbol │

│ is box drawings light vertical, U+2502. Unicode also records it as “Videotex Mosaic DG 14”. It was added in Unicode 1.1, and Unicode files it under Other symbol.

Also known as

  • Videotex Mosaic DG 14

Unicode 1.0 called this character forms light vertical. The standard renamed it later, but documents, fonts and font-editing tools from that era still use the old name.

Codes & technical data

UnicodeU+2502
HTML hex│
HTML decimal│
CSS\2502
JavaScript\u{2502}
Python\U00002502
Java / C#\u2502
Rust\u{2502}
Swift\u{2502}
PHP\u{2502}
URL encoded%E2%94%82
UTF-8 bytesE2 94 82
UTF-16 bytes2502
Base644pSC
Decimal9474
HTML entity│
CategoryOther symbol (So)
IntroducedUnicode 1.1

Will │ survive being pasted?

  • Normalisation. Yes. │ is unchanged by NFKC, so it survives normalising systems intact.
  • Legacy encodings. │ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
  • Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.

Other drawings characters

Unicode names 24 characters ending in “drawings”. They differ by direction, weight or decoration rather than by meaning.

Nearby in Box Drawing

The line-drawing characters that terminal interfaces were built from before graphics. Single, double, heavy and rounded corners, in every junction combination — still the standard way to draw a table in a monospace font.

All 128 characters in Box Drawing →

How to type │

WindowsType 2502 then press Alt+X
macOSPress Ctrl+Cmd+Space, then search for “box drawings light vertical”
LinuxPress Ctrl+Shift+U, type 2502, press Enter
HTML│

About Unicode’s Other symbol category

Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.

Frequently asked questions

How do I type the │ box drawings light vertical symbol?
On Windows, type 2502 and press Alt+X. On Linux press Ctrl+Shift+U then 2502. On any system the quickest route is the copy button on this page.
What is the code for │?
Box Drawings Light Vertical is U+2502, written in HTML as │. In UTF-8 it takes 3 bytes. The table above lists every escape format.
What kind of character is │?
Box Drawings Light Vertical is filed under Other symbol in the Box Drawing block, and was introduced in Unicode 1.1. Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.