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

  1. 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:
    1. Press Alt + (Windows key + spacebar), then type Insert Special Character and select it from the Start menu.
    2. Choose "Unicode Hex Value," paste 2014, and click OK.
  2. 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 shortcut Option + Shift + 8 (also works for other Unicode symbols). To double-check:
    1. Type "Unicode" in Spotlight (⌘ + Space), search for EM DASH, and verify the key combination.
  3. 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.
  4. Mobile (iPhone/Android): Tap the "..." (more) button in the keyboard settings and enable Smart Quotes or Unicode Input. For the long dash:
    1. Open a text field, tap the globe icon (or "..." on Android) to access advanced keyboard options.
    2. Select Unicode or Special Characters, then search for EM DASH. Tap it to insert the dash.
    Note: On iOS, the shortcut Option + Shift + 8 may not work due to Apple’s restrictions. Use the manual search method instead.
  5. Web (Chrome/Firefox/Edge): Open the full keyboard and type a short sequence:
    1. Press Ctrl + Alt + U (Windows/Linux) or Cmd + Option + U (macOS) to open the Unicode input mode.
    2. Enter the hex code 2014, then press Enter. Close the input mode when done.
    This works in all modern browsers and word processors (Google Docs, Microsoft Word, etc.).

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-8 in 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:
    1. Go to File > Options > Customize Ribbon > Quick Access Toolbar
    2. Add a macro to insert Unicode U+2014 (use the "Insert Special Character" method above).
  • 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:

  1. Restart your computer: A simple reboot often resolves keyboard driver or app glitches.
  2. Update your keyboard drivers (Windows) or OS (macOS/Linux): Go to:
    • Windows: Settings > Devices > Keyboard > Update drivers
    • macOS: System Preferences > Keyboard > Input Sources > Add and select a modern Unicode keyboard layout (e.g., "English (US)" with full Unicode support).
  3. Switch to a different app: Test the long dash in a browser (e.g., Google Docs) to rule out app-specific issues.
  4. Verify Unicode support: Open a text editor like Notepad (Windows) or TextEdit (macOS), type – (hyphen), then paste U+2014. If the dash appears, your system supports it. If not, your OS/OSX version lacks Unicode input.
  5. 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.
  6. Last resort: manually type the dash: If nothing works, use the Unicode value U+2014 and 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.