Search
Search for a symbol or emoji...
–
–
En Dash Symbol –
En Dash Symbol Information
| Symbol Name | En Dash |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2013 |
| CSS Code | \2013 |
| HTML Entity | – |
| Hex Code | – |
| HTML Code | – |
| Latex | \textendash |
| Symbol | – |
En Dash Symbol Encoding
| UTF-8 | 0xE2 0x80 0x93 |
| UTF-16 | 0x2013 |
| UTF-32 | 0x00002013 |
En Dash Symbol in Latex
En Dash
1\documentclass{article}
2\begin{document}
3\textendash
4\end{document}How to add en dash symbol via keyboard on different Operating systems
You can type the en dash symbol on most modern devices with the help of following methods:
How to type en dash symbol on Microsoft Word
You can type the en dash in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2013
- Without moving the cursor press keys Alt + x together
- The original 2013 is now transformed into –
How to type en dash symbol on Microsoft Windows
You can type the en dash on Microsoft windows using following steps:
- Hold Alt and press to type en dash on your windows machine.
How to type en dash symbol on Mac OS
You can type the en 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 "En 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 en dash symbol on Linux
You can type the en 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 2013 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type en dash symbol on IOS and Android
The easiest way to type the en dash symbol on ios and android is to copy and paste it wherever you need it.
How to use en dash in CSS
//CSS Example
1span {
2 content: \2013;
3 }How to use en dash in HTML
//HTML Example
1<span>–</span>En Dash symbol representation in programming languages
En Dashsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2013} |
| Ruby | \u{2013} |
| Python | \u2013 |
| PHP | \u{2013} |
| Perl | \x{2013} |
| Java | \u2013 |
| Modern JavaScript - Since ES6 | \u{2013} |
| JavaScript | \u2013 |
| Go | \u2013 |
| C# | \u2013 |
| C and C++ | \u2013 |
| Bash and Zsh - inside echo -e | \u2013 |
| RFC 5137 | \u'2013' |
