- ConvertSoon
- Text tools
- Sort lines
Alphabetize a list and sort lines
Alphabetize a list or sort any lines in one click: A to Z, Z to A, by length or at random. It is free and also removes duplicates.
Runs in your browser Updates as you type Free, no signup
How to use the alphabetize a list and sort lines
Paste your text
Type or paste into the box on the left. It never leaves your browser.
Pick how to sort
Choose the option you need. The result updates straight away.
Copy the result
Press Copy result to copy it, or Save to download a .txt file.
Examples
Real results from this tool.
| You type | You get |
|---|---|
| banana apple cherry | apple
banana
cherry |
Alphabetize a list the natural way
Put one item on each line and press A to Z. Sorting understands numbers, so item 2 comes before item 10, and it ignores the difference between capital and small letters. Remove duplicates keeps the first copy of each line, Remove empty lines tidies pasted lists, Shuffle mixes them for a draw or a quiz, and Number lines adds 1., 2., 3. in front.
Tips for sorting lists
Paste a column straight from a spreadsheet, a list of names from an email or keywords from a report, and sort it in one click. To sort names by surname, put the surname first on each line. Remove duplicates is handy for cleaning mailing lists and tag lists before you import them, and Shuffle gives a fair random order for raffles, quiz questions or presentation slots.
Sorting is done in your browser, so private lists such as customer names never leave your device.
Number and tidy
After sorting, choose Number lines to add 1., 2., 3. for a ranked list, or Remove empty lines to tidy a pasted list.
Related tools
More text utilities and similar tools, all free.
Questions about the alphabetize a list and sort lines
Yes. Numbers inside lines are compared as numbers, so 2 comes before 10.
Sorting ignores the difference between capital and small letters, which is what most lists need.
Sorting compares whole lines from the start. Put the word or number you want to sort by at the start of each line first.
Yes. It is free with no signup, and lists are sorted in your browser.
No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.