Sort Lines

Sort text lines alphabetically

Processed securely in your browser

How to use this tool

Alphabetize a line-based list using the browser's locale comparison.

  1. Enter one item per line in Input text.

  2. Choose Process Text.

  3. Inspect Output text and copy the sorted sequence.

Practical example

A list banana, apple, pear sorts into apple, banana, pear.

Limits and troubleshooting

Duplicates are kept. Numbers are not sorted as numeric values, and accented letters can be ordered differently by locale; check results before treating them as a universal sort order.

About Sort Lines

Sort text lines alphabetically using the browser locale comparison. Sorting does not remove duplicate lines. All processing happens directly in your browser — your files never leave your device.