≠
REMOVE DUPLICATES

Remove Duplicates

Remove duplicate lines while keeping the first occurrence and original order.

Local processing
Workspace
0 characters
Read only
Ready. Enter your content, then choose an action.
◇ Content is processed in this browser onlyInput is not saved automatically
HOW TO USE

How to use

Each line is one item. Optionally ignore surrounding whitespace or case, or remove blank lines, then choose Remove duplicates. The first occurrence is retained.

Example

Three lines A, B, A become two lines A, B.

GOOD TO KNOW

Keep in mind

Ignoring surrounding whitespace affects comparison only; the retained text is unchanged. Line endings become LF. Results remain in their original order and are not sorted.

Common questions

Why are Apple and apple both present? Exact comparison is the default. Enable Ignore case to treat them as the same value.