-

HYPHEN-MINUS

U+002D Dash Punctuation (Pd) · Basic Latin · Zyyy

Encoding Table

Format Value Copy
unicode U+002D
decimal 45
htmldecimal -
htmlhex -
css \002D
javascript \u{2D}
python \u002d
java \u002D
go \u002D
ruby \u{2D}
rust \u{2D}
ccpp \u002d
urlencoded -
utf8bytes 2d
utf16bebytes 00 2d
utf32bebytes 00 00 00 2d

How to Use

HTML: -
CSS: content: "\002D"
JavaScript: "\u{2D}"
Python: "\u002d"

Properties

Block
Basic Latin
Script
Zyyy
Category
Dash Punctuation (Pd)
Bidirectional
ES
Combining
0
Mirrored
No
← , U+002C U+002E . →

Compare

Frequently Asked Questions

What is the - character (HYPHEN-MINUS)?

- (HYPHEN-MINUS) is the Unicode character U+002D.

What is the Unicode codepoint of HYPHEN-MINUS?

The HYPHEN-MINUS character (-) has codepoint U+002D.

How do I type or copy HYPHEN-MINUS?

Copy - directly, or use the HTML entity, UTF-8, and code encodings shown on this page.