Sort lines
Sort lines alphabetically or in natural number order.
No files selected
The Numeric setting sorts embedded digit sequences naturally, such as file2 before file10. It is not a decimal-number sort. Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.
Your result
How to use Sort lines
- Enter your text in the input field.
- The result updates as you type. Adjust the available settings if needed.
- Review the result, then use Copy result or a download link when available.
What to expect
Sort lines alphabetically or in natural number order. The Numeric setting sorts embedded digit sequences naturally, such as file2 before file10. It is not a decimal-number sort.
Try a small example
file10 file2 file1