Free online tools · Browser-first utilities · No account required
Home / Text Tools / Line Sorter
Text Tools

Line Sorter

Sort lines alphabetically or numerically.

Using Line Sorter

On this page
  1. Using Line Sorter
  2. Input reference
  3. Continue your task

Numbers stored as text can sort in a surprising order. Compare 3, 11 and 20 before processing an inventory list. Case-sensitive ordering and natural numeric ordering answer different questions, so inspect capitalization and leading zeros in the output.

Example input

Input
20
3
11
Additional value (if needed)
numeric

Example result

3
11
20

Read next · How to Remove Duplicate Lines Without Losing Data

Input reference

Input
Enter multiline text. Field hint — Enter or paste your input here….
Additional value (if needed)
Enter text. Field hint — Optional second value.
Report a correction

← Browse all 311 tools