Text ToolsRuns in your browser
Remove Duplicate Lines
Remove duplicate lines from any list, with options to sort, trim and ignore case.
Input
Unique
What this does
Paste a list and get back only the unique lines. Optionally sort the result alphabetically, trim surrounding whitespace, ignore case when comparing, and drop empty lines. Useful for cleaning up exports, keyword lists and CSV columns.
How to use it
- 1Paste your list, one item per line.
- 2Choose options like sort, trim or ignore case.
- 3Copy the cleaned, de-duplicated result.
Examples
- Turn a list with repeats into a clean unique list
- Remove duplicate email addresses from an export
Frequently asked questions
- Does it keep the first occurrence or the last?
- It keeps the first occurrence of each line and removes later repeats, preserving the original order unless you enable sorting.
- Can it ignore differences in capitalisation?
- Yes. Enable 'ignore case' to treat Apple and apple as the same line when removing duplicates.