Skip to content

Remove Extra Spaces

Collapse runs of spaces, fix spaces around punctuation and tabs

Runs on your device

How to use Remove Extra Spaces

  1. Type or paste your text into the box, or press Sample to see an example.

  2. Set the options: “Turn tabs into spaces”, “Turn non-breaking spaces into normal ones”, “Remove spaces before , . ; : ! ?”, “Add a missing space after , . ; : ! ?” and more. Reset puts them back.

  3. The result updates as you go. Copy it or download it.

About Remove Extra Spaces

Collapse runs of spaces, fix spaces around punctuation and tabs.

Remove Extra Spaces: common questions

Is Remove Extra Spaces free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is your text uploaded anywhere?

No. Remove Extra Spaces works on this device only, so your text stays private. You can even turn off the internet once the page is open.

What can I change?

6 settings, including “Turn tabs into spaces”, “Turn non-breaking spaces into normal ones”, “Remove spaces before , . ; : ! ?”, “Add a missing space after , . ; : ! ?”, “Trim each line” and “Squeeze blank lines into one”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More text tools

All 74 text tools