Free online duplicate line remover. Paste text and instantly remove all duplicate lines. Supports case-sensitive and case-insensitive matching.
Duplicate lines accumulate in text files, lists, logs, and data exports through repeated operations, merges, and copy-paste mistakes. Manually finding and removing duplicates is error-prone and time-consuming in large lists.
This tool removes duplicate lines in a single click, preserving the order of first occurrences. It supports both case-sensitive and case-insensitive duplicate detection, and optionally ignores blank lines when checking for duplicates.
Yes. The first occurrence of each unique line is kept in its original position. Subsequent duplicates are removed. The relative order of unique lines is unchanged.
By default, lines must be exactly identical (same characters, same case) to be considered duplicates. In case-insensitive mode, "Apple" and "apple" and "APPLE" are all considered the same line and only the first occurrence is kept.
Multiple consecutive blank lines can optionally be collapsed to a single blank line. Non-blank lines that are identical are always deduplicated regardless of this setting.