Tiny Lever

How to Remove Double Spaces, Double Line Spacing and Blank Lines in Google Docs

Documents pasted from email, PDFs or old Word files are full of double spaces, empty lines, mixed quotes and leftover highlighting. Fixing them by hand takes ages. FindSwap's Clean up tab counts each problem and fixes the ones you tick.

Remove double line spacing (space between lines)

If the gap is between lines rather than between words, it is line spacing, not extra spaces. Select the text (Ctrl+A for the whole document), then go to Format → Line & paragraph spacing and choose Single. If there is still a gap between paragraphs, open the same menu and click Remove space before paragraph or Remove space after paragraph. Gaps made of empty lines are extra blank lines; the steps below remove those.

The built-in way (double spaces only)

Google Docs can remove double spaces with a regular expression: open Edit → Find and replace, tick Match using regular expressions, type {2,} (a space, then {2,}) in Find and a single space in Replace with, then click Replace all. It does not handle blank lines, spaces before punctuation, or headers and footnotes, which is where the add-on below helps.

Steps

  1. Install FindSwap from the Google Workspace Marketplace (button below). The free plan has no trial and no limits.
  2. Open your document and go to Extensions → FindSwap → Find & replace.
  3. The first time in each document, click Allow on this document and select it (it's shown first). FindSwap only opens documents you allow.
  1. Open the Clean up tab and click Scan.
  2. Each fix shows how many it found. Tick the ones you want.
  3. Click Fix. Undo is one click if you change your mind.

What it can fix

FindSwap for Google Docs

Free forever: find, preview, replace, regex, clean-up and undo. Pro adds replacement lists, suggestions and formatting.

Install free

Questions

Does it change headers and footers too?

Yes, clean-up covers headers, footers and footnotes as well as the body.

Is clean-up free?

Yes, every clean-up fix is in the free plan.