On Windows, hold Alt and type 0166 on the numeric keypad to insert broken bar.

Alt code
Alt+0166
HTML entity
¦
Unicode
U+00A6

About this symbol

The broken bar was once just another way to draw the vertical bar |, and many keyboards, including the standard British layout, still print the key with a gap in the middle. Latin-1 made them two separate characters, so ¦ now has its own Alt code, while | is the one programs and maths expect.

Unicode facts

Official name
BROKEN BAR
Also called
Broken vertical bar (1.0), Parted rule (in typography)
Type
Symbol
Unicode block
Latin-1 Supplement
Unicode group
Latin-1 punctuation and symbols
Added in
Unicode 1.1 (1993)
Related
| Vertical Line U+007C

Click the symbol or any value at the top of the page to copy it. See the full Windows Extended Codes: 0128 to 0255 chart for related characters.

Cookie preferences

Choose which optional cookies you allow. You can change your choice at any time from Cookie Settings at the bottom of every page. Read the Cookie Notice

Necessary Needed for the site to work and to remember your cookie choice. Always on.