Sort lines alphabetically, numerically or randomly

Paste a list, choose how it should be ordered and copy the sorted result.

  • Free, no sign-up
  • Your files and data stay on your device
  • No watermarks or limits

0 bytes uploaded. Everything happens in this tab.

How to use it

  1. Paste your list, one item per line.
  2. Choose the order: A-Z, Z-A, numeric, by length or random.
  3. Copy the sorted list.

Example

List: zebra, apple, Cat, 10, 9 with the numeric option on:

9
10
apple
Cat
zebra

About this tool

Sorting a list is one of the most common text chores: names for a guest list, tags, product codes, a bibliography. The tool orders lines in a language-aware way, so capital letters and accented characters end up where a person would expect them.

The numeric option compares numbers by value, so 9 comes before 10 instead of after it. Sorting by length helps when you want the shortest or longest entries first. Random order is useful for draws and shuffling.

The list is processed locally and not stored.

Frequently asked questions

Is the sort case sensitive?

No by default. Capital and small letters are ordered together.

What does the numeric option do?

Numbers are compared by value, so 9 comes before 10.

Can I reverse the order?

Yes, choose the Z-A order.

Is the list stored?

No, it stays in your browser.

Often used next