Sort Text Lines
Sort, reverse or shuffle lines of text — alphabetically, by length or numerically, with dedupe options.
100% private — everything runs in your browser
How to Use
- 1
Paste or type the lines you want to process.
- 2
Choose a sort mode and switch on dedupe, trim or empty-line removal.
- 3
Click Sort lines or Shuffle, then copy the output.
Examples
Alphabetical list
Input
Banana / Apple / CherryOutput
Apple / Banana / CherryClean up a list
Input
Apple / apple / Apple / blank lineOutput
Apple / apple, empties removedFAQ
Does it change my original text?
No. Your input stays untouched — the output panel always shows the processed result.
How are duplicates compared?
Duplicates match exactly after trimming, unless case sensitivity is switched off.
Can I sort numbers correctly?
Yes. Numeric mode compares values instead of characters, so 2 comes before 10.
Related Tools
Remove Duplicate LinesDelete duplicate and blank lines, trim whitespace and sort a list — all locally in your browser.Find and ReplaceReplace every match in your text, with regex, whole-word and case-sensitive options.Case ConverterConvert text between camelCase, snake_case, kebab-case, PascalCase and other naming styles instantly.Word CounterCount words, characters, sentences, paragraphs and lines in real time, with estimated reading time. Works with English, Chinese, Japanese, Korean and any Unicode text — everything stays in your browser.Text Diff CheckerCompare two blocks of text line by line and see exactly what was added, removed or left unchanged.