HomeWritingWhitespace Cleaner

Whitespace Cleaner

Trim lines, collapse repeated spaces, or remove blank lines.

Trim lines, collapse repeated spaces, or remove empty lines.

How to use the whitespace cleaner

Choose whether to trim the ends of each line, collapse repeated spaces, or remove empty lines. Your original text stays in the input box.

Example

Use Remove blank lines on a list with gaps to create a compact list.

Good to know

Collapse spaces changes runs of spaces and tabs, which may affect code or aligned tables.