Home › Symbols › Em dash — and en dash –

Em dash —, en dash – & hyphen

Copy the em dash — or en dash – in one click, learn when to use each one instead of a hyphen, and type them on Windows, Mac, Word and phones.

⧉ One-click copy⌨️ Alt 0151 = —⌨️ Alt 0150 = –🍎 Option + Shift + –
—
Em dash
U+2014
Alt code: 0151
–
En dash
U+2013
Alt code: 0150
–
Hyphen
U+002D
Alt code: 45
−
Minus sign
U+2212

How to type Em dash — and en dash –

Pick your device.

CharHow to type it
—Hold Alt and type 0151 on the number pad.
–Hold Alt and type 0150.
Alt codes need a number pad with Num Lock on.
CharHow to type it
—Press Option + Shift + -.
–Press Option + -.
CharHow to type it
—Press Ctrl + Alt + Num -, or type two hyphens between words: word–word.
–Press Ctrl + Num - (minus on the number pad).
Word’s AutoFormat turns — into a dash as you type.
CharHow to type it
—Press and hold the - key and slide to —.
–Press and hold - and slide to –.
On iPhone, typing two hyphens also becomes an em dash in many apps.
CharHow 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

UnicodeU+2014
HTML entity—
HTML code—
CSS\2014
JavaScript\u2014

– En dash

UnicodeU+2013
HTML entity–
HTML code–
CSS\2013
JavaScript\u2013

– Hyphen

UnicodeU+002D
HTML entity-
HTML code-
CSS\002D
JavaScript\u002D

− Minus sign

UnicodeU+2212
HTML entity−
HTML code−
CSS\2212
JavaScript\u2212

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.

Copied!