← All tools
Text tool

Text Sorter

Sort lines of text alphabetically, numerically, by length or randomly.

Input
Sorted
Copied!

Sort text lines in different ways

Organize one-item-per-line data without building a spreadsheet.

  1. Paste lines of text in the input field.
  2. Select A–Z, Z–A, numeric, length-based or random ordering.
  3. Optionally remove duplicates, trim whitespace or ignore case, then copy the sorted result.

Example

You can sort a list of city names alphabetically, or use a numeric sort for values that represent quantities.

What to check

The sort changes order by design. Review entries that contain numbers, accents or mixed capitalization.

Share your feedback

Found a bug? Have a suggestion? We read every message.

✓ Thank you!

We appreciate your feedback and will look into it.