Remove or Replace Spaces in Your Text

Clean up spaces, multiple spaces, or replace spaces with a character.

I want to:
0 characters

Frequently asked questions

Can I remove every space at once?

Yes. One option deletes all spaces outright, and another condenses runs of repeated spaces down to a single one.

What is the difference between condensing and removing?

Condensing turns a run of spaces into one and keeps the words apart. Removing takes every space out, so the words run together. Condensing is what you want for pasted prose; removing is for building a single token.

Can I replace spaces with something else?

Yes. Enter any character or string you like. Hyphens and underscores are the usual choices for URLs and file names.

How do I turn a title into a URL slug?

Replace the spaces with hyphens, then run the result through Remove Accents so the accented letters do not end up percent-encoded in the address.

Does it touch tabs and line breaks?

No. Only spaces are affected, so your line structure survives. For tabs and line endings, use the Whitespace Cleanup tool.

Why does my text still have double spaces afterwards?

Because they are probably not ordinary spaces. Text from PDFs and Word often carries non-breaking or thin spaces, which look identical on screen. Whitespace Cleanup converts those to ordinary spaces first.