Codes & text

Remove Duplicate Lines

Delete repeated lines from a list and keep the first of each, in order. Options to ignore case, trim spaces and drop empty lines; you can also sort the result.

How to use Remove Duplicate Lines

  1. Paste a list One item per line.
  2. Set the rules Ignore case, trim spaces, drop empty lines.
  3. Copy the clean list The first copy of each line is kept, in order.

Remove Duplicate Lines FAQ

Do I need an account?
No. Open the page and use it.
Is what I enter sent anywhere?
This tool runs in this browser tab and does not ask for an account. What you enter is not sent anywhere.
Does it cost anything?
No. It is free and open source.
Can I use it on my phone?
Yes, in a current mobile browser. Tools that need a physical keyboard or mouse are easier on a computer.

All free tools