Text
Remove duplicate lines
Clean up your lists in seconds: paste your text and the tool removes the repeated lines, with options to trim spaces, ignore case, skip empty lines and sort alphabetically.
Your list
- 0Lines
- 0Unique
- 0Removed
Result
How to use it
- 1
Paste your list into the first box (one item per line).
- 2
Adjust the options to suit what you need.
- 3
Check how many lines were removed and copy the result.
Frequently asked questions
Do “Hello” and “hello” count as duplicates?
Only if you tick “Ignore case”. Without that option they are compared exactly as written.
Does it keep the original order?
Yes: it keeps the first occurrence of each line and preserves the order. If you tick “Sort alphabetically”, the result is sorted from A to Z.
Is it good for email or code lists?
Yes, that is its most common use: cleaning up lists of emails, codes, names or URLs before importing them into another system.
Related tools
- Word counterCount words, characters, sentences and paragraphs in your text instantly. Free, no limits, and your text never leaves your browser.
- Change caseConvert your text to UPPERCASE, lowercase, Title Case or iNVERSE case in one click. Free and instant, right in your browser.
- Remove accentsStrip accents, tildes and diacritics from any text instantly. Handy for filenames, URLs, databases and legacy systems.
- Lorem IpsumGenerate Lorem Ipsum paragraphs, sentences or words for your mockups and designs. Copy the result in one click, free and no sign-up.