Line symbols │

Click to copy any line character: thin │ and thick ┃ vertical lines, double ║, dashed ┆ ┊, diagonal ╱ ╲ and more. Use them to separate words in bios, draw tables or frame text.

How to type it 58 symbols on this page

Vertical lines22

Horizontal lines16

Diagonal and crossing lines14

Bio separators6

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.

Codes for every line symbols

SymbolNameUnicodeHTMLAlt code
box drawings light vertical U+2502 │ Alt 179
box drawings heavy vertical U+2503 ┃ –
box drawings double vertical U+2551 ║ Alt 186
vertical bar (absolute value) U+007C | –
broken bar U+00A6 ¦ Alt 0166
double vertical line U+2016 ‖ –
divides U+2223 ∣ –
vertical line extension U+23D0 ⏐ –
light vertical bar U+2758 ❘ –
medium vertical bar U+2759 ❙ –
heavy vertical bar U+275A ❚ –
box drawings light triple dash vertical U+2506 ┆ –
box drawings heavy triple dash vertical U+2507 ┇ –
box drawings light quadruple dash vertical U+250A ┊ –
box drawings heavy quadruple dash vertical U+250B ┋ –
box drawings light double dash vertical U+254E ╎ –
box drawings heavy double dash vertical U+254F ╏ –
left vertical box line U+23B8 ⎸ –
right vertical box line U+23B9 ⎹ –
presentation form for vertical em dash U+FE31 ︱ –
left one eighth block U+258F ▏ –
right one eighth block U+2595 ▕ –
box drawings light horizontal U+2500 ─ Alt 196
box drawings heavy horizontal U+2501 ━ –
box drawings double horizontal U+2550 ═ Alt 205
box drawings light triple dash horizontal U+2504 ┄ –
box drawings heavy triple dash horizontal U+2505 ┅ –
box drawings light quadruple dash horizontal U+2508 ┈ –
box drawings heavy quadruple dash horizontal U+2509 ┉ –
box drawings light double dash horizontal U+254C ╌ –
box drawings heavy double dash horizontal U+254D ╍ –
horizontal line extension U+23AF ⎯ –
horizontal bar U+2015 ― –
overline U+203E ‾ –
low line U+005F _ –
double low line U+2017 ‗ –
lower one eighth block U+2581 ▁ –
upper one eighth block U+2594 ▔ –
box drawings light diagonal upper right to lower left U+2571 ╱ –
box drawings light diagonal upper left to lower right U+2572 ╲ –
box drawings light diagonal cross U+2573 ╳ –
rising diagonal U+27CB ⟋ –
falling diagonal U+27CD ⟍ –
big solidus U+29F8 ⧸ –
big reverse solidus U+29F9 ⧹ –
box drawings light vertical and horizontal U+253C ┼ Alt 197
box drawings heavy vertical and horizontal U+254B ╋ –
box drawings double vertical and horizontal U+256C ╬ Alt 206
box drawings light vertical and right U+251C ├ Alt 195
box drawings light vertical and left U+2524 ┤ Alt 180
box drawings light down and horizontal U+252C ┬ Alt 194
box drawings light up and horizontal U+2534 ┴ Alt 193

Vertical line symbols and how they differ

The | on your keyboard is the vertical line, often called a pipe or bar, and its height depends on the font. │ (box drawings light vertical) fills the whole line height and is designed to touch the lines above and below it, so it is the one to use for tables and frames. ┃ is its heavy version, ║ is double, and ┆ ┊ are dashed.

Several look-alikes have their own meaning. ¦ is the broken bar, ‖ is the double vertical line used for the norm of a vector (‖v‖), and ∣ means "divides" in math (3 ∣ 12). For the absolute value bars, see the absolute value symbol page. ❘ ❙ ❚ are light, medium and heavy dingbat bars.

Using lines in bios and Discord

A vertical line is the cleanest way to separate items in a short bio: artist │ she/her │ coffee. It takes less space than a bullet and looks tidy on any phone. Dashed lines like ┆ and ┊ stacked on several lines give an aesthetic, column-like look.

On Discord, two pipes around text (||like this||) turn it into a spoiler, so use ║ or │ if you want lines that stay visible. For long horizontal lines and stacked bars like ☰, see the horizontal line symbols, and for ready-made dividers, the divider symbols.

How to type line symbols

The plain | is *Shift + * on US keyboards, both on Windows and Mac. For box-drawing lines on Windows, hold Alt and type on the number pad: Alt + 179 │, Alt + 186 ║, Alt + 196 ─ and Alt + 205 ═. On a Mac, open the Character Viewer with Control + Command + Space and search "box drawings".

In Microsoft Word, type 2502 and press Alt + X for │. The box-drawing lines join up perfectly only in a monospace font, so use a code block when you build tables or frames. More frames are on the border symbols page.

Frequently asked questions

What is the vertical line symbol called?

The keyboard | is called a vertical line, vertical bar or pipe. The taller │ is the box-drawing light vertical line.

How do I type a vertical line?

Press Shift + \ on a US keyboard for |. For the taller │, use Alt + 179 on Windows or copy it from this page.

What is the difference between | and │?

| is the keyboard pipe, used in code and math. │ is a box-drawing line that is taller and connects with the lines above and below it.