In short
To sort lines, paste your list and choose A → Z, Z → A, Natural (so item 2 comes before item 10), By length or Shuffle. Sorting is case-insensitive and accent-aware, and empty lines are removed.
How to use the Sort Lines Alphabetically
- 1Paste or type your input in the left box (or click "Try an example").
- 2Adjust the options if needed. The result updates as you type.
- 3Copy the result or download it as a file.
Natural sorting
Plain alphabetical sorting puts "item 10" before "item 2" because it compares characters. Natural sorting compares the numbers, which is what people expect.
Frequently asked questions
Is the shuffle random?
Yes, it uses your browser's cryptographic random number generator.
Does it handle other languages?
Yes, sorting follows your browser's language rules.
Is my data sent anywhere?
No. Everything runs in your browser. What you paste is never uploaded, logged or stored, so it's safe for code, tokens and private content.
Last updated

