Sort Lines

Sort text lines alphabetically, by number, length or randomly. Free, no sign-up, your text stays on your device.

🔒 100% private — processing happens in your browser. Nothing is uploaded.

How to use the sort lines tool

  1. Paste your list, one item per line.
  2. Choose how to sort and whether to remove duplicates and empty lines.
  3. Click Sort and copy the result.

Alphabetical sorting follows real language rules, so Ä, É and Cyrillic letters land in the right place. “Numbers (natural)” puts “2 mango” before “10 kiwi”, like a file manager does. Shuffling uses your browser’s secure random generator — fair for raffles and random teams.