Guide
How to Remove Double Spaces in Word, Excel
Collapse double spaces in Word, Google Docs, and Excel, and see why Excel TRIM also squeezes inner spaces. Worked before and after examples.
What Is Remove Extra Spaces?
What does removing extra spaces do? It is a tool to clean whitespace and fix spacing in any text. It will remove multiple spaces, taking any run of two or more spaces and reducing it to one, so it keeps single spaces between words while dropping the surplus. To remove double spaces or collapse spaces throughout a document, paste and convert. "hello world" becomes "hello world". Line breaks are preserved, so this clean spacing pass leaves your paragraph structure intact.
Try Remove Extra Spaces →Why Extra Spaces Cause Problems
Why does pasted text get double spaces? They creep in from copy-pasting, from the old habit of typing two spaces after a period, and from text exported from PDFs or spreadsheets. To fix double spaces after periods and clean spacing in pasted text, this pass collapses each run back to one. Left alone they are usually invisible until they break something: uneven justification in print, mismatched search results, or inconsistent data in a column that should contain single-spaced values.
How It Works
The tool scans your text and replaces every sequence of consecutive spaces and tabs with a single space, leaving newlines and all other characters untouched. It collapses internal runs, not leading or trailing edges only, so this space normalization reaches spaces in the middle of a line as well as the ends. For example, "hello world" becomes "hello world": the extra spaces collapse, but the line break between paragraphs stays.
This tool is free and runs online entirely in your browser. Your text stays on your device, protecting your privacy: what you enter is not sent to a server, and results appear instantly.
Examples
Double spaces after periods. For example, "Done. Next." becomes "Done. Next.", so this is how to remove double spaces left by the two-space habit.
Interior runs, not just edges. For example, "a b c" becomes "a b c". It collapses internal runs, not leading/trailing edges only, so gaps in the middle of a line are fixed too.
How Do You Remove Double Spaces in Word?
In Word, press Ctrl+H, type two spaces in Find what and one space in Replace with, then click Replace All. Run it again until Word reports zero replacements. One pass turns three spaces into two, so a long run needs a few rounds.
To finish in one pass, expand the dialog and tick Use wildcards. Then type a space followed by
{2,} in Find what, which means "two or more spaces", and replace with a single
space. Untick wildcards afterwards, or your next ordinary search will behave strangely.
How Do You Fix Double Spaces in Google Docs?
In Google Docs, open Edit, then Find and replace. Type a space followed by
{2,} in Find, tick "Match using regular expressions", put one space in Replace
with, and click Replace all. The pattern catches every run of two or more ordinary spaces in
the document at once.
Why Does Excel TRIM Also Squeeze Inner Spaces?
Excel's TRIM function removes spaces at both ends of a cell and also squeezes every run
inside it down to one space. =TRIM(" Acme Corp ") returns "Acme Corp".
This tool only does the squeezing part: it keeps one leading or trailing space per line, and
Trim Text is the step that removes the edges.
Neither TRIM nor this tool touches the non-breaking space, character 160, which web pages and
PDFs often leave behind. In Excel, swap it out first with
=TRIM(SUBSTITUTE(A1,CHAR(160)," ")). Here, Normalize Whitespace treats it as a
space, though it also joins your lines into one.
Before and After: A PDF Paste
Text copied from a justified PDF often carries runs of spaces where the layout stretched a line. A pasted sentence like this one:
Quarterly revenue rose 12% in March.
comes out as Quarterly revenue rose 12% in March. after one pass. The words, the
number and the line break after the sentence all stay exactly where they were.
Common Mistakes
Remove Extra Spaces vs Other Whitespace Tools
This tool is one of several whitespace cleanup alternatives. Removing extra spaces vs trimming edges is the first choice, and collapsing spaces vs normalizing all whitespace is the second. Trim Text removes leading and trailing whitespace from each line but leaves interior spaces alone: it is the right alternative when you only need to clean the edges. Normalize Whitespace is more aggressive: it collapses all whitespace (including line breaks) into a single space, flattening multi-line text to one line. Remove Tabs converts tab characters to spaces rather than collapsing runs. Use Remove Extra Spaces when you want to clean up interior spacing while preserving your paragraph structure.
Related Tools
You May Also Need
You may also need
- Trim TextTrim the edges after collapsing internal runs
- Space CounterConfirm the double spaces are gone
Next steps
- Remove Blank LinesClear empty lines once spacing is fixed
Alternatives
- Normalize WhitespaceStandardize tabs and line breaks too, not just spaces