text

Sort Lines Alphabetically

Sort a pasted list without opening a spreadsheet for a job that should take a few seconds.

Sort direction

Lines before

0

Lines after

0

Changed

No

What this tool does

Sort Lines organizes plain-text rows alphabetically, reverses order when needed, and helps make quick lists easier to scan.

When to use it

Use it for names, labels, keywords, URLs, notes, or any one-item-per-line text that needs a predictable order.

How it works

Paste lines, choose the sort direction or style, then copy the reordered list.

Useful for

  • Alphabetize names, tags, labels, or short notes.
  • Sort lists before comparing two versions.
  • Put copied rows into a cleaner order before sharing.

Questions before the button mashing

Will it change the text inside each line?

No. Sorting changes the line order, not the wording of the lines themselves.

Should I deduplicate before or after sorting?

Either can work. Deduplicate first if you want fewer lines to review, sort first if you want repeats grouped together.

Related tools

Nearby tiny fixes