Text Sorter
Sort lines alphabetically or numerically
Input
Total: 10
Sort Method
Sorted Text
100 items 20 items 3 items Apples Apples Bananas cherries Dates Elderberry grapes
What is Text Sorter?
Text Sorter arranges lines of text in alphabetical, numerical, or reverse order. It handles case-insensitive sorting, removes duplicates optionally, and sorts numerically when lines contain numbers — perfect for organizing lists, data, or log entries.
How to use
- Paste your lines of text into the input area. Each line will be treated as a separate item to sort.
- Choose your sort method — alphabetical A-Z, Z-A, numerical ascending, or numerical descending — and toggle options like case sensitivity or duplicate removal.
- Copy the sorted output or download it as a text file. The original input is preserved so you can try different sort options.
Result
Paste a grocery list like 'Bananas, Apples, Cherries' (one per line) and sort A-Z to get 'Apples, Bananas, Cherries'.
Related Tools
Unicode Lookup
Search Unicode by name or code
URL Encoder/Decoder
Encode and decode URLs instantly
NATO Phonetic Alphabet
Convert text to NATO phonetic alphabet
Paragraph Counter
Count paragraphs in your text
Pig Latin Converter
Convert text to and from Pig Latin
Duplicate Line Remover
Remove duplicate lines from text