Hyphen-minus vs Minus Sign

Compare two Unicode characters side by side — encodings, HTML entities, escape sequences, and Unicode properties. Useful for distinguishing visually similar characters like hyphens and dashes, quotation marks, or homoglyphs.

vs
-

Hyphen-minus

U+002D

Minus Sign

U+2212

Property Comparison

Property Hyphen-minus Minus Sign
Codepoint U+002D U+2212
Decimal 45 8722
HTML Entity - −
HTML Decimal - −
HTML Hex - −
UTF-8 2D E2 88 92
UTF-16 00 2D 22 12
UTF-32 0000002D 00002212
CSS Escape \2D \2212
JS Escape \u002D \u2212
Python Escape \u002D \u2212
URL Encoded - %E2%88%92
Category Dash Punctuation (Pd) Math Symbol (Sm)
Block Basic Latin Mathematical Operators
Script Common Common
Bidi Class ES ES
Unicode Version 1.1 1.1
Rows highlighted in amber differ between the two characters.