Vertical Line Symbol

Copy |, the vertical line symbol, or type it with Shift and backslash; double, broken and long forms follow.

|Vertical lineU+007CReady to copy

31 vertical lines and look-alikes. Tap any value to copy it.

31 vertical lines and look-alikes. A character and its name both copy the character. A code copies the code.
CharacterNameCode pointAlt codeHTMLLaTeX
U+007C. The vertical line, also called vertical bar or pipe. The key is Shift and backslash on the U.S. layout. It is character 124 of ASCII, so Alt+124 types it; | names it in HTML.
U+2016. Two upright strokes in one character. Written in pairs around a matrix for its norm. ‖ in HTML, \Vert in LaTeX.
U+00A6. The bar with a gap in the middle. Early terminals and printers drew the plain bar this way; today it is a character of its own. Alt+0166, ¦ in HTML, \textbrokenbar in LaTeX.
U+2502. A box-drawing stroke, built to connect with the one above and the one below: the long vertical line when rows are stacked. Alt+179.
U+2503. The thick box-drawing upright, which connects from row to row the same way. Neither Alt code table has it.
U+2551. The box-drawing double upright, for the sides of a double-ruled frame. Alt+186.
U+FF5C. The bar centered in a full East Asian cell, with space on both sides.
Shift and backslash, twice: what people type when they mean ‖ or ∥.

How it works

The vertical line symbol is |, U+007C in Unicode, also called the vertical bar or the pipe. On the American keyboard it is Shift and the backslash key, and Alt+124 types it, its number in ASCII.

Read the full guide

One bar, two bars

In math a pair of bars is an absolute value, |x|, and a single straight bar reads divides or such that. Two vertical lines, ‖, stand for a norm, and ∥ says that two lines are parallel. In plain text the bar is used to separate items.

A long vertical line

The box-drawing │ is designed to connect with the character above and the one below, so one on each row of text makes a long vertical line. ┃ is the heavy form and ║ the double one.

  • ∥ and ‖ are each 2 vertical lines in one character; || is two typed bars.
  • No emoji is a vertical line. ❚ is the boldest text one.
  • In HTML the bar has the special character name |.

Questions and answers

Where is the pipe symbol on the keyboard?

On the American (U.S.) layout it is on the backslash key: hold Shift and press it. The character is called pipe because command lines use it to pass the output of one program to the input of the next.

What is the math symbol with two vertical lines?

‖, the double vertical line, is written in pairs for a norm. ∥, a separate character, means is parallel to. Both are double vertical bar symbols; LaTeX writes them \Vert and \parallel.

What does a vertical line mean in math?

Around a number, |x| is its absolute value. Between two numbers, a | b reads a divides b. Inside set braces it reads such that, and in P(X|Y) it reads given.

How do I copy and paste a long vertical line?

Copy │, the box-drawing vertical, and paste one on each row: the strokes are made to connect into a single line. The plain | leaves a small gap between rows in most text.

What is the Unicode for the vertical bar?

U+007C, named Vertical line, which is also ASCII character 124. The double vertical line is U+2016, the broken bar U+00A6 and the box-drawing vertical U+2502.

All 31 vertical lines and look-alikes

Start here 8

  • Box drawings double vertical U+2551. The box-drawing double upright, for the sides of a double-ruled frame. Alt+186.
  • Box drawings heavy vertical U+2503. The thick box-drawing upright, which connects from row to row the same way. Neither Alt code table has it.
  • Box drawings light vertical U+2502. A box-drawing stroke, built to connect with the one above and the one below: the long vertical line when rows are stacked. Alt+179.
  • Broken bar U+00A6. The bar with a gap in the middle. Early terminals and printers drew the plain bar this way; today it is a character of its own. Alt+0166, ¦ in HTML, \textbrokenbar in LaTeX.
  • Double vertical line U+2016. Two upright strokes in one character. Written in pairs around a matrix for its norm. ‖ in HTML, \Vert in LaTeX.
  • Fullwidth vertical line U+FF5C. The bar centered in a full East Asian cell, with space on both sides.
  • Two vertical lines, typed Shift and backslash, twice: what people type when they mean ‖ or ∥.
  • Vertical line U+007C. The vertical line, also called vertical bar or pipe. The key is Shift and backslash on the U.S. layout. It is character 124 of ASCII, so Alt+124 types it; | names it in HTML.
Show all 31 vertical lines and look-alikes (23 more)

