Sort Lines of Text Alphabetically or Numerically
Paste a list of lines and sort them alphabetically, numerically, by length, or in reverse. Handles both ascending and descending order.
Great for organizing name lists, sorting data exports, or reordering configuration entries. You can also remove blanks and duplicates while sorting, getting a clean list in one step.
Frequently Asked Questions — Text Sorter
Alphabetical (A–Z, Z–A), numerical, by line length, and random shuffle.
In numerical mode, yes. '2' comes before '10'. In alphabetical mode, '10' comes before '2' (string sorting).
Use the Remove Duplicate Lines tool for that, then sort the result here.
More Text Tools
Notepad
Simple scratchpad with tabs, auto-save, and word count.
Markdown Editor
Write Markdown with a live HTML preview, toolbar shortcuts, and export options.
Find & Replace
Find and replace text with regex support, case sensitivity, and whole word matching.
Text Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case, and more.
Word & Character Counter
Count words, characters, sentences, paragraphs, and estimate reading time.
Text Diff
Compare two texts side by side. Highlight differences instantly.
Compare Two Lists
Find common, unique, and missing items between two lists.
Remove Duplicate Lines
Remove duplicate lines, sort, trim whitespace, and clean up text.