Remove Duplicate Lines
Remove duplicate lines and sort or clean a list. Free.
- Free
- No limits
- No sign-up
Why POW
Cleans a list fast
Remove repeats, empty lines and stray spaces with one tap each.
Sorts the natural way
Item 2 comes before item 10, and accents and capitals are handled well.
No limits
Use it on any list, as often as you like, with nothing to pay.
How to remove duplicate lines
- 1
Paste your list
Put one item on each line in the Your lines box.
- 2
Choose an action
Tap Remove duplicate lines, or Sort A to Z, Reverse order or another button.
- 3
Copy it
Tap Copy. Not right? Tap Undo to go back a step.
Remove duplicates and tidy a list
POW Remove Duplicate Lines cleans up a list in your browser. Paste items with one on each line, and tap a button to remove the repeats, sort the list, reverse it, shuffle it or number it. The text in the box changes in place, so you can tap several buttons in a row and then copy the final list. It suits email lists, keywords, names, links and logs.
Removing duplicates
Remove duplicate lines keeps the first copy of every line and drops the later ones. The lines that stay keep their order. Two options make the match looser: ignore upper and lower case, and ignore spaces at the start and end of a line. The line that is kept is always written the way you typed it.
Sorting A to Z and Z to A
Sorting is natural, which means numbers inside lines are compared as numbers. Item 2 comes before item 10, as you would expect. Letters are compared without regard to capitals or accents, the way your browser sorts words. Lines that compare equal keep their order.
Sort by length
Sort by length puts the shortest line first. It counts characters the way a reader sees them, so an emoji counts once. Lines of the same length keep their order. Use it to find the longest entries in a list, or to spot odd lines that are far shorter than the rest.
Reverse and shuffle
Reverse order flips the list upside down, which is handy for a log that was saved newest last. Shuffle puts the lines in a random order each time, using your browser's secure random numbers. Use it for picking a winner, drawing names from a hat or mixing a quiz.
Clean up the edges
Remove empty lines drops lines that are empty or hold only spaces. Trim each line removes spaces and tabs from the start and end of every line. These two are good first steps for text copied from a web page or a spreadsheet, where blank lines and stray spaces often hide.
Number the lines
Number the lines puts 1. 2. 3. in front of each line. Run Remove duplicate lines or a sort first if you want a clean numbered list. The page shows the line count now, the count before your last change and the count after, so you can see how many lines were removed.
Undo, copy and big lists
Undo goes back one step, and pressing it again goes forward. Copy takes the whole text. A list of 100,000 lines was cut to its 25,000 unique lines in under 5 seconds in our tests. Your text and the two options are kept in your browser for next time.
Questions
Is POW Remove Duplicate Lines free?
Yes. It is free, with no trial, no daily cap and no paid plan.
Do I need an account?
No. There is nothing to sign up for. Paste your list and tap a button.
Which copy of a duplicate is kept?
The first one. Later copies are dropped, and the lines that stay keep their order.
Can it ignore capital letters when finding duplicates?
Yes. Tick the option to ignore upper and lower case. Apple and apple then count as the same line, and the first one is kept as you typed it.
Can it ignore spaces?
Yes. The other option ignores spaces at the start and end of a line when looking for duplicates. To remove those spaces from the text itself, tap Trim each line.
Does it sort numbers properly?
Yes. Numbers inside lines are compared as numbers, so item 2 comes before item 10.
How does Sort by length work?
It puts the shortest line first. Characters are counted the way you see them, so an emoji counts as one.
Is Shuffle really random?
It uses your browser's secure random numbers, and the order is different each time you tap it.
Can I undo?
Yes. Tap Undo to go back one step. Tap it again to go forward again.
How many lines can I use?
POW sets no limit. In our tests a list of 100,000 lines was cut to 25,000 unique lines in under 5 seconds.
Does it work with Windows line endings?
Yes. Windows and Unix line endings both work. The result uses plain line breaks.
How can I compare two lists afterwards?
Clean both with this page, then paste them into Text Compare to see what is different. Word Counter shows how many words each has.