Sort lines alphabetically
Sort lines A→Z or Z→A with proper language ordering and numbers sorted as numbers.
How to use: Sort lines alphabetically
- Paste the lines.
- Choose A→Z or Z→A and the case, number and empty-line options.
- Copy the sorted result.
What it accepts and what you get
- Input
- Text with one entry per line.
- Output
- The lines sorted in the page language's alphabetical order.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- Accented letters sort next to their base letter.
- With “numbers as numbers”, file2 comes before file10.
Suggested next steps
- Available
Remove duplicate lines
Remove repeated lines from a list and keep the first occurrence, with case and whitespace options.
AvailableIn your browser - Available
Remove empty lines
Remove blank lines from a text, or keep just one between blocks, and copy the cleaned result in one click.
AvailableIn your browser
Related tools
- Available
Remove duplicate lines
Remove repeated lines from a list and keep the first occurrence, with case and whitespace options.
AvailableIn your browser - Available
Remove empty lines
Remove blank lines from a text, or keep just one between blocks, and copy the cleaned result in one click.
AvailableIn your browser - Available
Add line numbers
Add numbers at the start of each line with your choice of start, separator and zero padding.
AvailableIn your browser - Available
Word counter
Count words, characters, sentences and paragraphs instantly.
AvailableIn your browser

