Box Drawings Light Vertical
Box drawings light vertical is Unicode code point U+2502, written │. Copy it with the button below and paste it anywhere text goes; the code table further down covers HTML, CSS, JavaScript and, where one exists, a Windows alt code.
| Symbol | │ | |
|---|---|---|
| Unicode | U+2502 | |
| Name | Box Drawings Light Vertical | |
| HTML (decimal) | │ | |
| HTML (hex) | │ | |
| CSS content | \2502 | |
| JavaScript / JSON | \u2502 | |
| UTF-8 bytes | 0xE2 0x94 0x82 | |
| UTF-16 units | 0x2502 |
How to type the box drawings light vertical symbol
- Copy and paste: click the │ at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- HTML: write
│in your markup. - CSS: use
content: "\2502"in a::beforeor::afterrule. - JavaScript: the escape
\u2502produces this character in a string.
Frequently asked questions
How do I copy the box drawings light vertical symbol?
Click the │ above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for box drawings light vertical?
The box drawings light vertical has the Unicode code point U+2502. In HTML you can write it as │ or │.
Can I use the box drawings light vertical symbol in HTML and CSS?
Yes. In HTML write │, and in CSS use content: "\2502" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full line & box symbols hub, or return to the searchable symbol grid.