Daily KitDaily KitToday —Total —
Text tools

#023 Remove duplicate lines

Keep only the first occurrence of each line.

How to use · methods · examples

How to use remove duplicate lines

Paste a list to remove repeated lines while preserving their original order.

Good to know

Leading and trailing spaces are removed. Uppercase and lowercase letters are treated as different.

Practical guides

Contact & report issues

Worked example and interpretation

Entering apple, pear and apple on separate lines leaves apple followed by pear. The first occurrence is kept; this is not a sorting function.

Before using the result

Leading and trailing spaces are trimmed, but case is significant: Apple and apple remain separate. Check the required case rules for lists such as product codes or email addresses.

Open this tool from your home screen

Add the current tool page to your home screen. Its icon opens this tool directly.

iPhone: Safari Share menu → Add to Home Screen

Android: Chrome menu → Install app or Add to Home screen

The existing Daily Kit icon continues to open the full collection. Add a new shortcut for each tool. Installation menus and behavior vary by browser and device.