| – Vertical line Symbol Text (Meaning, Type on Keyboard, Copy & Paste)

This post will teach you much about the Vertical line Symbol or Vertical dash Symbol.

First, we’ll look at its meaning, HTML, CSS, and Alt code, Copy & Paste button, then the steps you may take to type this symbol text on your keyboard, and many more.

Without any further ado, let’s get started.

Copy Vertical line Symbol Text

The easiest way to get the Vertical line text symbol is to copy and paste it wherever you need it. The copy button above will save you some time in doing so.

After copying this symbol, you can paste it anywhere by pressing Ctrl and V on your keyboard.

Meaning of the Vertical Line Symbol

Vertical line or vertical dash symbol has many uses in mathematics, computing, and other areas of study, and its meaning depends on the context it is used in.

In mathematics alone, the vertical bar is used to represent many things. For example, the vertical line symbol represents the absolute value of a number, as for |-4| = 4. This means the absolute value of -4 equals 4.

Another use of the vertical line in mathematics is to represent the concept of division. For example, a|b means “a divides b” or “b is divisible by a”. Other mathematical concepts which use the vertical line are conditional probability, mathematical norms, function parameter separation, and in set-builder notation.

In Unicode, the Vertical line text symbol is the character at code point U+007C. Its HTML code is | and you can type it on your keyboard by pressing Shift + \ or Alt + 124.

Continue reading for more details on this symbol.

Vertical line/Vertical dash Symbol Information Table

The table below depicts a bird’s-eye-view of the Vertical line symbol.

It summarizes to include all the essential and technical information about this symbol. We will keep updating it to include the latest facts about this symbol.

NAMEVertical line
CATEGORYLine symbols
SHORTCUT 1 Shift + \
SHORTCUT 2Alt + 124

To the best of our ability, the above table presents some technical information about this line Symbol, including the keyboard shortcut, Unicode, and HTML code.

Continue reading to understand better how to type this symbol using the keyboard and other methods.

How to Type the Vertical Line Symbol

Although there is a dedicated key for the Vertical Line symbol on the keyboard, you can also use an alternate keyboard shortcut to type it.

You can also insert this symbol in Word, Excel, PowerPoint, or Google Docs.

Below you’ll find several methods for accessing this symbol, including keyboard shortcuts and methods utilizing MS Office and Google Docs’ built-in navigation systems.

Using the Vertical Line Key on the Keyboard

The vertical line symbol key is present on the keyboard. It is located right above the Enter key on the ANSI keyboard layout, and just before the Enter key on the ISO keyboard layout.

But if you press the \ key above the Enter key or just before it (depending on your keyboard layout), you will get a backslash. To get the vertical line symbol, hold the SHIFT key and press the backslash key.

You can also insert this symbol in Word, Excel, PowerPoint, or Google Docs if you use one of the Microsoft Office or Google apps.

Below you’ll find several methods for accessing this symbol, including keyboard shortcuts and methods utilizing MS Office and Google Docs’ built-in navigation systems.

The Vertical line Alt Code (Keyboard Shortcut)

The Vertical line Alt Code is Alt + 124.

Note: This Alt Code shortcut works in Windows only.

This Alt code method can be used to type this symbol by holding down the Alt key while typing 124 on the separate numeric keypad on the right side of the keyboard.

Make sure your num lock key is disabled before using this method.

Below is a detailed step-by-step guide you may use to type the Symbol for the Vertical line with your keyboard.

  • Open your Microsoft Word document where you need to type this symbol.
  • Place your cursor in the document where you need to type this symbol.
  • On the keyboard, press down the Alt key with one hand.
  • As you hold down the Alt key, use your other hand to press the Vertical line symbol Alt Code (124).
  • Now release the Alt key.

After you release the Alt key, the symbol (|) will immediately appear precisely where you place the cursor.

Insert Vertical line Symbol in Word/Excel/PowerPoint

Using this simple mouse navigation, you can quickly insert the Identical To Symbol into Microsoft Office applications such as Word, Excel, or PowerPoint.

