Text Sorter
Sort lines alphabetically, by length, reverse order, or shuffle them randomly.
Sort lines alphabetically, by length, reverse order, or shuffle them randomly.
Paste any text with line breaks and sort it. You can sort alphabetically in either direction, order by line length (shortest to longest or the reverse), reverse the original order, or shuffle everything randomly. It handles everything from grocery lists to server logs.
Paste your text into the input area. Pick a sort mode and the output updates instantly. Toggle 'Trim whitespace' to ignore leading and trailing spaces when sorting. Copy the result with one click.
Alphabetizing lists for documentation or README files. Sorting CSS properties within a rule. Ordering imports or dependencies. Cleaning up data exports. Reversing a log file to see newest entries first. Randomizing a list for picking names or assigning order.