Sort Text Lines

Sort lines alphabetically, by length, in reverse or randomly.

Your data is processed in your browser and is not uploaded to our servers.

About the Sort Text Lines

Sort Text Lines orders lists alphabetically from A to Z or Z to A using language-aware sorting for Arabic and other scripts. Natural number ordering puts "item 2" before "item 10". You can also sort by length or shuffle randomly.

How to use the Sort Text Lines

  1. Paste your lines.
  2. Choose the sort order and options.
  3. Copy or download the sorted list.

Frequently asked questions

Does it sort Arabic correctly?

Yes. Sorting uses the browser’s locale-aware comparison for correct alphabetical order.

Is random shuffling truly random?

It uses a cryptographically secure random generator for an unbiased shuffle.