Text Manipulate Tool
Manipulate text with various case conversions and view detailed character statistics
Remove repeated lines from any list. Ignore case, trim spaces and sort the result. Free and private.
0 lines in ยท 0 duplicates removed ยท 0 left
NinjaFunction's Remove Duplicate Lines tool cleans a list in your browser. Paste one item per line and get every line once, in its original order. Choose to ignore capital letters, trim spaces, drop empty lines and sort the result from A to Z, Z to A or by length. It shows how many duplicates were removed. Your list is never uploaded.
Each line is compared exactly, character by character. With Ignore case on, capital and small letters are treated the same. With Trim spaces on, spaces at the start and end are removed first, so ' apple' and 'apple' match.
| Your list | Settings | Result |
|---|---|---|
| apple, Apple, apple, banana | Defaults | apple, Apple, banana |
| apple, Apple, apple, banana | Ignore case on | apple, banana |
| ' apple', 'apple' | Trim spaces off | Both stay (they differ by a space) |
| ' apple', 'apple' | Trim spaces on | apple |
Paste your list into the box, one item per line. The result on the right shows each line once, in the order it first appeared. Click Copy to use it.
It keeps the first copy and removes the later ones, so your original order is kept unless you choose to sort.
Not unless you tick Ignore case. By default the tool treats them as two different lines.
Usually one has a space at the end. Keep Trim spaces ticked to remove spaces at the start and end of each line before comparing.
No. The lines are compared in your browser and are never sent or stored.