Space Remover: Remove or Replace Spaces in Text

Delete every space, squeeze double spaces down to one, or swap spaces for an underscore, dash, comma or %20. Your line breaks stay where they are. Need tabs and blank lines tidied too? Use the Whitespace Remover.

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. Pick underscore, dash, comma or %20 with one click, or type any other character or string. Hyphens and underscores are the usual choices for URLs and file names, commas for lists, and %20 for web addresses.

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, trailing whitespace and blank lines, use the Whitespace Remover.

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 Remover converts those to ordinary spaces first.