Remove duplicate and empty lines

Remove only what you choose: duplicate lines, empty lines, or spaces at the start and end of lines. Line order is kept, and you can copy or save the result.

0 lines

Your text is not saved or sent. Up to 500,000 characters (UTF-16 units).

What to clean up

Only the selected steps are applied. With nothing selected, the text stays the same.

Result

Enter text to see the cleaned-up result here.