Back to Text
Input
Output
—
How it works
Sorts lines of text alphabetically from A to Z using locale-aware ordering—ideal for cleaning lists, glossaries, and configuration entries.
Who it's for: Developers sorting env keys, writers alphabetizing bibliographies, and admins organizing name lists
Treats each line as a separate item and sorts the full list.
Uses standard locale comparison for predictable A–Z order.
Keeps one item per line in the output.
How to use
- Paste a list with one entry per line into the Input field.
- Wait for the sorted list to appear in the Result section.
- Scan for empty lines—they sort to the top or among entries depending on content.
- Click Copy to export the ordered list.
Good to know
- Sorting is ascending only—reverse the list in an editor if you need Z–A order.
- Leading spaces affect sort order—run Trim or remove spaces first if order looks wrong.
- Case-sensitive ordering may place uppercase before lowercase depending on locale rules.
Related tools
More calculators in the same category
- Word CounterCount words, characters, and reading time
- UPPERCASEConvert text to all uppercase letters
- lowercaseConvert text to all lowercase letters
- Title CaseCapitalize the first letter of each word
- Remove Duplicate LinesKeep only unique lines of text
- URL EncodePercent-encode text for URLs (encodeURIComponent)