Skip to main content
KalkuNet

Remove Duplicate Lines Online — Original Order Kept

Deduplicate huge IP, domain, log or word lists with case-sensitivity toggle.

Runs in your browserDeveloper · Text Utilities, Regex & Log Parsers
Keep:

4 duplicate lines removed, 3 lines left.

  • The original order is kept; only lines that already appeared are dropped. Choose the last occurrence when newer lines further down the list should win.

When to use the Duplicate Line Remover & Unique Filter

  • The order is not shuffled

    Unlike sort -u in a terminal, this keeps the original order and only drops lines that already appeared. Priority lists, logs and queues still read the way they did, ready to go back into a script or a spreadsheet.

  • First or last occurrence

    Choose the last occurrence when lines further down are newer, such as configuration entries overridden later. The lines that stay keep their own positions.

  • Spaces and letter case

    By default spaces at both ends of a line are ignored and CORE-RTR counts as core-rtr. Turn those options off when the difference matters, for codes that are case-sensitive for instance.

  • Empty lines and the tally

    Empty lines can stay as separators between groups or go with the other duplicates. The tool also shows how many lines were removed and how many are left.

Frequently asked questions

How many lines can it handle?

A hundred thousand lines finish within seconds because each line is looked up in a hash table; the only limit is browser memory.

Is the order the same as before?

Yes. Only duplicates are dropped; sort afterwards with the line sorter if you need to.

What about lines that differ only in spaces?

With spaces at line ends ignored they count as equal, and the line that stays is written exactly as it was.

Are accented letters handled?

Yes. Case-insensitive comparison follows Unicode rules, so ÉCOLE and école count as the same line, while école and ecole remain two different lines.

Is my list sent anywhere?

No, the list is processed in your browser.

Learn more