Sort Lines Alphabetically

Alphabetize names, keywords or any list. Natural sort keeps "item 2" before "item 10", and language-aware ordering puts accented letters where a dictionary would.

Runs entirely in your browser. Your text is not uploaded.

0words
0characters
0lines
0words
0characters
0lines

How to use the sort lines

  1. Paste your list, one item per line.
  2. Choose A–Z, Z–A, natural, by length or shuffle.
  3. Optionally remove duplicates and blank lines in the same step.

Questions

How do I alphabetize a list?

Paste it with one item per line and choose A–Z. Capitals and lowercase are sorted together unless you untick "ignore case".

What is natural sort?

Plain alphabetical order compares digits as characters, so "10" comes before "2". Natural sort reads runs of digits as numbers: 1, 2, 10.

How are accented letters sorted?

We use your browser's Intl.Collator, which follows the Unicode Collation Algorithm. Pick a language to apply its rules; in Swedish, for example, "ö" sorts after "z".

Is the shuffle really random?

It uses a Fisher–Yates shuffle driven by the browser's cryptographic random number generator, so every order is equally likely.