LOCAL TOOL · TEXT

Whitespace Remover

Remove or tidy spaces and tabs while keeping line breaks.

Line breaks are not changed. To remove those too, use Line Break Remover.

Mode

Line breaks are kept.

Result

Remove spaces and tabs, collapse runs to one space, or tidy the ends of each line. You can include full-width spaces without changing line breaks. Your text is processed in this browser only.

For repeated lines, use Duplicate Line Remover.

FAQ

Are line breaks removed?

No. The position and type of each line break are kept. Use Line Break Remover to remove them. Line Break Remover

What is a full-width space?

It is the wider U+3000 space. Turn on Include full-width spaces to process it too.

Can I remove only tabs?

Yes. Remove tabs only leaves ordinary and full-width spaces unchanged.

How do collapse and trim differ?

Collapse reduces runs inside each line too. Trim removes spaces only from the ends of each line.

Are other special spaces removed?

No. Only ordinary spaces, tabs and optionally full-width spaces are processed. Other characters, such as non-breaking spaces, remain.

Is my text saved?

No. It stays in this browser and disappears on refresh.