Alphabetical Sort Tool
Sort lists A to Z or Z to A, with numbers in natural order.
Sort Settings
How It Works
Smart Natural Sorting
'File 2' will finally be sorted before 'File 10'
Instant Reversal
Easily flop between Ascending and Descending
Language-Aware
Accented letters sort where they belong
Privacy First
Names, client lists or internal URLs: your list is sorted in your browser and never uploaded.
What is Alphabetical Sort?
Alphabetical Sort puts the lines of a list in order, A to Z or Z to A, in one click. Natural sorting puts "File 2" before "File 10", and letters with accents are sorted the way your language expects.
Sort names for a class list or a guest list, keywords, glossary terms, bibliography entries, product names or any list you paste, one item per line.
Plain computer sorting compares text character by character, so "Item 10" lands before "Item 2" and capital letters come before all lowercase ones. This tool compares lines the way people read them: numbers inside the text are compared by their value, and upper and lower case are treated alike. It uses your browser's language rules (Intl.Collator), so ä, é, ñ, ş and other accented letters are placed next to their base letters instead of at the end.
Sorting is stable: lines that compare as equal keep their original order. The list is sorted in your browser and never uploaded.
What you can do
A to Z and Z to A
Ascending or descending, with one click each.
Natural number order
2 before 10 and Chapter 9 before Chapter 11, as people expect.
Language-aware
Accented letters sort next to their base letters, in your language's order.
Case-insensitive
"apple" and "Banana" sort by letter, not by capitalization.
Copy the result
Copy the sorted list in one click.
Private
Your list stays on your device.
How to sort a list alphabetically
- 1
Paste your list into the box, one item per line.
- 2
Keep Natural Number Sort on if your lines contain numbers (file names, chapters, versions); turn it off for strict character order.
- 3
Press A to Z for ascending order, or Z to A for descending order. The box shows the sorted list.
- 4
Press the copy button to take the sorted list with you.
Good to know
Remove repeated lines first with Remove Duplicates, which keeps the original order, then sort.
Leading spaces count as characters: trim them (Remove Duplicates' Trim Whitespace option does that) for a clean order.
Sorting "Last name, First name" lines sorts by last name; sorting "First Last" sorts by first name.
To compare two lists, sort both and paste them into the Diff Checker.
Need consistent capitalization too? Use the Case Converter.
Frequently Asked Questions
What is natural number sorting?
Standard sorting compares text character by character, so "Item 10" comes before "Item 2" because "1" comes before "2". Natural sorting reads the numbers as numbers and puts "Item 2" before "Item 10".
Are uppercase and lowercase letters sorted separately?
No. Lines are compared without regard to case, so "apple", "Banana" and "cherry" come out in alphabetical order. Lines that differ only in case keep their original order.
How are accented letters and other languages sorted?
With your browser's language rules (Intl.Collator), so letters like é, ö or ş sort next to their base letters. Lists in Turkish, German, French, Spanish and many other languages come out in the order a native reader expects.
Is this secure for client names and private lists?
Yes. Your list never leaves your computer: the sorting happens inside your browser tab and nothing is uploaded.
Can I sort numbers?
Yes. With Natural Number Sort on, a list of numbers (one per line) is sorted by value: 2, 9, 10, 100. Decimals and negative numbers are compared as text, so check those.
Related tools
All Text ToolsRemove Duplicates
Remove repeated lines from a list, keeping the first.
Diff Checker
Compare two texts and see what was added or removed.
Case Converter
Convert text to UPPERCASE, lowercase, Title or Sentence case.
Word Counter
Count words, characters, sentences, and paragraphs in real-time.
https://1234apps.com/alphabetical-sort-tool/