Remove duplicate lines

Keep the first occurrence of each line using your rules.

Maximum 100,000 text units. This tool runs in your browser.

How to use

Paste lines, choose case/whitespace matching and review the first occurrence of each line.

Try an example

Lines A, B, A become A, B.

Support & limits

Matching options change the definition of duplicates; first-seen order is preserved.

Common questions

What should I check before using the result?

Matching options change the definition of duplicates; first-seen order is preserved.

Related tools