Sort Words & Lines Alphabetically
Sort words or lines alphabetically in ascending or descending order. Organize lists with language-aware sorting and optional numeric order.
Hover over or focus a field for help. Press Escape to close.
How it works
Paste your content or load the example. Choose the available options, run the tool, then copy or download the result.
A practical example
List: one entry per line
pear apple
Result
apple pear
Frequently asked questions
Is my input sent to a server?
No. Your content is processed in this browser. It is never sent to the server or saved.
What should I know about Sort Words & Lines Alphabetically?
Choose lines to keep each entry intact, or words to split at whitespace. Select ascending or descending order. Numeric sorting, length sorting and shuffle remain available. Word mode returns one entry per line; punctuation stays attached.