Text Tools

Sort Lines Alphabetically

Sort lines into alphabetic order with options for case sensitivity, duplicates, and empty lines.

Output lines
0
Input lines
0
Duplicate lines removed
0
Empty lines removed
0
Sorted output

Sorted output will appear here.

What this tool does

Use this tool to sort text line-by-line for logs, scripts, lists, and content drafts.

How to use it

  1. Paste your lines into the text area.
  2. Choose sorting mode and cleanup options.
  3. Copy the sorted output and paste it into your workflow.

Privacy note

This tool runs in your browser. Your lines are never uploaded to a server.

FAQ

Does it keep the first line for duplicates?

If Remove duplicate lines is enabled, each duplicate line is kept once after sorting.

Can it work case-sensitive?

Yes. Turn on Case-sensitive sort if uppercase and lowercase should follow different order rules.

Do you remove empty rows?

Optional. Enable Remove empty lines to drop blank rows from the output.

Explore more tools