List Tools

Sort Numbers Online

Sort a list of numbers in true numeric order, low to high or high to low.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 lines

A text sort orders 2, 10 and 100 wrongly because it compares them as strings, not values.

Sort Numbers Online reads each line as a number and orders them by value.

How to use Sort Numbers Online

  1. Paste one number per line into the input box.
  2. Choose ascending or descending, and Sort Numbers Online orders the numeric lines by value.
  3. Copy the sorted numbers, or download them as a .txt file.

Use cases

Good to know

Sort Numbers Online parses each line as a number, including decimals and negatives, and orders them by value. Lines that are not numbers are kept and shown under a labelled note so the numeric list stays clean.

Frequently asked questions

Does it handle decimals and negatives?

Yes. Values with decimal points and negative signs are parsed and ordered correctly by magnitude and sign.

What happens to non-numeric lines?

They are not sorted into the numbers; instead they are listed under a note so you can see what was skipped.

Can I order largest first?

Yes. A direction control switches between ascending and descending numeric order.

Related List Tools