—
Em Dash Symbol —
The em dash, used to set off a phrase in English.
How to type —
| Windows Alt code | Alt + 0151Hold Alt and type the number on the numeric keypad. |
|---|---|
| Word (Windows) | 2014 → Alt + XType the code, then press Alt + X. |
| Mac | Shift + Option + -U.S. keyboard layout. |
| iPhone / Android | Copy it from this page and paste. Most phone keyboards do not have it. |
— Unicode and HTML codes
| Unicode name | EM DASH |
|---|---|
| Code point | U+2014 |
| Unicode block | General Punctuation |
| HTML entity | — |
| HTML numeric | — |
| CSS | content: "\2014"; |
| JavaScript | "\u2014" |
| Python | "\u2014" · "\N{EM DASH}" |
| UTF-8 bytes | E2 80 94 |
Related symbols: Lines & Dashes
‐Hyphen
‑Non-Breaking Hyphen
‒Figure Dash
―Horizontal Bar
‥Two Dot Leader
¦Broken Bar
|Vertical Line
━Box Drawings Heavy Horizontal
─Box Drawings Light Horizontal
┃Box Drawings Heavy Vertical
┌Box Drawings Light Down And Right
┐Box Drawings Light Down And Left
└Box Drawings Light Up And Right
┘Box Drawings Light Up And Left
├Box Drawings Light Vertical And Right
┤Box Drawings Light Vertical And Left
┬Box Drawings Light Down And Horizontal
┴Box Drawings Light Up And Horizontal
┼Box Drawings Light Vertical And Horizontal
║Box Drawings Double Vertical
FAQ
How do I type — on Windows?
Hold Alt and type 0151 on the numeric keypad. In Word you can also type 2014 and press Alt+X.
How do I type — on a Mac?
Press Shift + Option + - on the U.S. keyboard layout.
What is the HTML code for —?
— or —. In CSS use content: "\2014".
The exact look of a symbol depends on the font and device.