The long dash — often called the em dash—is the preferred punctuation for strong breaks, parenthetical emphasis, and headline-style clarity. Many writers confuse it with the hyphen, en dash, or double hyphen approximations, which can undermine readability and introduce rendering issues. This guide explains how to insert the long dash on Windows, macOS, iOS, Android, and web platforms, outlines correct HTML and markdown usage, and clarifies common typographic conventions in journalism and web publishing.
What Is the Long Dash (—)
The long dash—em dash (—)—is a character roughly the width of a capital M in the current typeface. It differs from: - Hyphen (-), used to join compound words. - En dash (–), used for ranges and connections. - Double hyphen (--), a legacy ASCII fallback that may not render consistently.
In editorial style, the em dash sets off clauses or phrases with more emphasis than commas, but less formality than parentheses. Proper use improves pacing and readability in both long-form prose and on-screen content.
Typography and Style Rules
Em dash usage follows clear conventions that vary slightly between style guides. Key practices include:
- Spacing: In most contemporary styles, the em dash is written without spaces on either side—like this.
- Spacing (traditional): Some print styles use spaced en dashes or spaced em dashes — like this.
- Line breaks: Avoid automatic splits; configure nonbreaking behavior where possible to keep the dash with surrounding text.
- Paired use: An em dash can mark a sudden break or emphasis mid sentence, or pair with another to set off a clause—much like commas or parentheses but with higher visual weight.
Em Dash vs En Dash vs Hyphen
Understanding each character’s purpose prevents substitution errors across writing platforms.
| Character | Name | Common Use | Typical Width |
|---|---|---|---|
| - | Hyphen | Compound words, line-breaking | Same as a letter |
| – | En dash | Ranges, connections | Half M width |
| — | Em dash | Strong breaks, emphasis | M width |
How to Insert a Long Dash on Windows
Windows offers multiple input methods that are reliable and quick once set up.
Using the Character Map
Open Character Map, locate the em dash, and copy it to the clipboard for pasting into any field.
Keyboard Shortcut
Press and hold Alt, then type 0151 on the numeric keypad, and release Alt to produce —.
Touch Keyboard and Shortcuts
In touch mode, long-press the hyphen key to reveal an expanded set of dashes, including the em dash.
How to Insert a Long Dash on macOS
macOS integrates the em dash into most apps via simple keyboard shortcuts.
Keyboard Shortcut
Press Option + Shift + 8 for an immediate —. Alternatively, use Option + 8 for an en dash – when needed.
Character Viewer
Open the Character Viewer from the Input menu to browse and copy dashes and other punctuation.
How to Insert a Long Dash on iOS and iPadOS
Apple touch keyboards provide easy access to dashes through long-press gestures.
- Long-press the hyphen key to reveal en dash and em dash options.
- Slide to select the desired dash character; it inserts at the cursor position.
How to Insert a Long Dash on Android
Stock and third-party keyboards offer similar long-press access to symbols.
- Long-press the hyphen or numbers key to show alternate symbols.
- Switch to the symbols layout to locate and tap the em dash.
Entering the Long Dash in HTML and Markdown
When authoring for the web, correct character references ensure consistent rendering.
HTML Entities
- Named entity: — produces —
- Numeric entity: — produces —
- Numeric hex entity: — produces —
Markdown
Standard markdown passes through raw punctuation. Simply type — if your keyboard allows, or use the appropriate HTML entity if your parser requires entities.
Common Mistakes and How to Avoid Them
Misuse of shorter dashes is the most frequent issue and can affect both aesthetics and legibility.
- Do not use double hyphens -- as a replacement—verify your editor converts them or insert the true character.
- Avoid adding spaces around the em dash in standard prose—like this—unless a specific style guide mandates them.
- Check fonts for consistent dash width; some older or restricted fonts may render the em dash inconsistently.
- In code, prefer raw UTF-8 where supported rather than escape sequences, unless required for compatibility.
Quick Reference: Copy-Ready Dash Characters
Copy the characters below directly into your content, and verify they render correctly in your target platform.
- Hyphen: -
- En dash: –
- Em dash (long dash): —
When in doubt, paste the em dash — into your text and test line and page layouts to confirm proper rendering across devices and browsers.