Em Dash U+2014

—
Codepoint
U+2014
Decimal
8212
HTML
—
CSS
\2014
JS
\u2014
URL
%E2%80%94
UTF-8
E2 80 94
Category
Punctuation, Dash (Pd)
Block
General Punctuation

The em dash (—) is the longest of the three common dashes, roughly the width of a capital "M". Its job is to mark a strong break in a sentence — an abrupt turn, an interruption, or an aside that deserves more emphasis than a comma or a pair of parentheses. It has been standard English punctuation for centuries. Use the "Copy Em Dash" button above to copy — to your clipboard, then paste it anywhere.

Most people never type an em dash on purpose because it is not on any standard keyboard — casual writing uses a hyphen (-) or a double hyphen (--) instead. In professionally edited text, though, the em dash is everywhere, which is exactly why it now carries a second meaning.

In the age of AI, the em dash has become one of the most talked-about tells of machine-generated text. ChatGPT, Claude, Gemini, and other large language models are widely observed to use em dashes more than typical casual human writing, likely in part because they learned from edited prose where the em dash is standard. That is why a tool built to detect invisible and special characters treats the em dash as a first-class citizen: it is one of the characters AI output contains most often, and it can quietly break code, CSV files, and search when that text is pasted into technical contexts.

Why AI Models Overuse Em Dashes

The most common explanation: AI language models like ChatGPT, Claude, Gemini, and others learn their writing style from their training data. That training data includes millions of professionally edited texts: published books, academic papers, newspaper articles, and magazine features. In professionally edited text, em dashes are standard.

Human writers, by contrast, default to whatever is on their keyboard. A hyphen requires one keystroke. An em dash requires a special key combination or auto-correct. So most casual human writing uses hyphens or double hyphens where an em dash would be "correct."

AI models have no keyboard. Generating an em dash costs them nothing extra. So they readily produce the typographically "correct" version, resulting in text with noticeably more em dashes than many humans would naturally write.

Other AI-Favored Characters

Em dashes are not the only character AI models overuse. The full pattern includes:

CharacterCodepointWhy AI uses it
Em DashU+2014Standard in edited text, no keyboard barrier
(" " ' ')U+201C-201D, U+2018-2019Typographically correct quotes
Horizontal Ellipsis (…)U+2026Single character vs three periods
U+2013Correct for ranges, common in edited text
U+200BOccasionally found in pasted AI output; origin unclear

Common Uses (Legitimate)

The em dash is perfectly valid punctuation with several standard uses:

  • Strong break in a sentence. Creates a stronger pause than a comma or semicolon. Example: The results were clear—the experiment was a success.
  • Parenthetical statements. Sets off a phrase mid-sentence, like parentheses but with more emphasis. Example: The team—all five members—agreed to the plan.
  • Interrupted dialogue in fiction. Shows a speaker being cut off abruptly. Example: "I was just about to—" He never finished the sentence.
  • Replacing colons or semicolons. Introduces an explanation with more dramatic weight. Example: There was only one problem—nobody showed up.
  • Attribution in quotes. Placed before the author name at the end of a block quote.

How to Type

PlatformMethod
WindowsAlt+0151 on the numeric keypad (the "em dash alt code").
macOSOption+Shift+Hyphen.
iPhone / iPadLong-press the hyphen (-) key, then choose the em dash (—).
AndroidLong-press the hyphen (-) key, then select the em dash (—).
LinuxCtrl+Shift+U, type 2014, press Enter.
Microsoft WordType two hyphens between words with no spaces (word--word) and Word auto-corrects to an em dash.
Google DocsType three hyphens (---) for auto-correction (two give an en dash), or Insert > Special Characters.
HTMLType — or — or —.
JavaScriptUse \u2014 in strings.
MarkdownNot standard. Processors with smart punctuation (e.g., SmartyPants) convert --- to an em dash.

Em Dash vs En Dash vs Hyphen

This is one of the most common points of confusion in typography. Here is the definitive comparison:

CharacterSymbolCodepointWidthPrimary useExample
Hyphen-U+002DShortCompound wordswell-known
–U+2013MediumRanges and connections2020–2025, New York–London
Em Dash—U+2014LongSentence breaksThe result—surprisingly—was positive.
Minus Sign−U+2212MediumMathematics5 − 3 = 2

