Sort Lines & Remove Duplicates

Sort a list alphabetically (A–Z or Z–A), with natural number order, by length or by a CSV column. Remove duplicate and empty lines, trim spaces, shuffle, reverse and add a prefix or suffix.

Runs locally — nothing is uploaded

Lines

Result

How to use Sort Lines & Remove Duplicates

  1. Paste your list, one item per line.
  2. Choose a sort order and the clean-up options.
  3. Copy or download the result — or use it as the new input to keep refining.

FAQ

What is natural sort?

It orders numbers by value, so “item 2” comes before “item 10”. Plain alphabetical sorting would put “item 10” first.

Are duplicates matched case-insensitively?

Yes, unless “Case sensitive” is on. The first occurrence of each line is kept.

About the Sort Lines & Remove Duplicates

Alphabetise keyword lists, de-duplicate email lists and shuffle giveaway entries. Clean whitespace first with the Text Cleaner, then compare two lists to see what changed.

Also useful: CSV ↔ JSON Converter · Text Repeater

Popular searches

People find Sort Lines & Remove Duplicates by searching for:

  • sort lines alphabetically
  • remove duplicate lines
  • alphabetize list
  • sort text online
  • dedupe list
  • shuffle lines