★

Remove Duplicate Lines

Delete repeated lines from a list and keep only the first occurrence of each.

Updated · Free · No sign-up

Send on WhatsApp

How to use the Remove Duplicate Lines

Type or paste your text into the first box and choose the options above it. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.

Worked example

Input:

banana
apple
cherry
apple

mango
banana

Output:

banana
apple
cherry

mango

Frequently asked questions

What does the Remove Duplicate Lines do?

Delete repeated lines from a list and keep only the first occurrence of each.

Is the Remove Duplicate Lines free to use?

Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.

Related online tools