← all tools
text
remove duplicate lines
paste a list and keep just the first copy of every line — optionally ignoring case and spaces, or sorted. your text stays in your browser — it's never uploaded.
clean a list of repeated lines — emails, urls, keywords, names — in one paste.
how to remove duplicate lines
- paste your list in the box above.
- choose any options — ignore case, trim spaces, sort.
- copy the cleaned list.
what you get
- keeps the first copy of each line in its place
- optionally ignore upper/lower case and spaces at the ends
- sort a→z or z→a with natural number order
- shows how many lines were removed
- runs in your browser — the text never leaves your device
questions
does it keep the original order?
yes — the first copy of each line stays where it was, unless you choose to sort.
are blank lines removed?
only if you turn on "remove empty lines" — blank lines are often spacing you want to keep.
how many lines can it handle?
hundreds of thousands — 200,000 lines take a fraction of a second.