Skip to content
Simple But How

Horizontal bar

―

Unicode
U+2015
HTML
―

How to type ―

Windows

Mac

iPhone and Android

Linux and Chromebook

Codes for ―

Unicode U+2015
HTML name ―
HTML decimal ―
HTML hex ―
CSS \2015 (for the content property)
JavaScript \u2015
URL encoding %E2%80%95
UTF-8 bytes E2 80 95

Unicode details

The official Unicode name of this character is Horizontal bar. Its code point is U+2015 (decimal 8213) and it belongs to the General Punctuation block.

More punctuation and typography symbols

See all 26 punctuation and typography symbols