Line sorter

Sort line-delimited text locally with direction, numeric comparison, case sensitivity, and optional duplicate removal.

Local processing
Local processing
Ready — nothing leaves this page
Input
Settings
Run tool

Browser memory only. No upload fallback.

Result
Your result will appear here

The input stays available if you need to adjust a setting.

How to use line sorter

  1. 1

    Paste one value per line.

  2. 2

    Choose sort behavior.

  3. 3

    Sort and copy the result.

A realistic example

Sort a list of release numbers numerically so `10` follows `9` instead of `1`.

Supported formats and limits

Input and output: line-delimited UTF-8 text.

  • Numeric mode places non-numeric lines after numeric values.
  • Locale-aware ordering follows the browser's current locale.

Questions people ask

What is the difference between alphabetical and numeric sorting?

Alphabetical sorting compares text characters; numeric sorting compares parsed number values.

Can sorting also remove duplicates?

Yes. Enable the unique option to remove exact duplicate lines.