b4rn1 · texttoolstext
Bin TX-03·Text

Remove duplicate lines

Paste a list and get it back with duplicates removed. Choose whether case and surrounding spaces matter.

BinTX-03
DepartmentText
Free runsUnlimited
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What remove duplicate lines does

Remove duplicate lines reduces a list to its unique entries, keeping either the first or the last occurrence. It is for the lists that arrive with repetition: keyword exports, email dumps, order numbers, log lines.

How it works

A Set-based pass over the split lines, with optional trimming and case-folding before comparison so that whitespace or capitalisation differences do not survive as separate entries.

Runs on your device

Nothing is uploaded, because nothing needs to be: the browser already has a decoder, a canvas and an encoder. Close the tab and every trace of the file is gone, which is a stronger guarantee than any deletion policy.

Formats and limits

LimitsNo limit. A Set handles hundreds of thousands of lines; the count of removed entries is reported so you can see what changed.
PriceFree, unlimited, no account

Worth knowing

  • Case-insensitive mode treats "Apple" and "apple" as one entry and keeps whichever occurrence comes first in the chosen direction.
  • Blank lines can be dropped in the same pass, which is the usual follow-up chore after de-duplicating a pasted list.

Questions about remove duplicate lines

Does it keep the original order?

Yes. Entries stay in the order they first appear; only repeats are removed. Sorting is a separate tool on this shelf.

Can I ignore case and whitespace?

Both are switches. With them on, " Foo" and "foo " collapse to one entry, which is what you want for email addresses and keywords.

Does it sort my list?

No, the first appearance of each line keeps its place. Use the sort tool afterwards if you want alphabetical order.

What counts as a duplicate?

By default an exact match after trimming spaces. Turn on ignore case to treat Apple and apple as one.

Is my file uploaded anywhere?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Can I use this without a connection?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

What does it cost?

Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.

Remove duplicate lines — dedupe a list instantly · b4rn1