How to type —
Fastest way on each device: Windows, Alt+0151 on the numeric keypad; Mac, Option+Shift+Hyphen; iPhone and Android, copy and paste; Linux, Ctrl+Shift+U then 2014.
Windows
Hold Alt and type 0151 on the numeric keypad, then let go of Alt.
In Microsoft Word you can also type 2014 and then press Alt+X.
Mac
Press Option+Shift+Hyphen on a US keyboard layout.
Or press Control+Command+Space, search for “em 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 2014, then press Space or Enter. This works in most GTK and IBus apps.
Word and Google Docs
Word: type 2014, then press Alt+X.
Google Docs: open Insert › Special characters and search for “em dash”.
Codes for —
| Unicode | U+2014 |
|---|---|
| Official name | EM DASH |
| Block | General Punctuation |
| Added in | Unicode 1.1 |
| HTML named | — |
| HTML decimal | — |
| HTML hex | — |
| CSS | content: "\2014"; |
| JavaScript | "\u2014" |
| Python | "\u2014" |
| UTF-8 bytes | E2 80 94 |
| Windows Alt code | Alt+0151 |
Look-alikes
- –En dash, U+2013