Sort Lines
Sort lines of text alphabetically, numerically, or in reverse order with case-sensitive options
How to Use This Tool
Paste your text into the input area — each line is treated as one item.
Choose your sort order: A–Z, Z–A, shortest first, or longest first.
Toggle case-sensitive sorting if needed.
View the sorted output instantly and click "Copy" to copy it.
About This Tool
Sort Lines arranges text lines in alphabetical, reverse alphabetical, or length-based order. Supports case-sensitive and case-insensitive sorting. Useful for organizing lists, cleaning up data, sorting imports in code, and alphabetizing any text content. Results update in real time as you adjust settings.
Share This Tool
Related Tools
Word Counter
Count words, characters, sentences, and paragraphs with readability scoring and keyword density analysis
Case Converter
Transform text between uppercase, lowercase, title case, camelCase, snake_case, and more formats instantly
Character Counter
Track character count with and without spaces in real time, perfect for tweets, meta descriptions, and SMS
Lorem Ipsum Generator
Generate professional placeholder text in paragraphs, sentences, or words for your designs and mockups
Text Diff Checker
Compare two blocks of text side-by-side with color-coded highlighting of every difference
Find and Replace
Powerful find and replace with full regex support, case matching, and bulk replacement capabilities