Free online text tools

Sorting Tools

Sorting tools put the lines of your text in a new order: alphabetical, by length, by number or at random. Choose a tool below, paste your list and copy the sorted result. All four tools are free and run in your browser.

Which sorting tool should you use?

Pick the order that matches your list.

You wantUseExample result
Names or words in A to Z orderAlphabetical Sortapple, mango, pear
Shortest line firstLength Sortfig, apple, banana
Numbers in true numeric orderSort Numbers2, 4, 10, 33
A shuffled listRandomly Sort Lines of TextA different order each time

Quick guide to sorting lines

One item per line

Sorting tools treat each line as one item. Put every name, word or number on its own line before you paste.

Text sort vs number sort

Sorted as text, 10 comes before 2 because the tool compares characters. Use Sort Numbers when you want true numeric order.

Duplicates stay

Sorting only changes the order. Duplicate lines are kept, so remove duplicates separately if you need a unique list.

How to use any sorting tool

  1. 1
    Choose a tool
    Pick the order from the grid above.
  2. 2
    Paste your list
    One item per line.
  3. 3
    Run the sort
    See the new order.
  4. 4
    Copy the output
    Use the sorted list anywhere.

Sorting tools FAQ

What are sorting tools?

Sorting tools put the lines of your text into a new order. You paste a list, choose how to sort it and copy the result.

How do I sort a list alphabetically?

Paste your list into the Alphabetical Sort tool with one item per line. The tool orders the lines from A to Z, and you can copy the sorted list.

What is the difference between alphabetical sort and number sort?

Alphabetical sort compares text character by character, so 10 comes before 2. Number sort compares the actual values, so 2 comes before 10. Use Sort Numbers for lists of numbers.

How do I sort lines by length?

Paste your lines into the Length Sort tool. It orders them from the shortest line to the longest.

How do I shuffle or randomize a list?

Paste your lines into the Randomly Sort Lines of Text tool. It mixes them into a random order, and you get a different order each time you run it.

Does sorting remove duplicate lines?

No. Sorting only changes the order, so duplicate lines stay in the list. Use a duplicate remover first if you want unique lines.

Is the sort case sensitive?

It depends on the tool settings. Many sorts treat upper and lower case letters the same, others place capital letters first. Check the output if the order matters for your list.

Is random sorting truly random?

It uses your browser's random number generator, which is fine for shuffling lists, games and picking order. It is not suitable for security or cryptography.

Are these tools free and is my text private?

Yes. Every tool is free, needs no account and runs in your browser, so your text is not uploaded to a server. Still, avoid pasting passwords or other secrets into any web page.

Missing a tool? Tell us and we will build it.

Suggest a tool

Last updated: 22 October 2026