Pipe Symbol

Copy the pipe symbol (|) and find its Alt code, Unicode value, and keyboard shortcut for any keyboard layout.

Pipe Symbol

Click the symbol to copy it

Formats

Character |
Unicode U+007C
HTML entity |
HTML decimal |
CSS escape \007C
URL encoded %7C

Click any row to copy that exact string.

Keyboard Shortcuts

System / layout Shortcut Notes
Windows (Alt code) Hold Alt, type 124 on the numeric keypad.
Windows (Unicode) Same result using the 4-digit code.
US keyboard (Win/Mac) Shift plus the backslash key, top-right of the letter block.
UK keyboard Uses the extra ISO key next to the left Shift, not the US backslash key.
German keyboard QWERTZ layout: the <>| key sits to the left of the Y key.
French AZERTY keyboard The 6 key doubles as the pipe with AltGr held.
Linux (GTK) Type the hex code, then press Enter or Space.
Microsoft Word Type 007C then press Alt+X to convert it.

Try it

Turn a comma-separated list into a regex alternation group and copy the result.

(cat|dog|bird)

Copied!

Summary

Copy the pipe symbol (|) and find its Alt code, Unicode value, and keyboard shortcut for any keyboard layout.

How it works

  1. Click the large | symbol to copy the plain character to your clipboard.
  2. Or click any row in the Formats list to copy that exact encoded form (Unicode, HTML entity, URL encoding).
  3. Switch to the Broken bar tab to copy the legacy ¦ variant instead.
  4. Check the keyboard shortcut table for your OS and keyboard layout — the pipe key moves around by country.
  5. Use the "Try it" box to turn a comma-separated list into a regex alternation group and copy the result.

Use cases

  • Chain shell commands together, such as ls | grep or ps aux | less.
  • Write a regex alternation like cat|dog|bird to match any of several words.
  • Delimit columns in a plain-text or Markdown table.
  • Type the pipe on a keyboard layout where it is not Shift+backslash, such as German or French.
  • Insert the HTML entity &verbar; when a raw | gets stripped by a text filter.
  • Look up the Alt code for pasting into legacy software that blocks copy-paste.
  • Build a quick alternation group for a regex without leaving the browser.

Frequently Asked Questions

Last updated: 2026-07-22 · Reviewed by Nham Vu