Line Sorter & Deduplicator

Sort lines alphabetically, reverse, shuffle, or remove duplicates from any block of text.

How to use the Line Sorter

  1. Paste your list — one item per line — in the left panel.
  2. Choose an operation: sort alphabetically, shuffle, remove duplicates, reverse, or trim each line.
  3. The result appears instantly on the right. Use Copy to copy it to your clipboard.

Operations

  • Sort A → Z / Z → A — lexicographic sort, optionally case-insensitive.
  • Shuffle — randomise the order of lines (cryptographically random).
  • Remove duplicates — keep only the first occurrence of each unique line.
  • Reverse order — flip the list top-to-bottom.
  • Trim whitespace — strip leading and trailing spaces from every line.