Pipe symbol is part of standard keyboard layout in Windows and Mac. It is available with backslash key just above the enter key. You can press shift + backslash key to type pipe symbol |. The symbol is also called pipeline or vertical line. If you are not able to use the default key, here are some of the ways you can type pipe symbol in Windows and Mac computers.
Pipe Symbol Keyboard Shortcuts Summary
Here is a summary of keyboard shortcuts for typing pipe symbol in Windows and Mac.
|Symbol Name||Vertical Line or Pipe|
|Alt Code (Windows)||Alt + 124|
|Alt + X (Word)||007C + Alt + X|
|Mac Shortcut||Option + 007C|
|HTML Entity Decimal||||
|HTML Entity Hexadecimal||||
Type Pipe in Windows
There are many ways to insert the pipe symbol in Windows computer.
Alt Code for Pipe or Vertical Line
It is easy to insert pipe symbol using alt code keyboard shortcuts.
- Hold one of the alt keys in your keyboard and type 124 using number pad to insert pipe symbol |.
- If you do not have number pad on your keyboard, type 007C and then type alt + x keys together. This will work only in Microsoft Word documents.
Using Character Map to Insert Pipe
Windows PC comes with a in-built app called Character Map. Press “Win + R” keys to open Run app, type charmap and click “OK” button to open the Character Map app.
On Character Map app, check “Advanced view” and select “Unicode” option for “Character set”. Enter the hexadecimal code value 007C in “Go to Unicode” text box and press enter key. It will show the vertical line symbol and double click on it to show in the “Characters to copy” text box. Now, click “Copy” button to copy the symbol to clipboard and paste anywhere you want.
With Symbols Utility in Office Apps
If you want to insert pipe or vertical line symbol in Microsoft Office documents like Word then you can use the in-built symbols utility. Go to “Insert” menu and click on “Symbol” option. Now, select “More Symbols…” option to open “Symbol” utility.
Enter 007C in the “Character code” box and press enter key (make sure that “Unicode (hex)” option is selected). You will see vertical line symbol, double click on it to insert in your document.
Type Pipe in Mac
On Mac you can use option + 007C keyboard shortcut to insert pipe | symbol. Before that you need to change the language input to Unicode Hex Input method. If the keyboard shortcut does not work, press “fn + E” keys or go to “Edit > Emoji & Symbols” menu in any application. This will open Character Viewer app where you can search and find symbol in Mac. However, you will not find the symbol if you search with “pipe”. Instead, you can type “vertical line” in the search box to find the pipe or vertical line symbol.
The advantage in Mac is that you can find font variations and related characters to insert similar symbols like vertical line.
Insert Pipe Symbol in HTML
On HTML documents, you can use escape entity to insert the symbol. For example, below is how to use pipe symbol with span tag. Use either decimal or hexadecimal code as given in the below format.
Vertical Line or Pipe Symbol in Mobiles
You can easily insert the pipe symbol in both Android and iPhone using the default keyboard. When you are on the keyboard, tap on “123” key and then tap “#+=” key. Now, you can find the vertical line | symbol and tap on it to insert in the text box.