En dash

– is the Unicode character “EN DASH” (U+2013). It belongs to the General Punctuation block and was added in Unicode 1.1. Click it to copy, or use the codes below.

– codes

UnicodeCode point U+2013
HTML codeDecimal, works in any HTML page –
HTML hexHexadecimal HTML code –
HTML entityNamed HTML entity –
CSSFor the CSS content property \2013
JavaScriptEscape in JavaScript strings \u2013
PythonEscape in Python strings \u2013
URL encodedPercent-encoded UTF-8 %E2%80%93
UTF-8Bytes in UTF-8 E2 80 93
UTF-16Code units in UTF-16 2013
Alt codeWindows, number pad Alt + 0150

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

Hold Alt and type 0150 on the number pad (Num Lock on), then let go of Alt.

In Microsoft Word, type 2013 and press Alt + X.

Mac

Press Option + -.

Or open the Character Viewer with Control + ⌘ + Space.

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).

HTML and CSS

Unicode U+2013. Every format is on the en dash page.

About –

Unicode name
EN DASH
Code point
U+2013 (8211)
Block
General Punctuation
Category
Dash Punctuation
Unicode version
1.1
Mac shortcut
Option + -