The steps below will show you how to insert this symbol in Word, Excel, or PowerPoint.

  • Open your Word or Excel, or PowerPoint document.
  • Go to the Insert tab.
  • On the far-right section, you’ll see the Symbols group. Select Symbol > More Symbols.
MS Word Insert More Symbols

The Symbol window will appear.

Microsoft Word Symbol Window
  • The symbol (|) can be found in this window. To find it quickly, change the font to Segoe UI Symbol, then type 007C in the Character code: box. The Vertical line sign will be selected as soon as you type the code.
  • Insert it into your Word document by clicking the Insert button.
  • Close the Symbol dialog.

These are the steps for inserting the Vertical line symbol (|) and any other symbol in Microsoft Word or other Office apps on Windows and Mac OS.

Vertical line Symbol In Google Docs

Google Docs is another text editor with which users may struggle to type or insert the Vertical line sign.

Without further ado, let’s get into it.

Method 1

To get this Symbol in Google Docs:

  • Launch Google Docs and position your cursor where the symbol will be inserted.
  • Press the Shift key and the backslash \ key.
  • You will get the vertical line symbol where your cursor is.


  • Go to Insert > Special Characters.
Go to Insert > Special Characters in Google Docs

The Insert special characters window will appear., which includes a search bar and a drawing pad.

  • Using the Search bar, search for Vertical line. Then, double-click on the line Symbol in the search results to insert it into Google Docs.
  • You can also draw the Vertical line Symbol using the drawing pad below the search bar. If Google Docs recognizes the drawing, it will display the symbol and similar signs in the results box. Then double-click the symbol to insert it.

These steps are to insert this and any other symbol into Google Docs.

Vertical line Symbol on The Character Map (Windows)

In Windows, the Character Map is a tool that can be used to view characters in any installed font, determine what keyboard input (or Alt code) is used to type those characters, and copy characters to the clipboard instead of typing them with your keyboard.

This section will demonstrate how to use the Character Map tools to easily copy and paste this Symbol.

Without further ado, let’s get into it.

  • Search for Character Map in the Windows Start menu.
Searching for the Character Map in Windows
  • You should see the character Map appear in the search results. Click on it to launch it.
  • When it’s open, go to the bottom left corner of the window and click to expand the Advance view options.
Character Map Advanced View
  • To quickly locate this symbol on the Character Map, change the Font to Segoe UI Symbol and search for the symbol name (vertical line) in the search box.

The symbol will be displayed for you to copy.

  • To copy this symbol, double-click it, and it will be selected in the Characters to copy box. Then, click the Copy button to copy it to your clipboard.
  • Place your cursor where you want the symbol and press Ctrl + V to paste it.

And there you have it.

You can take these steps to copy and paste the Vertical line symbol or other symbols on your Windows PC.

Adding Vertical line Symbol in HTML/CSS

The Vertical bar Symbol can also be added in HTML and CSS using entities.

HTML and CSS entities are special codes used to represent characters that have special meanings or cannot be displayed as regular text in HTML and CSS.

Entities are used to display characters such as angle brackets, ampersands, and quotation marks, as well as special symbols such as copyright, trademark, and multiplication signs.

Using entity codes is important for ensuring that HTML and CSS code is valid and can be interpreted correctly by web browsers.

The HTML code for the Vertical line symbol is |

The CSS code for the Vertical line Symbol is \007C

To add the Vertical line Symbol to an HTML page, you can use its entity name or number (decimal or hexadecimal reference), as shown in the example below:

// html example
<span> &#124; </span>

To display the Vertical line from CSS, you can use a CSS shortcode or CSS entity, as shown in the example below:

// css example
span {
  content: "\007C";


Most people have difficulty typing or inserting this symbol. So, we’ve broken down the various methods and steps required to type or get it into your documents.

And as you can see above, we’ve attempted to cover as much information about the Vertical line Symbol as possible.

Thank you for taking the time to go through this blog.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *