Free Sort Lines

Unsorted lists are hard to scan and full of hidden duplicates. Paste your lines here and sort them A–Z, Z–A, numerically or by length — with optional case-insensitive sorting and one-click deduping.

Private by design. This tool runs 100% in your browser — your text is never uploaded to any server.

How to Use the Sort Lines

  1. Paste your lines, one per line.
  2. Choose the sort mode.
  3. Tick ignore-case or dedupe if needed, then click “Sort lines”.
  4. Copy or download the sorted list.

Features

Six sort modes: A–Z, Z–A, numeric ascending/descending, length short–long/long–short, plus plain reverse. Numeric mode extracts numbers from within text; optional case-insensitive comparison and duplicate removal run in the same pass.

Benefits & Use Cases

Organize keyword and tag lists alphabetically. Sort numeric data pasted from reports. Tidy config files and enum lists. Prepare sorted, deduped data for imports without spreadsheet gymnastics.

Tips

Numeric mode sorts by the first number found in each line — perfect for “Item 2” vs “Item 10”, which alphabetical mode would order wrong. Combine dedupe with A–Z for a clean unique sorted list in one click. Length sorting is great for finding outliers.

Frequently Asked Questions

Is the line sorter free?

Yes, free and unlimited.

How does numeric sorting work?

It finds the first number in each line and sorts by its value, so “Item 10” correctly follows “Item 2”.

Can it remove duplicates too?

Yes — tick “Remove duplicate lines” before sorting.

Is sorting case-sensitive?

By default it ignores case; the option is on but you can change the behavior per run.

Is my list uploaded?

No, sorting happens locally in your browser.

Related Tools