HTML Strip

Buy me a coffeeBuy me a coffee

Remove Duplicate Lines & Blank Lines

This simple tool will remove duplicate and blank lines with one click of a mouse.

Computed Result

What does this tool do?

It takes your input, which is either your pasted string in the text box or an uploaded file. We then use php to take out all vertical blank spaces and any lines which are an exact match. E.g:

Input:
  • ddd
  • dd
  • ddd
  • ee
Output:
  • ddd
  • dd
  • ee

The only limits to this duplicated line remover are, 100,000 lines for text and 5MB for file upload. The only file type that is accepted is plain text (.txt) files, so please convert beforehand.