Sort Lines Alphabetically

Sort a list of lines alphabetically and remove duplicates in one step.

A tidy, ordered list

A raw list is often both out of order and full of repeats. This alphabetises the lines and strips the duplicates together, turning a scrappy jumble into a clean, sorted set — handy for organising names, tags, imports, keywords or any list you want in order and free of doubles.

Paste the lines, and they come back sorted and deduplicated.

Sorting options

Alphabetical is the default, but the direction matters too: ascending A to Z for most lists, descending Z to A when you want the reverse. Numbers sort more sensibly by value than by character when that option is available, so 2 comes before 10 rather than after it. Combined with removing duplicates, it is the one-step way to make sense of a disorderly list.

Sort Lines Alphabetically FAQ

Does it sort and remove duplicates together?

Yes — it alphabetises the lines and strips repeats in a single step.

Can I sort in reverse?

Yes, ascending or descending, so you can order the list either way.

Is my text uploaded?

No. The sorting happens in your browser.

More Text tools