Remove extra spaces from text

100% local. Your text never leaves this browser tab.

Paste text with double spaces or ragged blank lines and it is tidied instantly: runs of spaces collapse to one, blank lines are removed and the ends are trimmed. Nothing is uploaded.

What gets tidied

One space, no blank lines

Double spaces collapsed

Two or more spaces or tabs in a row become a single space, the standard for clean prose.

Blank lines removed

Empty or whitespace-only lines are dropped, so stacked paragraph gaps close up.

Ends trimmed

Leading and trailing spaces on every line and around the whole text are removed.

The Windows app

Put it on a hotkey

☕ Tidy spacing on a hotkey, for the price of a coffee. Yours forever.

Download this exact setup as a ready-made Whitespace tidier profile. Give it a global hotkey in the Windows app and any text you copy has its spacing tidied the instant you paste. Same engine as above, entirely offline.

Get the Windows app →
Pay once, €3.39, no subscription. If the app doesn’t open, the profile is saved to your downloads, just import it.
FAQ

Questions, answered plainly

How do I remove extra spaces from text?

Paste the text above and double spaces collapse to one, blank lines are removed and the ends are trimmed. Copy the tidy result, or export it as a profile for the Windows app.

Does it remove non-breaking spaces too?

The default collapses regular spaces and tabs. To also normalise non-breaking or zero-width spaces, turn on Smart quotes to plain in the tool above, which converts those invisible spaces to normal ones first.

Working with copied PDF text? Remove line breaks too.