Em Dash Symbol —

Copy to Clipboard


Em Dash Symbol Information

Symbol Name Em Dash
Unicode Version 1.1 (June 1993)
Unicode U+2014
CSS Code \2014
HTML Entity —
Hex Code —
HTML Code —
Latex \textemdash

Em Dash Symbol Encoding

UTF-8 0xE2 0x80 0x94
UTF-16 0x2014
UTF-32 0x00002014


Em Dash symbol's PNG and SVG files


How to type em dash symbol in latex

Copy \documentclass{article}
\begin{document}
\textemdash
\end{document}

How to add em dash symbol via keyboard on different Operating systems

You can type the em dash on most modern devices with the help of following methods:

How to type em dash symbol on Microsoft Word

You can type the em dash on microsoft Microsoft Word using steps mentioned below:

  • Place your cursor in the text area where you need to insert the symbol and type 2 0 1 4
  • Without moving the cursor press keys Alt + x together
  • The original 2 0 1 4 is now transformed into —

How to type em dash symbol on Microsoft Windows

You can type the em dash on Microsoft windows using following steps:

  • Hold Alt and press to type em dash on your windows machine.

How to type em dash symbol on Mac OS

You can type the em dash on Mac OS using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
  • Type “Em Dash” in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
  • How to type em dash symbol on Mac OS
    How to type em dash symbol on Mac OS

How to type em dash symbol on Linux

You can type the em dash on Linux using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Hold ⇧ Shift + Ctrl and press the letter + U
  • Press keys 2 0 1 4 consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type em dash symbol on IOS and Android

The easiest way to type the em dash on ios and android is to copy and paste it wherever you need it.


How to use em dash in CSS

Copy // css example
span {
content: "\2014";
}

How to type em dash in HTML

Copy // html example
<span>&#8212;</span>

Em Dash symbol representation in programming languages

em dash's representation in different programming languages can be found in table below:

Language Representation
Rust \u{2014}
Ruby \u{2014}
Python \u2014
PHP \u{2014}
Perl "\x{2014}"
Java \u2014
Modern JavaScript - Since ES6 \u{2014}
JavaScript \u2014
Go \u2014
C# \u2014
C and C++ \u2014
Bash and Zsh - inside echo -e \u2014
RFC 5137 \u'2014'
No Result
Try something else