Duplicate Line Remover

Paste a list of lines (e.g. URLs, emails, names). We remove duplicates: either keep first occurrence only or sort and dedupe. Empty lines can be kept or removed.

Remove duplicates

Paste lines and click the button.

How it works

We split on newlines, dedupe by keeping first occurrence (using a set), optionally sort, then rejoin. Empty lines are treated as one duplicate type.

When to use it

Use for cleaning lists of emails, URLs, or any line-separated data.

Frequently asked questions

  • Case sensitive? Yes. “Foo” and “foo” are different lines. For case-insensitive dedupe, normalize (e.g. lowercase) before pasting.