Punctuation

How to type Em dash (—)

Copy the character, or use the shortcut that matches your keyboard and app.

Windows

Hold Alt and type 0151 on the numeric keypad.

Mac

Option + Shift + Hyphen

Microsoft Word

Ctrl + Alt + Minus (numeric) or 2014 then Alt + X

Google Docs

Insert → Special characters → em dash

How to insert it

Copy

Click the keycap, then paste with Ctrl+V or Cmd+V.

Alt code

Num Lock on, hold Alt, type 0151, release Alt.

Code

Use the Unicode, HTML, CSS, or JS value below in documents and stylesheets.

Unicode
U+2014
HTML decimal
—
HTML hex
—
CSS
\2014
JavaScript
\u{2014}
Alt code
Alt + 0151

Related