DevVault
100% on-device
All tools

Remove duplicate lines

Remove duplicate lines while keeping the original order, optionally ignoring case or surrounding whitespace. Keep the first occurrence or the last, or invert the whole thing and see only the lines that appeared more than once, with their counts.

Runs entirely in this tab. What you paste is never sent anywhere.
Input

Paste, type, or drop a file (json, txt, yaml, yml, csv, log).

Deduplicated

In

0

Out

0

Removed

0

The original order is preserved — the surviving lines stay where they were rather than being sorted, which is what the usual sort | uniq pipeline costs you.