Remove Extra Spaces

Clean up text by collapsing multiple spaces into one, trimming line ends and removing leading or trailing spaces. Great for tidying pasted content.

Advanced invisible-character cleanup

Counts are measured in the original input before cleanup.

Whitespace equivalentsU+00A0, U+202F, U+3000…0 code points
Zero-width spacing controlsU+200B, U+2060, U+FEFF0 code points
Joining controlsU+200C ZWNJ, U+200D ZWJ0 code points
Other invisible controlssoft hyphen, bidi controls…0 code points

Safe default: ZWJ and ZWNJ are never changed unless you explicitly enable their checkbox.

Hard line breaks? Remove line breaks · bulk replace: Find & replace · word count: Word counter.

Clean up pasted text fast

Text copied from PDFs, emails and web pages often has double spaces and stray indentation. This tidies it into clean, single-spaced text ready to reuse.

FAQ

What does it clean up?

It collapses runs of ordinary spaces and tabs, trims each line, and can remove blank lines. Advanced controls separately handle whitespace equivalents, zero-width spacing controls, joining controls, and other invisible controls.

Does it remove line breaks?

No — line breaks are kept by default. To join everything onto one line, enable “Collapse line breaks too”.

Will it break joined emoji or scripts?

Not by default. ZWJ and ZWNJ are preserved because they are meaningful in family emoji and many writing systems. Removing them requires a separate explicit checkbox.

Is my text uploaded?

No. All cleaning happens locally in your browser.

Last updated: