Remove Duplicate Lines

Paste text with duplicate lines and instantly get a deduplicated version. Useful for cleaning lists, log files, CSV data, and any text where repetition needs to be eliminated.

Example

Input

apple
banana
apple
cherry
banana

Output

apple
banana
cherry

How Remove Duplicate Lines Works

Paste text with duplicate lines and instantly get a deduplicated version. Useful for cleaning lists, log files, CSV data, and any text where repetition needs to be eliminated.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Remove Duplicate Lines, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.