Em dash, en dash and hyphen
English has three horizontal marks that look alike on screen but do different jobs. The hyphen is the shortest and joins words into compounds such as well-known or re-enter. The en dash, roughly the width of a capital N, marks ranges: pages 10–12, the 1990–2000 season, a London–Paris route. The em dash, about the width of a capital M, sets off a break in thought, an aside, or a sudden turn at the end of a sentence.
| Mark | Character | Code point | Typical job |
|---|---|---|---|
| Hyphen | - |
U+002D |
Compound words, line breaks |
| En dash | – |
U+2013 |
Ranges and connections |
| Em dash | — |
U+2014 |
Breaks, asides, emphasis |
| Horizontal bar | ― |
U+2015 |
Quotation dash in some typesetting |
| Double hyphen | -- |
two U+002D |
Typewriter stand-in for an em dash |
Typewriters had no em dash key, so typists wrote two hyphens instead, and that habit survives in plain-text email, Markdown drafts and chat exports. Word processors often convert a double hyphen into a real em dash as you type, which is one reason the proper character turns up in so much pasted text.
Style guides also disagree on spacing. American style, including Chicago, usually closes the em dash up against the words on either side, while many British publishers and newspapers prefer a spaced en dash for the same purpose. The remover copes with all of these: it catches the em dash and the horizontal bar with or without surrounding spaces, and it can also treat en dashes between words and double hyphens as separators. The hyphen itself is never touched, so compound words stay intact.