Free Text Sorter
Sort text lines alphabetically A-Z or Z-A, by length, or shuffle randomly. Case-sensitive and case-insensitive options. Free, with no sign-up required — everything happens right in your browser, so nothing you enter is sent to a server.
📝 Text Sorter
How the Text Sorter Works
Paste your list with one item per line and press a sort button: A to Z, Z to A, shortest to longest, longest to shortest or random shuffle. The tool removes empty lines, sorts the remaining lines according to your choice and shows the result. A case-sensitive option controls whether capital letters sort separately from lowercase letters.
Sorting here is alphabetical, comparing text character by character, which means numbers are ordered as text: 1, 10, 2, 20 rather than 1, 2, 10, 20. If you need numeric order, pad the numbers with leading zeros, such as 01, 02, 10, 20, before sorting. Sorting by length is useful for finding the longest or shortest items in a list.
Practical Use Cases
- Alphabetise a list of names, products, tags or references.
- Order lines by length to find unusually long or short entries.
- Shuffle a list for a random draw, a playlist or a seating plan.
- Tidy exported data before comparing it with another list.
Tips for Best Results
- Remove blank or duplicate lines first, using the Remove Duplicates tool if needed, so the sorted list contains only what you want.
- Add leading zeros to numbers before sorting, for example 01, 02, 10, so they come out in numeric order instead of text order.
- Use the random shuffle for fair draws and seating plans, and copy the result immediately, because another click creates a new order.