Horizontal Bar

U+2015
BMP Unicode 1.1
Character
Decimal ―
Hex ―

Classification

Unicode properties assigned to this character by the Unicode Consortium. The codepoint is its unique numeric identifier. Category, block, and script determine how text systems render and process it.

Codepoint
U+2015
Decimal
8213
Plane
BMP — Basic Multilingual Plane
Category
Dash Punctuation (Pd)
Script
Common
Bidi class
ON Other Neutral
East Asian Width
A Ambiguous
Properties
Dash

Looks Like (Confusables)

Characters that are visually similar — relevant for security, font design, and homoglyph detection.

Encodings & Escape Sequences

Every Unicode character can be represented in multiple ways depending on context. HTML entities let you embed it safely in web pages. UTF-8 bytes are what gets stored on disk and sent over the network. Escape sequences let you reference it in source code without pasting the raw glyph. All formats below refer to the same character — Horizontal Bar.

Click the copy icon to copy any value.

Format Value
HTML Decimal
―
HTML Hex
―
UTF-8 Hex Bytes
E2 80 95
UTF-16 Hex Bytes
20 15
UTF-32 Hex
00002015
CSS Escape
\2015
JavaScript Escape
\u2015
Python Escape
\u2015
URL Encoded
%E2%80%95
Have a string containing this character? Decode it to see every codepoint. UnicodeDecoder →