What removing duplicates actually does
Remove duplicate lines or duplicate words from any text. Toggle case-insensitive matching, whitespace trimming, keep-first vs keep-last, and optional alphabetical sorting. Live counts of duplicates removed and unique items remaining. Everything runs in your browser; your text never leaves your device. Free, private, no sign-up.
Two distinct jobs sit under one tool. Line dedup treats every line as one item (the right tool for email lists, URL lists, keyword lists, or a column lifted out of a spreadsheet). Word dedup tokenizes the whole text into words and keeps one of each (the right tool when you want the unique vocabulary of a paragraph, not a row-by-row scrub). The settings change what counts as "the same item": case-insensitive collapses casing variants, trim ignores accidental whitespace, and keep-first vs keep-last decides which copy survives.
- Line dedup with optional case-insensitive matching and whitespace trimming
- Word dedup that tokenizes letters and digits (hyphenated compounds count as one)
- Keep-first or keep-last to control which duplicate survives
- Optional alphabetical sort applied after dedup
- Live counts: duplicates removed, unique remaining, total in
Choosing case-insensitive and trim is almost always right for real-world lists (emails, URLs, keywords). Leave them off only when the casing or spacing genuinely matters, like a list of case-sensitive API keys or filenames.