How to use
- Enter your list, one item per line.
- Choose a sort mode (ascending/descending/numeric) and options.
- Click "Sort" to see the result.
🎯 Use Cases
- Alphabetize a name list copied from a spreadsheet
- Sort a list of numbers by magnitude
- Clean up a list while removing duplicates
Example
Input
banana Cherry apple banana blueberry
Output
apple banana blueberry Cherry
Ascending sort with "Remove duplicates" and "Remove blank lines" enabled. The duplicate banana and the empty line are dropped, and the case-insensitive ordering places Cherry after blueberry.
Sorting options explained
Sort and tidy a line-based list by several criteria.
| Option | What it does |
|---|---|
| Ascending / descending | Alphabetical or chosen-criterion ordering |
| Deduplicate | Keep only one of each repeated line |
| Trim whitespace | Strips edge spaces — improves sort and dedupe accuracy |
| Ignore case | Treats Apple and apple as equal |
| Numeric sort | By number size — plain text sort puts 10 before 2 |
FAQ
- What happens if numbers and letters are mixed?
- In "Numeric" mode, any item that can't be converted to a number is treated as 0. For text lists, use "Ascending/Descending" instead.
- How does duplicate removal work?
- Checking "Remove duplicates" merges only lines that are exactly identical.
- Is my list sent to a server?
- No. Sorting happens entirely in your browser.
- Why does 10 sort before 2?
- String ordering compares the first character — "1" precedes "2". Enable numeric sort for size order.
- Are blank lines sorted too?
- Empty lines are cleaned up with trimming. Re-add them after sorting if needed.
More Text Tools
📝
Markdown Preview
Live-preview Markdown as HTML
🔗
URL Encoder/Decoder
Percent-encode/decode URL characters
✏️
Find & Replace
Search & replace with regex support
🆚
Text Diff
Compare two texts line by line
📧
Email Extractor
Extract & dedupe emails from text
🔢
Character Counter
Count characters, bytes, lines & words
🔠
Case Converter
Convert to UPPER/lower/Title Case
🔤
Fullwidth/Halfwidth Converter
Convert fullwidth chars ↔ halfwidth ASCII
🈚
Unicode Inspector
Check code points & look up characters
🔟
Text to Decimal
Convert text ↔ decimal code points
🧾
Text to Hex
Convert text ↔ UTF-8 byte hex
0️⃣
Text to Binary
Convert text ↔ UTF-8 byte binary
🔡
ASCII Art Generator
Turn text into an ASCII art banner