How to Type an Em Dash in Windows
In this article
To type an em dash (—) in Windows, the quickest method is to press Alt+0151 on the numeric keypad. If your keyboard lacks a numeric keypad, you can use the built-in emoji panel (Win+. or Win+;) and select the em dash from the symbols section. This guide covers all reliable methods, including keyboard shortcuts, character maps, and auto-replacement in word processors.
What You'll Need
- A Windows PC (any version, though menu labels may vary slightly).
- A keyboard with a numeric keypad for the Alt-code method; if not, use the emoji panel or Character Map.
- Access to the application where you want to type the em dash (e.g., Word, Notepad, browser).
Step-by-Step
Method 1: Using the Numeric Keypad (Alt Code)
- Place your cursor where you want the em dash to appear.
- Ensure Num Lock is on (the Num Lock light should be lit).
- Hold down the Alt key.
- On the numeric keypad (the separate number pad on the right side of the keyboard), type 0151.
- Release the Alt key. The em dash (—) will appear.
Note: This works in most applications, including Notepad, Word, and browsers. If you're using a laptop without a dedicated numeric keypad, you may need to enable the embedded numeric keypad (often by pressing Fn+NumLk) or use another method.
Method 2: Using the Emoji Panel (Windows 10 and 11)
- Place your cursor where you want the em dash.
- Press Win + . (period) or Win + ; (semicolon) to open the emoji panel.
- In the panel, click the Ω (Omega) symbol tab at the top (it's the fourth icon from the left, typically).
- Scroll down or type "em dash" in the search box at the top of the panel to find the em dash character.
- Click the em dash (—) to insert it into your text.
- Close the panel by pressing Esc or clicking outside it.
Method 3: Using the Character Map
- Press Win + R to open the Run dialog.
- Type charmap and press Enter. The Character Map window opens.
- In the "Search for" field, type em dash and click Search.
- Click the em dash character in the results, then click Select.
- Click Copy.
- Go back to your document and press Ctrl + V to paste the em dash.
Method 4: Auto-Replace in Microsoft Word
- In Microsoft Word, type two hyphens (--) followed by a space or a word boundary. Word automatically converts them to an em dash.
- If this doesn't happen, go to File > Options > Proofing > AutoCorrect Options.
- In the "Replace" field, type -- and in the "With" field, paste an em dash (copy one from this guide or use the Character Map).
- Click Add, then OK.
Common Mistakes
- Using the hyphen key instead of the numeric keypad: The Alt code requires the numeric keypad, not the number row above the letters. Pressing Alt+0151 using the top row will not work.
- Forgetting Num Lock: If Num Lock is off, the numeric keypad acts as arrow keys, and the Alt code won't work.
- Confusing em dash with en dash: The em dash (—) is longer than the en dash (–). The en dash is typed with Alt+0150. Make sure you're using the correct one.
- Spacing issues: In most English style guides, the em dash has no spaces around it. Some other languages or styles use spaces, but that's a style choice, not a typing error.
Tips
- Create a custom shortcut: If you use the em dash frequently, consider setting up a text expansion tool (like AutoHotkey or the built-in Windows text replacement in some apps) to replace a short code (e.g., "--") with the em dash automatically.
- Use the emoji panel for other symbols: The same panel (Win+.) also includes en dash, bullet points, and other punctuation.
- In Word, you can also use Ctrl+Alt+Minus (on numeric keypad) to insert an em dash directly, but this only works in Word and requires the numeric keypad.
- Copy and paste from this guide: You can simply copy the em dash character from here: —
Troubleshooting
If the Alt code doesn't work:
- Check that Num Lock is on. Press the Num Lock key once and try again.
- Make sure you're using the numeric keypad, not the number row.
- Try a different application. Some older or specialized programs may not support Alt codes.
- If you're on a laptop without a numeric keypad, enable the embedded numeric keypad (usually by pressing Fn+NumLk). Then the keys on the right side of the keyboard (like M, J, K, L, U, I, O, 7, 8, 9) become numbers. Hold Alt and type 0151 using those keys.
If the emoji panel doesn't show the Ω symbol:
- Make sure you're on Windows 10 or 11. The emoji panel is not available in older versions.
- If the panel opens but the Ω tab is missing, click the search bar at the top and type "em dash" directly.
If Character Map doesn't find it:
- In the Character Map, make sure the "Character set" is set to "Unicode" (not "ASCII").
- If search fails, scroll through the list manually—the em dash is usually near the end of the punctuation section.
Frequently Asked Questions
What is the difference between an em dash and an en dash?
An em dash (—) is the width of the letter "M" and is used to create a strong break in a sentence. An en dash (–) is the width of an "N" and is used for ranges (e.g., 10–20). They are separate characters with different keyboard shortcuts.
Can I type an em dash without a numeric keypad?
Yes. Use the emoji panel (Win+.) and select the em dash from the symbols tab, or use the Character Map. You can also enable the embedded numeric keypad on laptops that have it.
Does the Alt code work in all applications?
Mostly, but some apps (like certain web editors or terminal programs) may not support Alt codes. In those cases, use the emoji panel or copy-paste.
Why does my em dash have spaces around it?
That's likely a style choice in the software you're using (like some word processors that auto-format). In English typography, the em dash is usually unspaced. You can adjust the auto-format settings in your word processor if you prefer.
Can I use the em dash in file names or passwords?
Yes, the em dash is a valid character in file names and passwords on Windows, but be cautious: some older systems or online forms may not handle it well. It's safer to use a hyphen in file names for compatibility.
Is there a way to type an em dash on a phone or tablet?
On most mobile keyboards, press and hold the hyphen key (-) and a pop-up will show the en dash and em dash options. Slide your finger to select the em dash.