📝 Sort Text Lines

Sort lines alphabetically, numerically, or by length

🐦 Twitter 📘 Facebook 🔗 Copy Link
Lines: 0
Result

Frequently Asked Questions

How do I sort text lines?

Paste your text, choose sort type (alphabetical, numeric, or length), pick ascending or descending, and click Sort.

What's the difference between alphabetical and numeric sort?

Alphabetical treats lines as text ("10" before "2"). Numeric extracts numbers and sorts by value ("2" before "10").

Can I sort by line length?

Yes, choose "Length" sort to order lines from shortest to longest (or vice versa with descending).

Can I remove duplicates while sorting?

Yes, enable "Remove duplicates" to deduplicate lines during sorting.

Is the sort case-sensitive?

By default it's case-insensitive. You can modify this behavior if needed.

Does it handle empty lines?

Enable "Remove empty lines" to strip blank lines from the output.

Can I sort a large list?

Yes, it handles thousands of lines efficiently since processing is done locally in your browser.

Is my data kept private?

Yes. All sorting happens in your browser. No data is sent to any server.

Copied!