EN DASH vs EM DASH
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://unicodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://unicodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://unicodefyi.com/entity//)
Use the native HTML custom element.
copied1 = false, 2000)"
:class="copied1 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
–
EN DASH
U+2013
View details →
copied2 = false, 2000)"
:class="copied2 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
—
EM DASH
U+2014
View details →
VS
Property Comparison
| Property | – U+2013 | — U+2014 |
|---|---|---|
| Name | EN DASH | EM DASH |
| Block | General Punctuation | General Punctuation |
| Script | Zyyy | Zyyy |
| Category | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Bidirectional | ON | ON |
Encoding Comparison
| Format | U+2013 | U+2014 |
|---|---|---|
| unicode | U+2013 | U+2014 |
| decimal | 8211 | 8212 |
| htmldecimal | – | — |
| htmlhex | – | — |
| css | \2013 | \2014 |
| javascript | \u{2013} | \u{2014} |
| python | \u2013 | \u2014 |
| java | \u2013 | \u2014 |
| go | \u2013 | \u2014 |
| ruby | \u{2013} | \u{2014} |
| rust | \u{2013} | \u{2014} |
| ccpp | \u2013 | \u2014 |
| urlencoded | %E2%80%93 | %E2%80%94 |
| utf8bytes | e2 80 93 | e2 80 94 |
| utf16bebytes | 20 13 | 20 14 |
| utf32bebytes | 00 00 20 13 | 00 00 20 14 |
| htmlentity | – | — |
How to Distinguish
Both EN DASH and EM DASH belong to the General Punctuation block and Zyyy script. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.