Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Vertical bar / pipe: |
On most Windows keyboards, hold Shift and press the key labeled and |. The key’s physical location depends on your keyboard layout: it is usually above Enter on a US keyboard and to the left of Z on a UK keyboard.
What is the vertical bar?
The character | is called the vertical bar, vertical line, or pipe. It is commonly used in Command Prompt, PowerShell, programming languages, and technical documentation.
Do not confuse it with the forward slash /, backslash , broken vertical bar ¦, lowercase l, or uppercase I.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteHow to type it on a US keyboard
- Find the key labeled
and|. - On a standard US ANSI keyboard, it is normally directly above Enter.
- Hold Shift and press that key.
The result should be |. Laptop and compact keyboards may place the key slightly differently, but the printed | legend is the best guide.
#1 Best Overall
- KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
- EASY SETUP: Experience simple installation with the USB wired connection
- VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
- SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
- FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
How to type it on a UK keyboard
- Find the key labeled
and|. - On a typical UK ISO keyboard, it is normally immediately to the left of Z.
- Hold Shift and press the key.
The shortcut is usually still Shift + the backslash/pipe key, but the key is in a different physical position. On many UK keyboards, the key above Enter contains # and ~, not the pipe symbol.
Check the active Windows keyboard layout
Windows generates characters according to the selected keyboard layout, not only the symbols printed on your physical keyboard. A US keyboard configured as UK, or a UK keyboard configured as US, can therefore produce an unexpected character. Microsoft explains how layouts determine the characters generated by key presses in its keyboard-input documentation.
Rank #2
- Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
- Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
- Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
- Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
- Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
- Press Windows + Spacebar.
- Check the layout shown, such as
ENG US,ENG UK, orUnited States-International. - Select the layout that matches your physical keyboard.
- Try the pipe shortcut again.
You can also select the layout indicator on the taskbar. Windows supports multiple layouts, and Windows + Spacebar can switch between them accidentally.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Fix a mismatched keyboard layout
In current Windows, open Settings > Time & language > Language & region. Open the options for the relevant language, then add, remove, or select the appropriate keyboard layout. Microsoft notes that you can add an alternate keyboard layout without necessarily installing a complete language pack; see its keyboard-layout instructions.
Rank #3
- All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
- Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
- Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
- Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
- Plastic parts in K120 include 51% certified post-consumer recycled plastic*
Common causes of a mismatch include a laptop purchased in another country, multiple English layouts installed, a remote-desktop session using another layout, or a virtual machine with different keyboard handling.
Use the On-Screen Keyboard
The On-Screen Keyboard is both a fallback and a useful diagnostic because it shows which characters Windows expects from the active layout.
Rank #4
- Fluid Typing Experience: Laptop-like profile with spherically-dished keys shaped for your fingertips delivers a fast, fluid, precise and quieter typing experience
- Automate Repetitive Tasks: Easily create and share time-saving Smart Actions shortcuts to perform multiple actions with a single keystroke with the Logi Options+ app (1)
- Smarter Illumination: Backlit keyboard keys light up as your hands approach and adapt to the environment; Now with more lighting customizations on Logi Options+ (1)
- More Comfort, Deeper Focus: Work for longer with a solid build, low-profile design and an optimum keyboard angle that is better for your wrist posture
- Multi-Device, Multi OS Bluetooth Keyboard: Pair with up to 3 devices on nearly any operating system (Windows, macOS, Linux) via Bluetooth Low Energy or included Logi Bolt USB receiver (2)
Windows 11
- Open Settings.
- Go to Accessibility > Keyboard.
- Turn on On-Screen Keyboard.
- If a simplified layout appears, choose General to display the full keyboard.
- Hold or select Shift, then click the key displaying
|.
Windows 10
- Open Settings.
- Go to Ease of Access > Keyboard.
- Turn on Use the On-Screen Keyboard.
- Display the full keyboard and select the key showing
|.
Windows 10 support ended on October 14, 2025, but these instructions remain useful for computers still running it. See Microsoft’s On-Screen Keyboard guide.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Options for laptops and compact keyboards
- Laptop: Look for
and|near Enter, Backspace, or the left Shift area, depending on the regional layout. - 60% or compact keyboard: The key may be on an Fn layer. Check the keycap legends or the manufacturer’s manual; there is no universal Fn shortcut.
- No printed pipe symbol: The character may use a secondary function, or Windows may be set to a different layout.
- Programmable keyboard: Firmware or configuration software may have remapped the key.
- External keyboard: Confirm that its physical regional layout matches the Windows layout.
Other ways to enter |
Copy and paste it
If you only need the character once, copy this:
|
This is also useful with a damaged keyboard or when working through a remote desktop or virtual machine.
Best Value
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
Try Alt+124
On many Windows applications, you can hold Alt, type 124 on a real numeric keypad, and release Alt:
Alt + 124 = |
This is a commonly used fallback, not a guaranteed method. It may require Num Lock, a built-in numeric-keypad layer, or a physical numeric keypad, and may behave differently in terminals, remote sessions, or particular applications. The number row above the letters usually does not substitute for a numeric keypad.
Remap a key with PowerToys
If you need the pipe frequently and a key is inconvenient or defective, Microsoft PowerToys Keyboard Manager can remap an unused key or shortcut. PowerToys must be running for the remapping to work. Microsoft documents limitations, including password screens and some elevated applications. See the PowerToys documentation and Keyboard Manager documentation.
Why does the pipe matter in Command Prompt and PowerShell?
In command-line environments, | is an operator that passes or combines output between commands. For example, a command may use it to send one command’s output into another command. Replacing it with /, , or ¦ will not produce the same result.
If the shortcut works in Notepad but not in a terminal, remote-desktop client, or virtual machine, the program or session may be intercepting the key. Check the layout indicator inside the active session and test the On-Screen Keyboard there if available.
Quick Recap
Quick troubleshooting checklist
- Find the key marked
|. - Use the location for your layout: above Enter on US keyboards, or left of Z on typical UK keyboards.
- Press Windows + Spacebar and confirm the active layout.
- Test the character in Notepad.
- Use the On-Screen Keyboard to see Windows’ expected key mapping.
- Try Alt+124 with a numeric keypad.
- Copy and paste
|if you need an immediate result.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

