Line Tools
Deduplicate, sort and number lines in one place
Input
Options
Sort
Result
Nothing entered yet
Paste a list and the cleaned version appears here.
Applied in order: trim → drop blanks → deduplicate → sort → prefix and suffix → numbering.
Lists arrive messy — duplicated entries, stray blank lines, inconsistent indentation. Paste the list, tick the operations you want, and the cleaned version appears alongside a count of what changed.
How to use
- 1 Paste your list, one item per line.
- 2 Tick the operations you need — trim, drop blanks, deduplicate.
- 3 Choose a sort order, or leave it as it is.
- 4 Add a prefix, suffix or numbering if you need the list in a particular shape.
Frequently asked questions
In what order are the operations applied?
Trim, then drop blanks, then deduplicate, then sort, then prefix and suffix, then numbering. That order means a line differing only by trailing space is still recognised as a duplicate.
Which duplicate is kept?
The first occurrence. Later duplicates are removed, so the original order of the remaining lines is preserved.
Is deduplication case-sensitive?
Yes — "Apple" and "apple" are treated as different lines. Convert the case first with the Case Converter if you want them merged.