Sort Lines
Sort any list alphabetically, in reverse, numerically, by line length or randomly, with case sensitivity and leading-whitespace options.
- Runs in your browser
- Accepts: text
- Produces: text
- Free · No sign-up
Loading the tool…
How to use sort lines
- Paste the list.
- Pick a sort mode.
- Copy the sorted result.
Practical examples
Ordering version numbers
Numeric-aware sorting puts 9 before 10, which a plain string sort does not.
Limitations to know about
- Random shuffle uses the browser crypto generator, so it is not reproducible.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Related tools
All text tools Remove Duplicate Lines Delete repeated lines and optionally sort the result.
Open tool
Whitespace Cleaner Remove extra spaces, blank lines, tabs and line breaks.
Open tool
Text Case Converter Switch between UPPER, lower, Title, sentence and code cases.
Open tool
Word Counter Count words, characters, sentences and reading time.
Open tool
Version 1.0.0 · Last updated 2026-12-06 · Processing: local browser