Utilities

Remove duplicate lines

Short links, QR codes, strong passwords, time zones, exchange rates and quick text tools.

Remove duplicate lines online

  1. Paste your list, one item per line.
  2. Click Remove duplicate lines.
  3. Copy the cleaned list.

Remove duplicate lines and remove duplicate lines online free

Free, with no sign-up, and your text never leaves your browser.

How it decides duplicates

Lines must match exactly, including capitals and spaces; click Clean spaces first to tidy spacing.

Sort lines, sort lines online

Click Sort lines to order them A–Z.

Sort lines alphabetically, sort lines alphabetically online, sort lines by alphabetical order

Sorting follows your language’s alphabetical order.

Sort lines of text and sort lines of text alphabetically

Paste, click Sort lines, copy.

Handy for everyday lists

  • Email and phone lists before importing them.
  • Keyword and product lists.
  • Log lines and IDs.

Tips for clean results

Run Clean spaces first so lines that differ only by extra spaces count as duplicates, and use lowercase if capitals don’t matter for your list. Then sort the lines A–Z if you need them in order.

Private

Everything runs in your browser; your list isn’t uploaded.

How it handles your list

  • Each line is compared exactly, including capitals and spaces.
  • The first time a line appears is kept, in its original place.
  • Empty lines are treated like any other line.
  • The cleaned list replaces the text in the box, ready to copy.

Frequently asked questions

Is the first copy kept?

Yes, the first time a line appears is kept, in its original place.

Related tools

Updated November 2026 by the Tekservix team.