—
ASCII 151
ASCII Character
Em Dash
ASCII byte 151 (0x97) — Unicode U+2014. 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(151).
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 2014 (from U+2014), 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 2014 (from U+2014), 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 |
Em Dash
|
— |
| ASCII Decimal |
151
|
|
| ASCII Hex |
0x97
|
|
| Unicode Code |
U+2014
|
|
| HTML Decimal Code |
—
|
|
| HTML Hex Code |
—
|
|
| HTML Entity |
—
|
|
| CSS Code |
\2014
|
|
| JavaScript Code |
\u2014
|
|
| Category |
ASCII Extended / Windows-1252 (128–255)
|
— |
FAQs about Em Dash ASCII Code Symbol
What is the ASCII code for Em Dash ASCII Code Symbol?
ASCII decimal 151, hex 0x97, Unicode U+2014.
How do I copy —?
Click Copy Symbol on this page to copy the character directly.
How do I type ASCII 151 in JavaScript?
Use String.fromCharCode(151) to output this character in JavaScript.
About this ASCII Character
Extended ASCII byte 151 (0x97, U+2014) is em dash. Part of the complete extended ASCII table (Windows-1252, 128–255).
Tags: em-dash,ascii,extended-ascii,151,0×97,U+2014,ascii table,copy symbol
