How to sort lines
Paste one item per line, choose a sort mode, then copy or download the sorted result. Use trim, empty-line removal, and duplicate removal when your source text is messy.
Example
banana Apple file10 file2
Apple banana file2 file10
FAQ
What is natural sort?
Natural sort handles embedded numbers in a human-friendly way, so file2 comes before file10.
Can I remove duplicates while sorting?
Yes. Turn on Remove duplicates before copying the sorted output.
Is the text uploaded?
No. Sorting happens locally in your browser.