Home / Guides

Em Dash (—): How to Type It, Copy and Paste It, and Use It

Published 2026-10-13

The em dash (—) is the long dash that marks a break in a sentence. Most keyboards have no key for it, which is why so many people look up how to type it. Below you will find a copy-ready character, the way to type it on every common device and app, the codes for HTML and programming, and the rules for using it well.

Copy and paste an em dash

Select the character in the first column and copy it, or use one of the codes beside it:

CharacterNameUnicodeHTML
—Em dashU+2014— or —
–En dashU+2013– or –
-Hyphen-minus (the keyboard key)U+002Dtyped directly

In JavaScript, Python, Java and JSON strings the em dash is written "—". In a CSS content value it is "\2014". Stored as UTF-8 it takes three bytes, E2 80 94.

What is an em dash?

An em dash is a punctuation mark for a break in thought. The break is stronger than a comma and less formal than a colon or a pair of parentheses. The name comes from the em, a typesetting unit equal to the current type size: in 12-point type, one em is 12 points. The em dash is nominally one em long, which makes it about twice as long as an en dash and several times as long as a hyphen. Its exact length depends on the font.

It is a separate character from the hyphen on your keyboard, not a longer drawing of the same thing. Software compares characters by their codes, so a search for a hyphen does not find an em dash, and a search for an em dash does not find a hyphen. Our comparison of the em dash, en dash and hyphen puts the three side by side.

How to type an em dash

WhereHow
MacOption + Shift + - (the hyphen key)
Windows, any appHold Alt and type 0151 on the numeric keypad, with Num Lock on
Windows 10 and 11Press Win + . (period) to open the emoji panel, switch to its symbols tab and pick the dash
Microsoft Word on WindowsCtrl + Alt + - on the numeric keypad, or type 2014 and press Alt + X
Word, automaticallyType two hyphens between two words with no spaces, like word--word, and keep typing. AutoFormat turns the pair into an em dash.
Google DocsInsert > Special characters, then search for em dash
iPhone and iPadOn the numbers keyboard, touch and hold the hyphen key, then slide to the longest dash
Android with GboardOpen the symbols keyboard, touch and hold the hyphen key, then choose the em dash
LinuxPress the Compose key, then type three hyphens. In many apps you can also press Ctrl + Shift + U, type 2014 and press Enter.

A few notes on that table:

How to use an em dash

The em dash has a small number of jobs. These are the common ones, each with an example:

JobExample
Setting off an aside, in a pairThe printer—the one on the third floor—is broken again.
Marking a sudden turnI was sure I had locked the door—or had I?
Introducing an explanationShe wanted one thing—a quiet weekend.
Summing up a listFlour, eggs, butter—everything was already on the counter.
Showing interrupted speech“But you said—”
Naming the source of a quotation—Jane Austen

Spaces or no spaces?

Both styles are correct, and the choice belongs to the style guide you follow. The Chicago Manual of Style, which most American book publishers use, sets the em dash with no space on either side. The Associated Press style used by many newspapers puts a space before and after it. Many British publishers skip the em dash for asides and use an en dash with spaces instead. Pick one style and keep to it through the whole document.

How many is too many?

A pair of em dashes around an aside is the most a sentence can comfortably carry. When several sentences in a row lean on the dash, the page starts to feel breathless, and a comma, a colon or a full stop usually does the job better. If your text came from a chatbot and is crowded with them, our guide on getting fewer em dashes in ChatGPT text covers prompts and replacements.

What an em dash is not for

Em dashes in plain text, code and data

In plain-text settings an em dash can cause small surprises. A command copied from a document may have had its two leading hyphens merged into one em dash by autocorrect, and the command then fails because the program no longer sees an option. Older systems that do not expect Unicode can show the character as a question mark or as a short run of odd symbols. A search for a hyphenated term will not match a version written with a dash.

If you need plain hyphens, the AI Text Cleaner has an Em dash option that turns each em dash into a spaced hyphen, a comma or a space. The spaced hyphen is the default, so if you paste text there and want your em dashes left alone, set that option to keep. A dash at the very start or end of a line is dropped rather than replaced.

Quick answers

Is an em dash the same as two hyphens? Two hyphens are the typewriter stand-in for an em dash. Many apps convert the pair into the real character as you type, but in plain text they stay two hyphens.

What is the Alt code for an em dash? Hold Alt and type 0151 on the numeric keypad. The en dash is Alt plus 0150.

Why does my em dash show up as strange symbols? The text was saved in one character encoding and opened in another. An em dash read the wrong way often appears as an accented letter a, a euro sign and a quote mark. Our guide to mojibake explains the cause and the fix.

Try it on your own text. Paste a draft and choose whether em dashes stay, or become hyphens or commas. Open the AI Text Cleaner

Related guides