The long dash (—), also called an em dash or en dash, is essential for punctuation, range indicators, and stylistic clarity in documents, emails, or any text formatting. It replaces hyphens for stronger emphasis or spans across words/ideas without parentheses. Unlike hyphens (–), it’s rendered as a full-width unit, making it ideal for titles, lists, or complex phrases like "New York–Boston flight." On most systems, you can press a single keyboard shortcut to insert it, but the exact command varies by platform. Below is a precise, step-by-step guide for entering a long dash on Windows, macOS, Linux, mobile, and web.
What You'll Need
- A computer, tablet, or smartphone with a connected keyboard.
- An app or OS that supports Unicode input (most modern systems do).
- Optional: A reference to the Unicode value U+2014 for troubleshooting.
Step-by-Step
-
Windows: Press
Alt + 0150(hold Alt and type 0150 on the numeric keypad), then release. This inserts the long dash (—). To confirm, check the Unicode code page in your app (most use UTF-8). If the dash appears blank, hold Shift while pressing the hyphen key (–) to switch between hyphen, en dash (–), and long dash (—). Alternatively, use the "Insert Special Character" dialog:- Press
Alt +(Windows key + spacebar), then typeInsert Special Characterand select it from the Start menu. - Choose "Unicode Hex Value," paste
2014, and clickOK.
- Press
-
macOS: Press
Shift + Option + Hyphen(the key left of the return/enter key on US keyboards). This is the most reliable shortcut and works in all apps. If your keyboard lacks this key, use the shortcutOption + Shift + 8(also works for other Unicode symbols). To double-check:- Type "Unicode" in Spotlight (
⌘ + Space), search forEM DASH, and verify the key combination.
- Type "Unicode" in Spotlight (
-
Linux (GNOME/KDE): Use
Shift + Option + Hyphen(Similar to macOS). If that fails, open the keyboard settings and enable "Unicode input" in the text entry preferences. -
Mobile (iPhone/Android): Tap the "..." (more) button in the keyboard settings and enable
Smart QuotesorUnicode Input. For the long dash:- Open a text field, tap the globe icon (or "..." on Android) to access advanced keyboard options.
- Select
UnicodeorSpecial Characters, then search forEM DASH. Tap it to insert the dash.
Option + Shift + 8may not work due to Apple’s restrictions. Use the manual search method instead. -
Web (Chrome/Firefox/Edge): Open the full keyboard and type a short sequence:
- Press
Ctrl + Alt + U(Windows/Linux) orCmd + Option + U(macOS) to open the Unicode input mode. - Enter the hex code
2014, then pressEnter. Close the input mode when done.
- Press
Common Mistakes
-
Using hyphen instead of long dash: On Windows, accidentally pressing
Shift + –yields an en dash (–) instead of the long dash (—). Hold Shift while typing–to switch between variants. -
Unicode character not displaying: If the dash appears empty or as a blank space, ensure your document supports UTF-8 encoding (most modern apps do). Force a re-save from
File > Save As > UTF-8in Word/Google Docs. -
Mobile shortcuts failing: Apple’s iOS restricts shortcuts for security. Use the manual Unicode search method instead of
Option + Shift + 8.
Tips
-
Create a keyboard shortcut: Some apps (e.g., Microsoft Word) allow you to assign a custom shortcut for the long dash. In Word:
- Go to
File > Options > Customize Ribbon > Quick Access Toolbar - Add a macro to insert
Unicode U+2014(use the "Insert Special Character" method above).
- Go to
-
Use in emails: Most email clients (Gmail, Outlook) support the long dash via Unicode input. For example, in Gmail’s "Insert Special Character" dialog, paste
2014. - Batch formatting: In Word, highlight text and use the "Replace" function with the long dash (U+2014) as the find/replace character for bulk edits.
- Check your OS version: If shortcuts don’t work, update your keyboard drivers (Windows) or OS (macOS/Linux). Older versions may lack Unicode support.
Troubleshooting
If the long dash doesn’t appear after following steps, try these solutions in order:
- Restart your computer: A simple reboot often resolves keyboard driver or app glitches.
-
Update your keyboard drivers (Windows) or OS (macOS/Linux): Go to:
- Windows:
Settings > Devices > Keyboard > Update drivers - macOS:
System Preferences > Keyboard > Input Sources > Addand select a modern Unicode keyboard layout (e.g., "English (US)" with full Unicode support).
- Windows:
- Switch to a different app: Test the long dash in a browser (e.g., Google Docs) to rule out app-specific issues.
-
Verify Unicode support: Open a text editor like Notepad (Windows) or TextEdit (macOS), type
–(hyphen), then pasteU+2014. If the dash appears, your system supports it. If not, your OS/OSX version lacks Unicode input. - Use a third-party app: Tools like Reverso or Unicode Character Tables can help manually input the dash if your system refuses to recognize it.
-
Last resort: manually type the dash: If nothing works, use the Unicode value
U+2014and copy-paste it into your document.
Frequently Asked Questions
Where can I find the Unicode value for the long dash?
Use a Unicode converter like this one (search for "EM DASH" and copy the hex code 2014). Alternatively, type Alt + 0150 on Windows to reveal the code in some apps.
Why does the long dash not appear in my document?
It likely means your document is saved in a non-UTF-8 format (e.g., ISO-8859-1). Save as UTF-8 or re-open with a Unicode-aware editor.
Can I use the same shortcut for all Unicode symbols?
No. macOS/Linux use Shift + Option + Key for most symbols, while Windows relies on Alt + Hex or the "Insert Special Character" dialog.
How do I remove a long dash if it’s misplaced?
Select the dash, press Backspace or Delete. If it resists, use the "Replace" function in Word/Google Docs to find U+2014 and replace it with an empty space.
Is the long dash different from the hyphen-minus?
Yes. The long dash (U+2014) is a full-width unit for emphasis, while the hyphen-minus (U+002D) is used for compound words (e.g., mother-in-law).
Why does my iPhone keyboard not support the long dash?
Apple restricts shortcuts for security reasons. Use the manual Unicode search method or enable Smart Quotes in keyboard settings to add it.