Quick Rules

  • If you are joining two words, use a hyphen: self-aware, well-being, twenty-one.
  • If you are showing a range or connection, use an en dash: pages 1–10, Monday–Friday, the London–Paris train.
  • If you are creating a pause, interruption, or aside in a sentence, use an em dash: He arrived—finally—at midnight.

When Em Dashes Cause Problems

Em dashes in AI-generated content can cause real technical issues:

  • CSV and TSV files. If AI-generated text containing em dashes is placed in a CSV column, some parsers will misinterpret the character or produce encoding errors.
  • Command-line arguments. Pasting text with em dashes into a terminal can break commands, since the em dash is not a valid flag prefix (that requires a regular hyphen).
  • JSON and XML. While technically valid in JSON strings, some older parsers or systems that expect ASCII may choke on em dashes.
  • Search and matching. Searching for a hyphen will not find an em dash, and vice versa. This can cause search results to miss relevant content.
  • Plain text contexts. Emails, code comments, commit messages, and other plain-text contexts may not render em dashes correctly in all fonts and terminals.

Detecting Em Dashes

Use our Invisible Character Viewer to paste any text and instantly see all em dashes and other special characters highlighted. The tool shows the Unicode code point and character name on hover.

In code, you can detect em dashes with:

js
// JavaScripttext.includes('\u2014')
// Replace em dashes with regular hyphenstext.replace(/\u2014/g, '-')
// Replace em dashes with double hyphens (common plain-text convention)text.replace(/\u2014/g, '--')

Style Guides and Em Dashes

Different style guides have different rules about em dash spacing:

  • AP Style: Em dash with a space on each side: word — word
  • Chicago Manual of Style: Em dash with no spaces: word—word
  • British style: Often uses en dash with spaces instead: word – word
  • AI default: ChatGPT often uses em dashes with no spaces, following Chicago-style American conventions.

There is no single "correct" style. Pick one and be consistent.

Frequently Asked Questions

What does an em dash mean?
An em dash (—) signals a strong break in a sentence. It can stand in for a comma, colon, semicolon, or parentheses to add emphasis, set off an aside, or mark an interruption — for example: "The results were clear—the experiment worked." It is the longest of the dashes, wider than a hyphen (-) or an en dash (–).
How do I type an em dash on a Mac?
Press Option+Shift+Hyphen to type an em dash (—) on a Mac. On iPhone or iPad, long-press the hyphen key and choose the em dash. On Windows, hold Alt and type 0151 on the numeric keypad. Or just click the "Copy Em Dash" button at the top of this page.
Why does ChatGPT use so many em dashes?
The most common explanation is that ChatGPT trained on professionally edited text like books, articles, and academic papers where em dashes are standard typography. Since AI models don't use keyboards, typing special characters requires no extra effort. Human writers default to hyphens because they are on the keyboard. The result is that AI text often contains noticeably more em dashes than typical casual human writing.
What is the difference between em dash, en dash, and hyphen?
A hyphen (-) is the shortest, used for compound words like 'well-known'. An en dash (–) is medium-width, used for ranges like '2020–2025'. An em dash (—) is the longest, used for breaks in sentences. They are three separate Unicode characters: U+002D, U+2013, and U+2014.
Can em dashes identify AI-generated text?
Overuse of em dashes is one common indicator of AI-generated text, but it is not reliable on its own. Many professional human writers also use em dashes heavily. It is one signal among several, not a definitive test.
How do I type an em dash?
On Windows: Alt+0151 on the numeric keypad. On Mac: Option+Shift+Hyphen. In HTML: — or —. In Word: type two hyphens between words with no spaces (word--word) and Word will auto-correct to an em dash. Or copy from this page.
Do em dashes cause problems in code?
Yes. Em dashes can break CSV parsing, cause issues in command-line arguments, fail in ASCII-only contexts, and produce unexpected results in text comparison. If you copy AI-generated text into code or data files, check for em dashes first.

Related Characters

Need to detect or remove Em Dash characters in your text?

Open Invisible Character Viewer