Remove duplicate lines

Paste a list and get every line only once, in its original order.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

Without duplicates

When a line repeats, keep

How it works

  1. Paste your list

    Paste lines from a spreadsheet, a document or a list of emails, one item per line.

  2. Pick your rules

    Choose whether “Apple” and “apple” count as the same line, whether to ignore extra spaces, and which copy to keep.

  3. Copy the clean list

    The result updates instantly and shows how many lines were removed. Copy it or download it as a .txt file.

Frequently asked questions

Is my list uploaded anywhere?

No. Duplicates are removed in your browser, so your list never leaves your device. That makes it safe for email addresses, customer names or other private data.

Does it keep the original order?

Yes. Lines stay in the order you pasted them. Only the repeated copies are removed. To put the list in order as well, use the sort lines tool.

What do “the first one” and “the last one” change?

When a line appears several times, the first option keeps it where it first appears, and the last option keeps it where it last appears. The rest of the list keeps its order either way.

Are empty lines treated as duplicates?

No. Blank lines are left where they are, so paragraphs and groups keep their shape. Tick “Remove empty lines” to delete them all.

Is there a size limit?

There is no fixed limit. Lists with hundreds of thousands of lines are handled in a moment on a recent device.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.