Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Sort Lines Alphabetically

Paste a list and sort it the way you need: alphabetically, by number so 2 comes before 10, by length, reversed or shuffled. Accented letters sort where people expect them.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

What is the Sort Lines Alphabetically?

Sort Lines Alphabetically puts a list in order: A to Z, Z to A, numbers in true order so 2 comes before 10, shortest or longest first, reversed, or shuffled at random. It follows your browser’s language rules, so accented names sort where readers expect, and it can remove duplicates and empty lines at the same time. Teachers sorting class lists, writers ordering references and anyone tidying a list use it.

Who it is for: Teachers sorting class lists, writers ordering references, and anyone tidying a list.

How to use the Sort Lines Alphabetically

  1. Paste your list, one item per line.
  2. Pick how to sort it.
  3. Copy the sorted list.

Why use it

  • Seven ways to sortAlphabetical, reverse, by number, by length, reversed order or random.
  • Numbers done rightitem 2 comes before item 10, unlike simple sorting.
  • Accents handledNames like Émile sort with the E names.
  • Tidy as you sortRemove duplicates and empty lines in the same step.

At a glance

What you put in
A list with one item per line
What you get
The list sorted A to Z, Z to A, by number, by length, reversed or shuffled
Limits
Sorts with your browser’s language rules
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
item 10
item 2
Émile
zed
alpha
Result
alpha
Émile
item 2
item 10
zed

Numbers in order puts item 2 before item 10.

When to use something else

  • To sort a table by one column, use a spreadsheet. This tool sorts whole lines.

Questions people ask

Why does 10 come before 2 in other tools?

They compare text character by character. Choose Numbers in order and we read the numbers inside each line, so item 2 comes before item 10.

Does it sort names with accents correctly?

Yes. We use your browser’s language rules, so Émile sorts with the Es instead of after Z.

Is the shuffle really random?

Yes. It uses your browser’s cryptographic random generator with a fair shuffle, so every order is equally likely.

How do I sort a list alphabetically in Google Docs?

Docs has no built-in sort. Paste the list here, sort it and paste it back, or use a sorting add-on.

Can I sort by surname?

Put the surname first on each line (for example "Okafor, Ada"), then sort A to Z.

Does sorting change my capital letters?

No. Ignore upper and lower case only affects the order. Every line keeps its original spelling and capitals.

Next, you might need