Text Sorter
Sort a list of lines seven different ways. Numeric sorting reads the first number in each line, so 'item 10' lands after 'item 9' instead of before it — the mistake plain alphabetical sorting always makes. You can strip duplicates and blank lines in the same pass.
Result
Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.
Help us improve
Why use this tool
- Alphabetical, numeric, by length, or reverse the current order
- Numeric mode sorts 2, 10, 100 correctly rather than 10, 100, 2
- Optional duplicate removal and blank line dropping
- No limit on list size beyond your device's memory
How it works
- 1Paste your list into the box above, one item per line.
- 2Choose how you want it sorted.
- 3Copy the sorted list, or download it as a .txt file.
Text Sorter — frequently asked questions
Because it compares character by character, and '1' comes before '2'. Choose one of the numeric options instead — those read the first number in each line and sort by its value.
More text tools
Looking for something else? Browse all text tools
Explore the other tools
Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.
QR Code ToolsBarcode ToolsPDF ToolsImage ToolsDeveloper ToolsSEO ToolsCalculatorsUnit ConvertersColor ToolsFile ToolsBusiness ToolsAI ToolsUtilities
Or see every tool on one page.