What an em dash is and why you need one
An em dash is a long horizontal line (—) that separates thoughts within a sentence or replaces a comma, parenthesis, or colon. It looks like this: "She wanted to leave—but couldn't." On your keyboard, you cannot type it directly the way you type a hyphen or regular dash. You have to use a keyboard shortcut, a menu command, or let your program convert it automatically.
The em dash is longer than a hyphen (-) or an en dash (–), and using the right one matters if you are writing something formal or sending it to an editor. Most word processors have built-in ways to create one without hunting through special character menus.
Key Takeaways
- On Windows, hold Alt and type 0151 on the numeric keypad to create an em dash instantly.
- On Mac, hold Shift and Option together, then press the hyphen key to type an em dash.
- In Google Docs, type two hyphens with spaces around them (like " -- ") and the program will convert it automatically.
- Microsoft Word can auto-convert hyphens to em dashes if you enable AutoCorrect in the Tools menu.
- If your keyboard has no numeric keypad, use your program's Insert menu to find Special Characters or Symbols.
Creating an em dash on Windows
The fastest way on Windows is the Alt code. Hold down the Alt key on your keyboard, then type 0151 on the numeric keypad on the right side of your keyboard (not the numbers across the top). When you release Alt, an em dash appears.
If your keyboard does not have a numeric keypad—common on laptops—use this method instead: open the program where you need the em dash, then go to Insert in the menu bar. Click Symbol or Special Characters. Search for "em dash" in the dialog box that opens, select it, and click Insert. The em dash will appear where your cursor was.
Creating an em dash on Mac
On Mac, hold Shift and Option at the same time, then press the hyphen key (the key with the minus sign). This creates an em dash instantly. It works in almost every program—Word, Google Docs, email, text editors, and browsers.
If that shortcut does not work in a specific program, try the Insert menu instead. Click Insert, then Special Characters (or Symbols, depending on your program). Type "em dash" in the search box, select it from the list, and click Insert.
Using Google Docs to create an em dash
Google Docs has automatic conversion built in. Type a hyphen with a space before it and a space after it (like this: " -- "), then press the spacebar or move to the next word. Google Docs converts it to an em dash automatically. This works as long as AutoCorrect is turned on, which it is by default.
If automatic conversion does not happen, you can insert one manually. Click Insert in the menu, then Special Characters. Type "em dash" in the search box, select it, and click it to insert it at your cursor position.
Using Microsoft Word to create an em dash
Word has the same automatic conversion as Google Docs. Type a hyphen with spaces around it (" -- "), then press the spacebar or continue typing. Word converts it to an em dash. This feature is called AutoCorrect and is on by default in most versions.
If you want to turn this feature on or off, go to File, then Options (or Preferences on Mac). Click Proofing, then AutoCorrect Options. In the AutoCorrect dialog, find the tab labeled AutoFormat As You Type. Check the box next to "Hyphens with Dashes" or "Replace hyphens with dashes," depending on your Word version. Click OK to save.
You can also insert an em dash manually without relying on AutoCorrect. Go to Insert in the menu bar, then Special Characters (or Symbol). Search for "em dash," select it, and click Insert.
Creating an em dash in other programs
Most text editors, email programs, and web-based tools follow the same pattern. Look for Insert in the menu bar, then find Special Characters, Symbols, or Character Map. Type "em dash" in the search box, select it from the results, and click Insert or OK.
Some programs do not have an Insert menu. In those cases, try the keyboard shortcut for your operating system first (Alt+0151 on Windows, Shift+Option+Minus on Mac). If that does not work, copy and paste an em dash from another source—type one in Google Docs using the automatic method, copy it, and paste it into your program.
Troubleshooting when the em dash does not appear
If the Alt code does not work on Windows, make sure you are using the numeric keypad on the right side of your keyboard, not the number row at the top. The Num Lock key must also be on. Check the light on your keyboard—if Num Lock is off, press it once to turn it on, then try the Alt code again.
If the Mac shortcut does not work, the program you are using may not support it. Try the Insert menu method instead. If Insert is not available, the program may be web-based or have limited formatting options. In that case, create the em dash in Google Docs, copy it, and paste it into your program.
If AutoCorrect is not converting your hyphens, check that the feature is turned on in your program's settings. In Word, go to File > Options > Proofing > AutoCorrect Options and verify the "Replace hyphens with dashes" box is checked. In Google Docs, make sure you have spaces before and after the hyphen—the conversion does not work without them.
Frequently Asked Questions
What is the difference between an em dash, en dash, and hyphen?
A hyphen (-) is the shortest and connects words or breaks them across lines. An en dash (–) is medium-length and shows ranges like "2010–2015" or "pages 5–8". An em dash (—) is the longest and separates thoughts or replaces commas and parentheses. Use the em dash when you want to create a strong break in your sentence.
Can I just type two hyphens instead of an em dash?
Technically yes, but it looks wrong in formal writing. Two hyphens (--) are a typewriter convention from when em dashes were not available on keyboards. Modern documents should use a real em dash. Most word processors will convert two hyphens automatically if you use the right spacing.
Why does my em dash look like two hyphens in my email?
Some email programs and web forms do not support special characters like em dashes. They may convert it back to a hyphen or display it incorrectly. If this happens, use two hyphens with spaces (--) instead, or check your email program's settings to see if you can enable rich text formatting.
Is there a way to make em dashes appear automatically as I type?
Yes. In Microsoft Word and Google Docs, turn on AutoCorrect or AutoFormat. Type a hyphen with spaces around it (" -- "), and the program converts it automatically. In other programs, check the Preferences or Settings menu for an AutoCorrect or AutoFormat option.
Can I create an em dash on my phone or tablet?
On most phones, hold down the hyphen key in your keyboard app until a menu appears with longer dashes. Select the em dash from the menu. On iPad, use the same method or go to Edit > Special Characters if your app supports it. Google Docs on mobile also converts " -- " to an em dash automatically.