Sort Text Lines
Sort the lines of a text alphabetically, numerically, or by length, with the option to make sorting case-sensitive and to remove duplicate lines while sorting. Perfect for lists, data, and plain-text tabular content.
How it works
- Paste the text you want to sort, one item per line.
- Choose the sort criteria: alphabetical (A-Z or Z-A), numerical (ascending or descending), or by line length.
- Enable 'Case-sensitive' if the sort order should treat uppercase and lowercase letters differently.
- Enable 'Remove duplicate lines' if you also want to strip out exact repeats while sorting.
- Copy or download the sorted result.
Use cases
- Sort a list of names, emails, or products alphabetically before sharing it.
- Sort a column of numbers pasted as plain text, from lowest to highest or vice versa.
- Sort lines by length to quickly spot the shortest or longest items.
- Clean up and sort lists exported from spreadsheets or databases in a single step.