Skip to content
QZTools

Remove extra spaces

Leave a single space between words and get rid of extra blank lines.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to remove extra spaces

  1. 1

    Paste the text.

  2. 2

    Choose whether to trim lines and collapse blank lines too.

  3. 3

    Copy the result.

About this tool

Double spaces creep in when copying from documents or justified text. This tool reduces them to one without touching the rest.

Tabs can be turned into spaces, and runs of blank lines are reduced to a single one.

Frequently asked questions

Are paragraph breaks removed?

No. Paragraphs are kept; only repeated blank lines are collapsed.

Does it handle non-breaking spaces?

Yes, non-breaking spaces are normalized too.

Related tools

More Text tools