Text Sorter (A-Z / Z-A)
Sort lines A→Z and Z→A side by side.
- Reading time:
- 2 min
- Last updated:
- Price:
- Free, no signup
Type or paste text to see the result.
What the Text Sorter (A-Z / Z-A) does
Put any list in order: A to Z, Z to A, by length, or numerically. Paste one item per line and get back a sorted version you can copy anywhere.
Numbers are sorted as numbers, so 2 comes before 10 instead of after it, which is a common mistake in simple sorters.
Why the Text Sorter (A-Z / Z-A) is useful
Sorted lists are easier to scan, compare and check for gaps. Glossaries, bibliographies, class registers and menus all read better in order.
Sorting by length is a handy trick for spotting outliers, like an unusually long product title or a too-short password in a list.
Also known as: text sorter, sort text a-z, sort z-a, free text sorter (a-z / z-a), online text sorter (a-z / z-a), text sorter (a-z / z-a) online free, text sorter (a-z / z-a) tool.
How to use the Text Sorter (A-Z / Z-A)
- 1
Paste the list
One entry per line, from a sheet, document or chat.
- 2
Choose the order
Alphabetical, reverse, by length or by number.
- 3
Copy the sorted list
Paste it back where you need it.
Key features
- A–Z and Z–A sorting
- Natural number order (2 before 10)
- Sort by line length
- Accent-aware alphabetical order
Benefits
- Tidy lists in seconds
- Easy comparison of two lists
- Spot unusually long or short entries
Real-life use cases
Class register
A teacher sorts 38 student names alphabetically before printing the attendance sheet.
Price list
A shop owner sorts item prices numerically to find the cheapest and most expensive products.
Tips for the best results
- Remove duplicates first if you want a clean unique list.
- Leading spaces push items to the top — trim them.
- For surnames, put the surname first on each line before sorting.
Conclusion
Paste a list, pick the order and copy the result. It's the simplest way to make any list easy to read.
Frequently asked questions
Does it sort numbers correctly?
- Yes. It uses natural order, so 9 comes before 10 and 100.
Is sorting case-sensitive?
- No. 'apple' and 'Apple' land in the same alphabetical spot.
How are accented letters sorted?
- With your browser's language rules, so 'é' sorts next to 'e'.
Can I reverse the order?
- Yes, choose Z to A or descending.
What does sort by length do?
- It orders lines from shortest to longest by number of characters.
Will it change my text?
- No, only the order of the lines changes.
Related tools you may need
- Alphabetical Sorter — Sort lines A→Z or Z→A with locale-aware comparison.
- Text Shuffle — Randomly shuffle the order of lines in your text.
Keep exploring
Browse the full tools directory, filter by category, or read guides on the Text Tools Hub blog.