Remove Duplicate Lines
Delete repeated lines from a list and keep the first of each, with an option to ignore case.
Runs in your browser. Files stay on this device.
How to use Remove Duplicate Lines
- 1Paste your list or drop a text file.
- 2Duplicates are removed as you type; the first copy stays where it was.
- 3Copy the result or download it.
Questions
Which copy is kept?
The first one. The rest of the list keeps its order unless you pick a sort.
Does "Apple" match "apple"?
Only when "Ignore upper and lower case" is on.
Are my files uploaded?
No. Remove Duplicate Lines runs inside your browser, so your files are read and saved on your own device and never sent to a server.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- TextSort LinesSort a list A to Z, Z to A, by number or by length, shuffle it, and drop duplicates or empty lines.
- TextCase ConverterChange text to UPPER, lower, Title or Sentence case, or to camelCase, snake_case and kebab-case for code.
- TextWord CounterCount words, characters, sentences and paragraphs as you type, with reading time.
- TextAdd Line NumbersAdd line numbers to text or code, or take them off again, with your own start, step, separator and padding.
- TextEmail and Link ExtractorPull every email address, link, phone number, number, hashtag or @mention out of any text.
- TextFind and ReplaceFind words or patterns in your text, see every match highlighted, and replace them all at once.