Beato symbolBeato

Remove Extra Spaces

Trim each line and turn runs of horizontal whitespace into single spaces without merging lines.

Inputs are processed in your browser without uploads, an account, or credits.

How to use it

  1. Paste the text with its original line breaks.
  2. Run the cleanup and check that the remaining spaces and blank lines suit the text before copying it.

Example

Input
 a   b 

 c 
Result
a b

c

Limits

Blank lines are kept and line breaks become LF. Do not use this on code or fixed-width tables where indentation and spacing matter.

Related tools