U+002D · Basic Latin
Hyphen-Minus
Hyphen-Minus is the Unicode character U+002D (official name “HYPHEN-MINUS”) from the Basic Latin block. It belongs to SymbolHero’s punctuation collection. Copy it with the button, or use the codes and keyboard methods below to type it yourself.
UnicodeU+002D
HTML-
-U+002D
Character codes
| Unicode code point | U+002D | |
|---|---|---|
| Decimal | 45 | |
| HTML (hex) | - | |
| HTML (decimal) | - | |
| CSS | \002D | |
| JavaScript | \u002D | |
| Python | \u002D | |
| UTF-8 bytes | 2D | |
| UTF-16 | 002D | |
| URL-encoded | %2D |
Character details
| Official name | HYPHEN-MINUS |
|---|---|
| Unicode block | Basic Latin |
| General category | Dash Punctuation (Pd) |
| SymbolHero category | Punctuation |
| Emoji | No |
How to type -
Windows
- In Microsoft Word or Outlook: type
002Dthen press Alt + X. - Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “hyphen-minus”, then Select and Copy.
Mac
- Press Control + Command + Space to open the Character Viewer, search “hyphen-minus”, and double-click the result.
- With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type
002D.
iPhone & Android
- Tap Copy at the top of this page, then long-press where you want it and choose Paste.
Docs & web
- Google Docs: Insert → Special characters, then search “hyphen-minus” or enter
U+002D. - HTML:
- - Excel / Google Sheets:
=UNICHAR(45)
Similar punctuation
Questions
What is the Unicode for -?
It is U+002D (HYPHEN-MINUS), decimal 45.
Is there a Windows Alt code for it?
No standard Alt code exists for this character. In Word type 002D then Alt+X, or copy it from this page.
How do I type it on a Mac?
There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “hyphen-minus”, or copy it from this page.
What is the HTML code?
Use the numeric reference - (or -). There is no named entity.