U+2014
Em dash—
Em dash is a monochrome text character from the Unicode General Punctuation block, listed here under Punctuation. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "long", "dash".
Quick facts
- Unicode
- U+2014
- Decimal
- 8212
- Hex
- 0x2014
- Octal
- 0o20024
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2014 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | EM DASH | |
| DecimalBase 10 | 8212 | |
| HexadecimalBase 16 | 0x2014 | |
| OctalBase 8 | 0o20024 | |
| BinaryBase 2 | 0010000000010100 | |
| General categoryPunctuation, dash | Pd | |
| Unicode blockU+2000–U+206F | General Punctuation | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | — | |
| HTML entity (hex) | — | |
| HTML entity (named) | — | |
| CSS content escapeUse inside content: "…" | \2014 | |
| URL encodedPercent-encoded UTF-8 | %E2%80%94 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2014 | |
| JSONUTF-16 surrogate pairs | \u2014 | |
| Python | \u2014 | |
| Java / C# / Kotlin | \u2014 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 80 94 | |
| UTF-16 (BE) | 2014 | |
| UTF-32 (BE) | 00002014 |
How to type Em dash
Windows
Hold Alt and type +2014 with the hex numeric keypad option enabled, or type 2014 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2014. Or open Character Viewer (Control+Command+Space) and search "Em dash".
Linux
Press Ctrl+Shift+U, type 2014, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: — in HTML, \2014 in CSS, and \u2014 in JavaScript.
Official Unicode reference
- Character name
- EM DASH
- Block
- General Punctuation (U+2000–U+206F)
- General category
- Pd — Punctuation, dash
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the General Punctuation block: U2000.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Em dash symbol?
Click the Copy button at the top of this page, or select — and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Em dash?
Em dash is U+2014 (decimal 8212, hexadecimal 0x2014, octal 0o20024). It lives in the General Punctuation block (U+2000–U+206F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Em dash?
The Unicode Standard (version 18.0.0) names this character "EM DASH". Its General_Category is Pd (Punctuation, dash).
What is the HTML code for Em dash?
Use — or —, or the named entity —. In CSS, use content: "\2014".
How do I type Em dash in code?
JavaScript: "\u2014". Python: "\u2014". JSON and Java: "\u2014". The UTF-8 byte sequence is E2 80 94.
Is Em dash an emoji?
No. Em dash is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.
Related symbols in Punctuation
View all punctuation- Ellipsis
- En dash
- Bullet
- Middle dot
- Triangular bullet
- White bullet
- Pilcrow
- Section sign
- Dagger
- Double dagger
- Per mille
- Per ten thousand
- Left double quote
- Right double quote
- Left single quote
- Right single quote
- Double low quote
- Single low quote
- Inverted exclamation
- Inverted question
- Interrobang
- Double question mark
- Question exclamation
- Exclamation question