Vertical Line Alt Code

| Alt + 0124

Alt Code

Vertical Line

Type this character on Windows, Mac, or Linux using the steps below.

How to type |

Windows

  1. Place your cursor where you want to insert |.
  2. Turn on Num Lock on your keyboard.
  3. Press and hold the Alt key.
  4. Type 0124 using the numeric keypad (not the top row).
  5. Release the Alt key to insert |.
  6. Shortcut label: Alt + 0124.

Mac

  1. Copy | with the Copy Symbol button and paste it (fastest method).
  2. Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
  3. Select Unicode Hex Input from the menu bar input menu.
  4. Hold Option (⌥), type 007C (from U+007C), then release Option.
  5. Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.

Linux

  1. Copy | with the Copy Symbol button and paste it.
  2. Press Ctrl + Shift + U, type 007c (from U+007C), then press Enter or Space.
  3. On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.

Alt Code details

Parameter Value Copy
Symbol |
Symbol Name Vertical Line
Alt Code Alt + 0124
Alt Number 0124
Alt Code Type Leading Zero
Unicode Code U+007C
HTML Decimal Code |
HTML Hex Code |
HTML Entity |
CSS Code \007C
JavaScript Code \u007C
Category Slash Alt Codes
Description Used to insert the vertical line (|) via Windows Alt codes for slash.

FAQs about Vertical Line Alt Code

What is the Alt code for Vertical Line Alt Code?

The Alt code for Vertical Line Alt Code is Alt + 0124. On Windows, use the Alt key and numeric keypad as shown above.

How do I type | on Windows?

To type | on Windows, turn on Num Lock, hold the Alt key, type 0124 using the numeric keypad, and release the Alt key.

How do I type | on Mac?

On Mac, copy the symbol or enable Unicode Hex Input, hold Option (⌥), type 007C (from U+007C), then release Option. You can also use Edit → Emoji & Symbols.

How do I type | on Linux?

On Linux, copy the symbol or press Ctrl + Shift + U, type 007c, then press Enter or Space.

What type of Alt code is Alt + 0124?

Alt + 0124 is a Leading Zero. Some Alt codes use normal numbers, while some use leading zero numbers like 0176.

Why is Alt + 0124 not working?

If Alt + 0124 is not working, make sure Num Lock is turned on and type the number using the numeric keypad. On some laptops, you may need to use the Fn key or the on-screen keyboard.

Can I copy | directly?

Yes. You can use the Copy Symbol button on this page to copy | directly without typing the Alt code.

About this Alt Code

Use Alt + 0124 to type the vertical line (|) on Windows. Used to insert the vertical line (|) via Windows Alt codes for slash.

Tags: vertical-line,|,alt + 0124,U+007C,slash,alt code,windows

Leave a Reply

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

Scroll to Top