How to Do a Straight Vertical Line on a Keyboard

Written by alexander poirier
  • Share
  • Tweet
  • Share
  • Email

The vertical line symbol serves a number of functions, including denoting absolute value and separating or dividing lines of text. Every keyboard for a Mac, Windows or other OS has the ability to create the vertical line symbol and, regardless of the keyboard you are using, the key for this symbol is in the same location. If you want to create a vertical line with your keyboard, you can do so in a few simple steps.

Skill level:

Other People Are Reading


  1. 1

    Place the computer's mouse cursor somewhere where text can be entered. This can be in a document, search bar or any other text box.

  2. 2

    Press and hold the Shift key on the computer's keyboard.

  3. 3

    Press the \ key while holding the Shift key to create the vertical line symbol. The \ key is located just above the Enter key on a Windows keyboard, or just above the Return key on a Mac keyboard.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.