How to type –
Fastest way on each device: Windows, Alt+0150 on the numeric keypad; Mac, Option+Hyphen; iPhone and Android, copy and paste; Linux, Ctrl+Shift+U then 2013.
Windows
Hold Alt and type 0150 on the numeric keypad, then let go of Alt.
In Microsoft Word you can also type 2013 and then press Alt+X.
Mac
Press Option+Hyphen on a US keyboard layout.
Or press Control+Command+Space, search for “en dash” and double-click –.
iPhone
Tap Copy above, then touch and hold where you want – and tap Paste.
To type it from the keyboard, open Settings › General › Keyboard › Text Replacement, tap +, paste – as the Phrase and add a Shortcut.
Android
Tap Copy above, then touch and hold where you want – and tap Paste.
To type it from the keyboard in Gboard, open Gboard settings › Dictionary › Personal dictionary, tap +, paste – and add a shortcut.
Linux
Press Ctrl+Shift+U, type 2013, then press Space or Enter. This works in most GTK and IBus apps.
Word and Google Docs
Word: type 2013, then press Alt+X.
Google Docs: open Insert › Special characters and search for “en dash”.
Codes for –
| Unicode | U+2013 |
|---|---|
| Official name | EN DASH |
| Block | General Punctuation |
| Added in | Unicode 1.1 |
| HTML named | – |
| HTML decimal | – |
| HTML hex | – |
| CSS | content: "\2013"; |
| JavaScript | "\u2013" |
| Python | "\u2013" |
| UTF-8 bytes | E2 80 93 |
| Windows Alt code | Alt+0150 |
Look-alikes
- —Em dash, U+2014