Single bars 10

  • Box drawings light down U+2577. The other half, from the middle of the cell down to its floor.
  • Box drawings light up U+2575. Half a stroke: it runs from the middle of the cell to the top, a short vertical line.
  • Fullwidth broken bar U+FFE4. The gapped bar in a full East Asian cell.
  • Heavy vertical bar U+275A. The boldest of the three: a solid slab.
  • Light vertical bar U+2758. A slim ornament stroke, the first of a set of three weights. HTML knows it as ❘.
  • Medium vertical bar U+2759. Between ❘ and ❚ in thickness.
  • Presentation form for vertical em dash U+FE31. An em dash stood on end for East Asian text in columns, which makes it a tall centered bar.
  • Vertical line extension U+23D0. A segment for lengthening tall arrows, Unicode says; stacked, it makes an unbroken upright.
  • Vertical line with middle dot U+237F. A bar with a dot threaded on its middle; Unicode notes it as the symbol for End of Medium.
  • White vertical bar U+2AFE. A hollow bar: an outlined upright rectangle. Unicode also lists the name Dijkstra choice.

Two and three bars 3

  • Parallel to U+2225. The sign of geometry for lines that never meet: AB ∥ CD. LaTeX calls it \parallel and spaces it as a relation.
  • Triple vertical bar binary relation U+2AF4. Three uprights as an operator. Unicode also lists the name interleave.
  • Triple vertical bar delimiter U+2980. Three uprights in one character, used as a bracket.

Math signs 3

  • a divides b The key between two letters: a divides b in number theory, or a given b in probability.
  • Absolute value of x The key on both sides of x: the absolute value of x.
  • Norm of x U+2016 on both sides of x: the norm of x, its length or size.

Stress marks 2

  • Modifier letter low vertical line U+02CC. The phonetic tick dropped to the baseline, for the weaker, secondary stress.
  • Modifier letter vertical line U+02C8. A phonetic tick, raised: the syllable after it carries the main stress.

Not a vertical line 5

  • Devanagari danda U+0964. The danda, a punctuation mark of Devanagari text, which has a code point of its own.
  • Latin capital letter i U+0049. The ninth letter as a capital: without serifs it is one plain stroke.
  • Latin letter dental click U+01C0. A letter for a click consonant. Unicode also lists the name pipe, yet the keyboard pipe is U+007C.
  • Latin letter lateral click U+01C1. A second click letter, shaped like two bars; double pipe is its other name in Unicode.
  • Latin small letter L U+006C. The twelfth letter, lowercase. A look-alike that sorts and searches as a letter.

How this list was compiled: Names, and the code points they belong to, are checked against UnicodeData.txt, version 18.0.0 (https://www.unicode.org/Public/18.0.0/ucd/UnicodeData.txt), and printed in sentence case. Notes that begin Unicode's note quote NamesList.txt of the same version (https://www.unicode.org/Public/18.0.0/ucd/NamesList.txt); the version a character was added in is from DerivedAge.txt (https://www.unicode.org/Public/18.0.0/ucd/DerivedAge.txt), block names are from Blocks.txt, and the years are from https://www.unicode.org/history/publicationdates.html. Alt codes are from the code page 437 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT), the PC graphics table for codes 1 to 31 (https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/IBMGRAPH.TXT) and the code page 1252 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT). Option keys are those of the U.S. keyboard layout as CLDR records it (https://github.com/unicode-org/cldr/blob/release-42/keyboards/osx/en-t-k0-osx.xml); other layouts differ. HTML entity names are from https://html.spec.whatwg.org/entities.json. LaTeX macros are listed only when LaTeX's own fontdef.dtx, ltoutenc.dtx or utf8ienc.dtx (https://github.com/latex3/latex2e/tree/develop/base) or the amssymb source (https://ctan.org/pkg/amsfonts) defines them, matched to a code point through unicode-math-table.tex (https://github.com/latex3/unicode-math). Compose sequences are from the X.org en_US.UTF-8 Compose file (https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/nls/en_US.UTF-8/Compose.pre). The rows are chosen from the characters whose Unicode name has the words vertical line or vertical bar, found by a search of UnicodeData.txt, with the box-drawing uprights, the parallel sign, made rows and look-alikes added (the divides signs are left to the division page). The Alt code of the plain bar is its place in the code page 437 table, which is also its ASCII number. The names of the bar, its readings in math, the broken bar, the click letters, the danda and why it is called pipe: https://en.wikipedia.org/wiki/Vertical_bar; that box-drawing characters connect: https://en.wikipedia.org/wiki/Box-drawing_characters. All read on 2026-10-02 and restated in this site's own words. The Start here group, the made rows and the order are this site's own choice. Licence: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; aliases and notes marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., https://www.unicode.org/license.txt)