How to type Em dash — and en dash –
Pick your device.
| Char | How to type it |
|---|---|
| — | Hold Alt and type 0151 on the number pad. |
| – | Hold Alt and type 0150. |
| Char | How to type it |
|---|---|
| — | Press Option + Shift + -. |
| – | Press Option + -. |
| Char | How to type it |
|---|---|
| — | Press Ctrl + Alt + Num -, or type two hyphens between words: word–word. |
| – | Press Ctrl + Num - (minus on the number pad). |
| Char | How to type it |
|---|---|
| — | Press and hold the - key and slide to —. |
| – | Press and hold - and slide to –. |
| Char | How to type it |
|---|---|
| — | Press Ctrl + Shift + U, type 2014, then press Space. |
| – | Press Ctrl + Shift + U, type 2013, then press Space. |
Hyphen vs en dash vs em dash
Three lines, three jobs.
Hyphen ( – ) — the shortest. It joins words: well-known, e-mail, twenty-one.
En dash ( – ) — the width of the letter N. It shows ranges and connections: pages 10–20, 9:00–5:00, the London–Paris train.
Em dash ( — ) — the width of the letter M. It adds a break or emphasis in a sentence — like this — and can replace commas, brackets or a colon.
The minus sign ( − ) looks like an en dash but is a separate maths character; use it in equations such as 5 − 3 = 2.
Ready to copy
Em dash — and en dash – codes for web and code
Copy the exact code for HTML, CSS or JavaScript.
— Em dash
– En dash
– Hyphen
− Minus sign
Frequently asked questions
Dashes and hyphens.
How do I type an em dash?
On Windows hold Alt and type 0151. On a Mac press Option + Shift + hyphen. In Word press Ctrl + Alt + minus on the number pad.
How do I type an en dash?
On Windows hold Alt and type 0150. On a Mac press Option + hyphen.
When should I use an en dash?
For ranges and connections, such as 2020–2026 or Monday–Friday.
Should there be spaces around an em dash?
American style usually has no spaces (word—word); British style often uses a spaced en dash instead (word – word). Pick one style and use it consistently.
What is the HTML code for an em dash?
Use — or — for —, and – or – for –.
Related symbols
More characters you can copy in one click.