Text Sorter
Sort a list of lines A to Z or Z to A, by number, or by length. Numbers inside text sort naturally, so “item 2” comes before “item 10”.
Numbers inside text sort naturally: “item 2” comes before “item 10”.
How it works
- 1Paste your list, one item per line.
- 2Pick an order: alphabetical, by number or by length.
- 3Optionally remove empty lines and duplicates, then copy the result.
Private by design
This tool runs entirely in your browser. Your files and text are never uploaded to a server. It keeps working even if you go offline after the page loads.
Questions
- Why does item 2 come before item 10?
- Numbers inside text are sorted by their value (natural sorting), not digit by digit, so lists of numbered items come out in the order you'd expect.
- Is sorting case-sensitive?
- Not by default: capital letters are ignored. Untick Ignore capital letters to sort them separately.