Hyphen-minus
- is the Unicode character “HYPHEN-MINUS” (U+002D). It belongs to the Basic Latin block and was added in Unicode 1.1. Click it to copy, or use the codes below.
- codes
| UnicodeCode point | U+002D |
|
|---|---|---|
| HTML codeDecimal, works in any HTML page | - |
|
| HTML hexHexadecimal HTML code | - |
|
| CSSFor the CSS content property | \002D |
|
| JavaScriptEscape in JavaScript strings | \u002D |
|
| PythonEscape in Python strings | \u002D |
|
| URL encodedPercent-encoded UTF-8 | - |
|
| UTF-8Bytes in UTF-8 | 2D |
|
| UTF-16Code units in UTF-16 | 002D |
How to type -
Copy and paste
Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.
Windows
Press Win + . to open the emoji and symbol panel, then search for “hyphen-minus”.
In Microsoft Word, type 002D and press Alt + X.
Mac
Press Control + ⌘ + Space to open the Character Viewer, then search for “hyphen-minus”.
iPhone and Android
Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).
About -
- Unicode name
- HYPHEN-MINUS
- Code point
- U+002D (45)
- Block
- Basic Latin
- Category
- Dash Punctuation
- Unicode version
- 1.1