En dash
–
- Unicode
- U+2013
- Alt code
- Alt + 0150
- Mac
- Option + Hyphen
- HTML
- –
When to use it
The en dash joins ranges, such as 2019–2026 or pages 10–15. It is wider than a hyphen and narrower than an em dash.
How to type –
Windows
- Hold the Alt key and type 0150 on the numeric keypad, then release Alt. Num Lock must be on, and the number row above the letters will not work.
- In Word and Outlook, type 2013 and then press Alt + X. The code turns into –.
- On Windows 10 and 11, press the Windows key and the full stop key together to open the emoji panel, then switch to its symbols tab.
Mac
- Press Option + Hyphen. This is for the US keyboard layout; other layouts may place it elsewhere.
- Press Control + Command + Space to open the Character Viewer, search for "en dash", and double-click the result.
iPhone and Android
- On an iPhone or iPad, touch and hold the - key on the numbers and symbols keyboard, then slide your finger to – and let go.
- On Android the symbol keys differ between keyboards. Open the ?123 keyboard and try a long press on the same key, or copy the symbol from this page.
- If you use it often, save it as a text shortcut. On iPhone: Settings, General, Keyboard, Text Replacement. In Gboard: Settings, Dictionary, Personal dictionary.
Linux and Chromebook
- Press Ctrl + Shift + U, type 2013, then press Enter. This works in most Linux desktop apps and on Chromebooks.
Codes for –
| Unicode | U+2013 |
|---|---|
| HTML name | – |
| HTML decimal | – |
| HTML hex | – |
| CSS | \2013 (for the content property) |
| JavaScript | \u2013 |
| URL encoding | %E2%80%93 |
| UTF-8 bytes | E2 80 93 |
| Windows Alt code | Alt + 0150 |
Unicode details
The official Unicode name of this character is En dash. Its code point is U+2013 (decimal 8211) and it belongs to the General Punctuation block.