Text Sorter
Sort lines A→Z, Z→A, by length or randomly
What is Text Sorter?
Text Sorter is a free online text tool from Farvixo that lets you sort lines A→Z, Z→A, by length or randomly. It updates as you type and runs entirely in your browser, so the text is never transmitted. There is no length limit imposed by a server, no account and no cost — use it as often as you need.
How to use Text Sorter
Paste one item per line.
Sort A→Z, Z→A, by length or randomly, and choose case-insensitive or natural number order.
Optionally remove duplicates at the same time, then copy.
Frequently Asked Questions
Why did my numbered list sort in the wrong order?
Alphabetical sorting treats numbers as text, so 10 comes before 2 — because "1" precedes "2" character by character. Use numeric sorting for lists of numbers, or pad them with leading zeros.
Is sorting case-sensitive?
By default uppercase sorts before lowercase, which is how character codes are ordered. Enable case-insensitive sorting for a list of names or words, which is almost always what you actually want.
Can I sort and remove duplicates at once?
Yes. De-duplication can be applied during the sort, which is the usual combination when tidying an exported list of emails, tags or keywords.
What is random sort for?
Shuffling a list — picking a running order, randomising questions, drawing names. It uses a proper random source rather than a weak shuffle, so the result is genuinely unbiased.
Does it handle non-English text?
Sorting uses locale-aware comparison, so accented characters and non-Latin scripts sort sensibly rather than by raw character code, which would place them all after Z.
What you can use Text Sorter for
- Alphabetising names, products or references
- Shuffling quiz questions or a speaking order
- Tidying a keyword list and removing repeats in one step
Text Sorter at a glance
- Tool
- Text Sorter — Text Tools
- Purpose
- Sort lines A→Z, Z→A, by length or randomly
- Input
- Text or values you enter directly
- Output
- Transformed text, ready to copy or download
- Processing
- In your browser — files are never uploaded to a server
- Price
- Free, unlimited, no account required
- Limitations
- Bounded by your device's memory and CPU rather than a server quota
Tips for better results
- Use natural number order so 2 comes before 10.
- Turn on case-insensitive sorting so “apple” and “Apple” sit together.
- Combine sorting with duplicate removal to clean a list quickly.
Common problems and how to fix them
10 appears before 2
Alphabetical sorting treats numbers as text. Use natural or numeric order.
Capitalised words are grouped first
The sort is case-sensitive. Turn on case-insensitive sorting.
Random order repeats
Each shuffle is independent. Shuffle again for a new order.
More on Farvixo
All in One Place
Smart & Intelligent
Lightning Speed
Your Data is Safe
Work Anywhere
API & Integrations