Remove duplicate lines

Remove repeated lines while retaining their original order.

Processed on your device
Open a text file
Open a local UTF-8 text file5 MiB maximum. Files open locally and wait for Run tool.Or drop a file here.

Result

How to use this tool

  1. Paste one item per line.
  2. Choose how whitespace and letter case affect a match.
  3. Copy the updated list. The first matching item keeps its original position.

Things to know

  • Processing happens on your device. Check the result before replacing your original data.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Line-based modes accept up to 100,000 lines, including a trailing empty line.

You might also need

More in text & lists