Paste any list of lines and instantly sort them alphabetically, by length, numerically, or randomly — with options to remove duplicates and clean up formatting.
Perfect for sorting names, tasks, keywords, spreadsheet columns, or any list that needs order.
Paste your list below, choose your sort order, and click Sort Text.
Manually reordering a long list is slow and easy to get wrong — let the tool sort it instantly.
Sort alphabetically, by length, numerically, randomly, or simply reverse the order.
Remove duplicate lines, strip empty lines, and trim extra whitespace in the same step.
Everything runs in your browser — your list is never uploaded to any server.
A text sorter is useful anywhere you have a list that needs to be in a specific order — alphabetizing a contact list or bibliography, ranking items by length or value, organizing keyword lists for SEO, or shuffling a list of names for a random draw or team assignment.
Combined with duplicate removal and whitespace trimming, this tool can take a messy, unsorted list and turn it into a clean, ordered one in a single click.
Sort your list in three simple steps.
Add your text with one item per line into the input box.
Pick a sort mode and any cleanup options like removing duplicates or empty lines.
Click Sort Text, then copy your cleanly sorted list with one click.
Common questions about sorting text.