Text Sorter
Sort lines A–Z, Z–A, numerically, by length, or shuffle them.
Runs entirely in your browser. Your text is never sent to a server or saved.
About the text sorter
Put any list in order. Sort alphabetically with natural number handling (so item 2 comes before item 10), numerically, by line length, in reverse or randomly. Case sensitivity and blank-line handling are configurable.
How to use it
- Paste one item per line.
- Choose the sort type and options.
- Copy or download the sorted list.
Frequently asked questions
What is natural sort?
It compares embedded numbers by value, so “file2” sorts before “file10” instead of after it.
Does it sort non-English letters properly?
Yes. It uses your browser’s locale-aware comparison.
Related tools
Remove Duplicate Lines
Deduplicate lists with case, whitespace and sorting options.
Case Converter
UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more.
Remove Extra Spaces & Clean Text
Collapse spaces, strip line breaks, remove blank lines and tidy pasted text.
JSON to CSV Converter
Flatten a JSON array into CSV with custom delimiters and nested-key flattening.