Skip to content
FileTinker

Remove Duplicate Lines

Paste a list and remove its duplicate lines, keeping the first occurrence and the original order. It all updates live in your browser.

The sorted lines will appear here.

How to remove duplicate lines

  1. Paste your list — one item per line.
  2. Duplicate lines are removed automatically, keeping the original order.
  3. Copy the de-duplicated result.

About removing duplicate lines

Removing duplicate lines is the quickest way to clean a list that has accumulated repeats — email addresses, keywords, URLs, log lines or any one-per-line data. This keeps the first occurrence of each line and preserves the original order, so the list is not reshuffled.

Turn on case-insensitive matching to treat differently-cased duplicates as the same, or trimming to ignore stray whitespace. It all runs in your browser, so your list never leaves your device. Need it sorted too? Switch the order option.

Frequently asked questions

Does it keep the original order?

Yes. By default it removes duplicates while preserving the original line order, keeping the first occurrence of each. Switch the order option if you also want it sorted.

Is duplicate matching case-sensitive?

By default yes, but you can enable case-insensitive matching so “Apple” and “apple” count as the same line.

Is my list uploaded?

No. De-duplication happens entirely in your browser, so your text never leaves your device.

Can it also sort the lines?

Yes — change the order to alphabetical or by length and it will sort while removing duplicates.