How to Use the Find and Replace Tool to Automatically Delete Double Spaces in Google Docs

When multiple people collaborate on a massive Google Docs document, formatting inconsistencies are inevitable. One of the most common and frustrating formatting errors is the “double space” after a period—a habit left over from the era of manual typewriters. If you are preparing a document for professional publication, manually reading through 20 pages to visually hunt for extra spaces is impossible. Instead, you can hijack the standard “Find and Replace” tool to automatically sanitize the entire document in one second.

The Problem with Double Spaces

Modern word processors use proportional fonts, meaning the software automatically calculates the perfect amount of breathing room after a period. Forcing a second tap of the spacebar creates a massive, ugly gap in the text block that instantly marks the document as unprofessional.

How to Use Find and Replace for Formatting

While most people only use Find and Replace to swap misspelled words, the tool is incredibly powerful because it also recognizes invisible formatting characters, including the physical spacebar stroke.

  1. Open your Google Docs document.
  2. Press the keyboard shortcut Ctrl + H (or Cmd + H on a Mac) to open the Find and Replace dialogue box.
  3. Click inside the Find text box. Press your spacebar exactly two times. (The box will look empty, but the software knows the invisible spaces are there).
  4. Click inside the Replace with text box. Press your spacebar exactly one time.
  5. Click the blue Replace all button at the bottom of the window.

Verifying the Results

Google Docs will instantly scan the entire document, locating every single instance where two spaces exist consecutively, and mathematically collapse them down into a single, perfectly formatted space.

Because some users accidentally type three or even four spaces between sentences, it is highly recommended that you click the Replace all button a second time just to guarantee the document is completely sanitized.

Get the best tech tips delivered straight to your inbox.

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