SORT TEXT LINES
Sort a list alphabetically, numerically, or by length. Nothing leaves your browser.
How to sort text lines
- 1
Paste your list into the input box, one item per line.
- 2
Choose to sort A–Z, numerically, or by line length.
- 3
Pick ascending or descending order, and toggle case-sensitivity, dedup, or trimming.
- 4
Copy the sorted result.
Questions
- How does numeric sort handle non-numbers?
- Numeric sort reads each line as a number using its leading digits; lines that don't start with a valid number are pushed to the end of the list, after every line that does parse as a number.
- What does case-sensitive sorting change?
- With case-sensitivity off (the default), "Apple" and "apple" sort next to each other. With it on, uppercase letters sort before lowercase ones, matching plain string comparison — so "Zebra" would sort before "apple".
- Does it remove blank lines?
- Yes, when "Trim & drop blanks" is checked (on by default) — leading/trailing whitespace is trimmed from every line and empty lines are dropped before sorting.
- Is my text sent anywhere?
- No. Sorting happens entirely client-side in your browser — nothing is uploaded or stored.