Skip to content
DDevToolery

Remove Duplicate Lines

Deduplicate a list, keeping the first or last occurrence.

Loading tool…

About this tool

Removes repeated lines, with control over whether comparison is case-sensitive and whether lines are trimmed first. Reports how many were removed.

Questions

Does it reorder anything?
No. Surviving lines stay in their original order — you choose whether the first or the last occurrence is kept.

Privacy

This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.