Line Sorter

Sort lines alphabetically or randomly. A-Z, Z-A, reverse, shuffle. Optional deduplication.

Result

Related tools

How it works

  1. 1Paste text with one item per line into the input area.
  2. 2Choose sort order: A-Z (ascending), Z-A (descending), reverse order, or random shuffle.
  3. 3Optionally check 'Remove duplicates' to deduplicate before sorting.
  4. 4Copy the sorted result.

Example

Input: cherry
apple
banana
Output (A-Z): apple
banana
cherry