Skip to content
SnapTools

Text Sorter

Runs in your browser

Sort a list of lines alphabetically, numerically, or by length, ascending or descending, with an option to remove duplicates.

About this tool

Sorting a pasted list by hand is tedious and error-prone once it's more than a handful of lines — a spreadsheet import, a list of names, a set of version numbers. This tool sorts the exact lines you paste using the comparison that fits the data: alphabetical for text, numeric for numbers (so 2 correctly sorts before 10), or by length.

How to use

  1. Paste a list, one item per line.
  2. Choose alphabetical, numeric, or length sorting, plus direction.
  3. Optionally remove duplicate lines, then run.

When to use this tool

  • Sorting a pasted list of names or tags alphabetically.
  • Sorting version numbers or IDs numerically so 10 doesn't sort before 2.
  • Ordering a list by line length, e.g. shortest tags first.
  • Deduplicating and sorting a list in one pass.

Tips

  • Numeric sorting reads a leading number from each line — non-numeric lines are pushed to the end.
  • Combine with Remove Duplicates first if you also need case-insensitive deduplication beyond exact-match uniqueness.

FAQ

Is my list sent anywhere?
No. Sorting happens entirely in your browser.
Does alphabetical sorting consider case?
No, by default it sorts case-insensitively, which matches how most people expect a sorted list to read.