How to Turn Automatic Smart Quotes On or Off
Turn automatic smart (curly) quotes on or off in Word, Outlook, Google Docs, LibreOffice, macOS and iPhone or iPad, convert quotes already in your text, and confirm the result.
Many writing apps replace the quote marks you type with curly ones as you type. This guide explains what that autocorrect feature does, how to switch it on or off in common editors, how to convert quotes that are already in a document, and how to check that the change worked.
What automatic smart quotes do to your text
A keyboard has one double-quote key and one single-quote key. Both produce straight quotes, also called typewriter quotes. They look the same at the start and end of a quotation. Smart quotes, also called curly or typographic quotes, have separate opening and closing shapes. When automatic smart quotes are on, the editor checks the characters around each quote you type and swaps the straight character for an opening or closing curly one.
| Character | Name | Unicode code point |
| " | Straight double quote | U+0022 |
| ' | Straight single quote (apostrophe) | U+0027 |
| “ | Left (opening) double quote | U+201C |
| ” | Right (closing) double quote | U+201D |
| ‘ | Left (opening) single quote | U+2018 |
| ’ | Right (closing) single quote, also the typographic apostrophe | U+2019 |
The setting works as you type. Switching it on or off changes only the quotes you type afterward. It does not rewrite quotes already in the document. To change existing text, use the conversion steps later in this guide.
When to turn it on: curly quotes are the usual choice for polished prose, such as articles, books and formatted documents. When to turn it off: straight quotes are needed wherever the characters carry meaning. Examples include source code, command lines, configuration files, spreadsheet formulas, JSON, CSV and other data, and inch or foot marks such as 6' 2". A curly quote pasted into a terminal or a code file is a different character from the one the program expects, and it can cause errors.
Before you change the setting
- Find out which layer is doing the substitution. On a Mac or an iPhone, the operating system can curl quotes in many apps, and an app such as Word has its own separate setting. You may need to change both.
- Menu names and locations differ between app and operating-system versions. The paths below describe common layouts. If your version labels a menu differently, search the app's settings for "quotes" or "AutoFormat".
- To fix a single substitution without changing any setting, press Undo (Ctrl+Z on Windows, Command+Z on a Mac) right after the quote changes. In Microsoft Word and many other editors, this reverts only the automatic replacement and leaves the straight quote you typed.
Microsoft Word for Windows
- 1. Open File, then Options.
- 2. Select Proofing, then click AutoCorrect Options.
- 3. Open the AutoFormat As You Type tab.
- 4. Under Replace as you type, check or uncheck "Straight quotes" with "smart quotes".
- 5. Click OK, then OK again.
The AutoFormat tab in the same dialog has an option with the same name. That one controls the separate AutoFormat command, not live typing. If you run AutoFormat on whole documents, set it to match.
Microsoft Word for Mac
- 1. Open the Word menu, then Preferences (called Settings in some versions).
- 2. Choose AutoCorrect, then the AutoFormat As You Type tab.
- 3. Check or uncheck "Straight quotes" with "smart quotes".
- 4. If quotes still curl after you turn this off, also check the macOS setting described below.
Outlook for Windows
Outlook has its own AutoCorrect settings for composing messages. Go to File, then Options, then Mail, and click Editor Options. Select Proofing, click AutoCorrect Options, open the AutoFormat As You Type tab, and change the "Straight quotes" with "smart quotes" option.
Google Docs
- 1. Open Tools, then Preferences.
- 2. On the General tab, check or uncheck Use smart quotes.
- 3. Click OK.
LibreOffice Writer
- 1. Open Tools, then AutoCorrect Options (in some versions, Tools, then AutoCorrect, then AutoCorrect Options).
- 2. Open the Localized Options tab.
- 3. Under Double Quotes and Single Quotes, check or uncheck Replace. These are two separate settings, so set each one.
- 4. Click OK.
macOS system-wide setting
On recent macOS versions, open System Settings, then Keyboard. Under Text Input, click Edit next to Input Sources and turn "Use smart quotes and dashes" on or off. On older versions, the option is under System Preferences, then Keyboard, then the Text tab. This setting also changes dash substitution. Many Mac apps also have a per-document toggle under Edit, then Substitutions, then Smart Quotes, which applies only in that app.
iPhone and iPad
Open Settings, then General, then Keyboard, and turn Smart Punctuation on or off. This setting also controls dash substitution. Some apps still apply their own formatting, so check inside the app if quotes keep changing.
Convert quotes already in a document
In Word, you can use the setting together with Find and Replace to convert existing text. Save a copy of the document first, because Replace All changes every match, including quotes you may have wanted to keep.
- Straight to curly: turn the smart quotes option on. Open Find and Replace (Ctrl+H). Type " in both Find what and Replace with, then click Replace All. Repeat with '. Word applies the as-you-type rule to each replacement, so it picks opening or closing marks based on the surrounding text.
- Curly to straight: turn the smart quotes option off and repeat the same steps. With the option off, Word matches curly quotes when you search for a straight quote and inserts straight ones in their place.
Plain-text files can be converted with a find-and-replace or a command-line tool. The following GNU sed command is an illustrative example that has not been tested here. It assumes the file is UTF-8 and the shell uses a UTF-8 locale. In another encoding, the curly characters are stored as different bytes, and the pattern may not match. The -i.bak option edits the file in place and keeps the original as a .bak backup.
sed -i.bak "s/[“”]/\"/g; s/[‘’]/'/g" notes.txt
Converting curly to straight cannot lose information. Converting straight to curly has to guess. A leading apostrophe, as in '90s or 'tis, often becomes an opening quote (‘90s) instead of an apostrophe (’90s). Foot and inch marks can also be curled by mistake. Check these cases by hand after any automatic conversion.
Check the result
Example input, typed with the smart quotes setting on:
She said "it's 5' tall" and left.
Expected appearance with the setting on (illustrative):
She said “it’s 5’ tall” and left.
With the setting off, the text should stay exactly as typed, with straight characters. The example also shows a common problem: the foot mark after 5 became a curly apostrophe. If the text is a measurement, use Undo or retype it with the setting off.
- Look closely at the shapes. Straight quotes are vertical and look the same at both ends. Curly quotes slant or curve, and the opening and closing marks differ. Zooming in helps in many fonts.
- Search for the characters. In Word, with the smart quotes option off, a search for " also finds curly quotes, so it cannot tell them apart. Search for a specific curly character instead, for example by pasting “ into the Find box.
- In a plain-text or code editor, search for the characters themselves (“ ” ‘ ’) or by code point (U+201C, U+201D, U+2018, U+2019) if your editor's regular-expression engine supports that. Note that the escape syntax differs between engines. No matches means the text contains only straight quotes.
- Type a test phrase such as "test" and it's in a new document. Confirm it follows the new setting before you return to real work.
Limits of this guide
No version-specific documentation was supplied for this article, so the menu paths above reflect common layouts and have not been checked against each current release. Software updates may rename or move these options. Settings for other apps and keyboards, including Android keyboards and web-based email clients, are not covered here. Check each tool's own settings or help pages.