Skip to content

Free · Private · No sign-up

Extra spaces remover — one space where two were

Paste the text, press once, and every run of spaces, tabs and hidden no-break spaces collapses to a single space. Line breaks and spelling untouched.

Dash remover tool

Everything happens in your browser. Your text never leaves this page.

Dashes to remove
Replace each dash with
Cleanup options

Press Ctrl (or ⌘) + Enter to run it again.

Cleaned text

0dashes removed

Double spaces are the typographic scar tissue of almost every workflow: the typing habit half the internet learned in school, the space a deleted word leaves behind, the tab a spreadsheet pastes as six blanks, the no-break space a layout tool inserts between a number and its unit. In a word processor they are invisible; in a CMS field, a CSV cell or a search index they are very visible characters — and they are why “well known” and “well known” can fail a match.

By default the tool squeezes every run of two-or-more spaces or tabs down to exactly one space, then trims the leftovers at the start and end of each line. It never touches single spaces, so real word separation survives untouched, and it never joins words: “a b” becomes “a b”, not “ab”. Line breaks stay where they are — this page is about horizontal spacing, and the line break remover handles the vertical kind.

Switch on the no-break space option and the sweep widens: U+00A0, the ideographic space U+3000, the BOM U+FEFF and every other exotic member of the space family are normalized to a plain space first, then squeezed like the rest. That is the mode for text copied from PDFs and styled documents, where the invisible spaces are usually the ones breaking a search or an import. The counter above counts every space character the tool removed, not the runs.

Extra spaces remover tool

Everything happens in your browser. Your text never leaves this page.

What counts as an extra space

Press Ctrl (or ⌘) + Enter to run it again.

Text with single spaces

0spaces removed

Questions

What does the extra spaces remover do?
It replaces every run of two or more consecutive spaces or tabs with exactly one space, and trims spaces from the start and end of each line. With the no-break option on, invisible space characters are normalized to plain spaces first. Spelling, line breaks and punctuation are untouched.
Will it remove the space between two words?
No. Single spaces are exactly what the tool preserves — it only squeezes runs of two or more down to one. “well known” stays “well known”; “well known” becomes “well known”.
What is a no-break space and why would I remove it?
U+00A0 looks like a space and is not one: it prevents the line breaking at its position, and to a search or a comparison it is a completely different character. Text with hidden no-break spaces fails exact matches, sorts inconsistently and confuses imports. Normalizing it to a plain space fixes all three.
Does it remove tabs too?
Yes — a run of tabs is treated like a run of spaces and squeezed to one space. If you need the tabs back as indentation (in code, for example), use a code-specific formatter instead: this tool is for prose.
Can I keep the double space after a period?
Not selectively — the tool applies one rule to the whole text, which is the point. If your style guide genuinely requires two spaces after a period, keep this page for the texts you send anywhere else.
Is my text uploaded anywhere?
No. Everything happens in your browser: the text never leaves this page, and nothing is stored. Close the tab and it is gone.

Ready to clean your text?

No sign-up, no upload, no word limit. Paste, pick, and copy the result.

Remove dashes now

Related text tools

Spacing is one of the four things a paste can ruin. The other three live here.