Line Sorter
Sorts lines A to Z, Z to A, naturally, numerically, by length, or randomly.
Remove repeated lines from a list while keeping the first copy or the last one. You can ignore case, trim lines before comparing, and drop empty lines at the same time.
Updates as you type for smaller inputs.
The text is split into lines. Each line gets a comparison key based on your options. If Trim lines is on, the key is built from the trimmed line. If Ignore case is on, the key is lower-cased before matching.
With Keep first, the tool keeps the first time it sees each key and skips later repeats. With Keep last, it reads from the bottom, keeps the last matching line, then puts the kept lines back in their original order.
b, a, b, c, the result is b, a, c.Apple and apple count as the same line.cat and cat match before the output is decided.Keep first when the earliest copy is the one you trust. Keep last when later lines contain the version you want to preserve.
No. This tool removes repeats and keeps the original order of the kept lines. If you also want sorting, use Line Sorter after deduping.
Yes. Turn on Remove empty lines and they are left out before the cleaned text is built.
Often used together with the Remove Duplicate Lines.
Sorts lines A to Z, Z to A, naturally, numerically, by length, or randomly.
Finds repeated lines, sentences, paragraphs, or words and shows where they appear.
Cleans text by trimming, collapsing, joining, or removing whitespace.