Remove Duplicate Lines
Remove duplicate lines from any list or text, with options to ignore case, trim whitespace, drop empty lines and sort the result. Fast and private.
0 lines in · 0 unique · 0 removed
About this tool
Paste a list and instantly remove repeated lines. You can ignore case, trim surrounding whitespace, drop blank lines, keep the first or last occurrence of each line, and sort the output alphabetically.
It is a quick way to clean up email lists, keyword lists, log lines or any line-based data — all without leaving your browser.
Examples
- Deduplicate a list of email addresses
- Clean a keyword list and sort it A→Z
- Remove repeated lines while ignoring case differences
Frequently asked questions
Does it keep the original order?
By default the first occurrence of each line is kept in its original position. Enable sorting to reorder the output alphabetically.
Can it ignore case when comparing?
Yes. Turn off "case sensitive" so that "Apple" and "apple" are treated as duplicates.
How large a list can I process?
Input is capped at 100,000 characters to keep things fast in the browser.
More tools
Word & Character Counter
Count words, characters (with and without spaces), sentences, paragraphs and lines, plus an estimated reading time. Live, private and accurate for any text.
Text toolsText Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and more. Instant and private.
Text toolsJSON Formatter & Validator
Format (pretty-print), minify and validate JSON in your browser. Clear error messages with line numbers. Your data is never uploaded.
Developer