Remove Duplicate Lines

Clean lists and pasted data while choosing exactly what counts as a duplicate.

What this tool does

Remove repeated lines with case, whitespace, empty-line and order controls. Processing happens locally in your browser; entered and generated text is not uploaded or stored by this tool.

Frequently asked questions

Can original order be preserved?

Yes. Original order is preserved by default, with an optional sorted result.

Can matching ignore spaces or case?

Yes. Comparison can trim lines and ignore case without changing the retained line unless sorting is selected.