–
ASCII 150
ASCII Character
En Dash
ASCII byte 150 (0x96) — Unicode U+2013. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.
How to type –
Windows
- Copy – with the Copy Symbol button above and paste it anywhere.
- In HTML, use – or hex –.
- In JavaScript, use String.fromCharCode(150).
- You can also type this character with a Windows Alt Code (U+2013).
Mac
- Copy – with the Copy Symbol button and paste it (fastest method).
- Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
- Select Unicode Hex Input from the menu bar input menu.
- Hold Option (⌥), type 2013 (from U+2013), then release Option.
- Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.
- In HTML on Mac editors, you can also paste –.
Linux
- Copy – with the Copy Symbol button and paste it.
- Press Ctrl + Shift + U, type 2013 (from U+2013), then press Enter or Space.
- On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
- In HTML, use –.
ASCII character details
| Parameter | Value | Copy |
|---|---|---|
| Symbol |
–
|
|
| Symbol Name |
En Dash
|
— |
| ASCII Decimal |
150
|
|
| ASCII Hex |
0x96
|
|
| Unicode Code |
U+2013
|
|
| HTML Decimal Code |
–
|
|
| HTML Hex Code |
–
|
|
| HTML Entity |
–
|
|
| CSS Code |
\2013
|
|
| JavaScript Code |
\u2013
|
|
| Category |
ASCII Extended / Windows-1252 (128–255)
|
— |
| Windows Alt Code | View Alt Code | — |
FAQs about En Dash ASCII Code Symbol
What is the ASCII code for En Dash ASCII Code Symbol?
ASCII decimal 150, hex 0x96, Unicode U+2013.
How do I copy –?
Click Copy Symbol on this page to copy the character directly.
How do I type ASCII 150 in JavaScript?
Use String.fromCharCode(150) to output this character in JavaScript.
Does ASCII 150 have an Alt Code?
This character may also be typed with a Windows Alt Code — view details.
About this ASCII Character
Extended ASCII byte 150 (0x96, U+2013) is en dash. Part of the complete extended ASCII table (Windows-1252, 128–255).
Tags: en-dash,ascii,extended-ascii,150,0×96,U+2013,ascii table,copy symbol
