How to Stop Google Docs from Automatically Adding Smart Quotes (Curly Quotes)

The Problem with Smart Quotes

Word processors like Google Docs are designed to make your writing look professional. One way they achieve this is by automatically converting straight quotation marks (" ") and straight apostrophes (') into “Smart Quotes” (also known as curly quotes or typographer’s quotes). These are the aesthetically pleasing, slightly slanted quotation marks that curve inward toward the text.

For novelists and essayists, smart quotes are essential. However, for programmers, web developers, or anyone writing technical documentation, smart quotes are a disaster. If you copy and paste a line of code containing curly quotes into a terminal or a code editor, the compiler will fail to recognize the characters, resulting in frustrating syntax errors. If you frequently use Google Docs to draft code snippets, JSON payloads, or terminal commands, you must force Docs to use basic, straight ASCII quotation marks.

How to Disable Automatic Smart Quotes

You can turn off this auto-formatting feature in the Preferences menu.

  1. Open a document in Google Docs.
  2. Click on the Tools tab in the top menu bar.
  3. Select Preferences from the dropdown list.
  4. In the Preferences window, make sure you are on the General tab.
  5. Look for the checkbox labelled Use smart quotes.
  6. Uncheck the box.
  7. Click the blue OK button to save your changes.

From now on, whenever you press the quote or apostrophe key on your keyboard, Google Docs will insert a raw, straight quotation mark that is perfectly safe to copy and paste into any programming environment.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.