Text Sorter
Sort lines alphabetically, by length, or remove duplicates. Instant, private, no sign-up.
How to sort text lines online
Paste any block of text and choose a sort method: alphabetical A→Z or Z→A, by line length (shortest or longest first), reverse the current order, or deduplicate lines while keeping the first occurrence of each. Case-insensitive sorting and whitespace trimming are optional. Output updates instantly. For more text operations, try Text Find & Replace or Remove Duplicate Words.
Private & free — this tool runs entirely in your browser.
Related Text Tools tools
Case Converter
Convert between Sentence, Title, camelCase, snake_case, and more.
Word Counter
Count words, characters, and analyze keyword density.
Text to Binary
Convert text into its 8-bit binary representation.
Binary to Text
Decode 8-bit binary back into readable text.
Text Reverser
Reverse text by characters, words, or lines.
Remove Duplicate Lines
Delete repeated lines and keep your list unique.
Remove Empty Lines
Strip blank and whitespace-only lines from text.
Sort Lines Alphabetically
Sort lines A–Z or Z–A, case-sensitive or not.