Version compare

Compare two version numbers, or sort a pasted list of versions the way releases actually order.

Compared in this browser. Nothing is sent anywhere.

Understands dotted versions like 1.2.3, an optional v or = prefix, prerelease tags such as -alpha.2 or -rc1, and ignores +build metadata. Sorting takes up to 200,000 characters and 20,000 lines; lines that are not versions are skipped and listed.

How to use

  1. Enter two versions, or paste one per line.
  2. Compare or sort.
  3. Read the verdict or copy the ordered list.

What it supports

Dotted versions like 1.2.3 with an optional v or = prefix, prerelease tags such as -alpha.2, and +build metadata (ignored). Numeric order beats text order, so 1.10.0 sorts after 1.9.0. Lines that are not versions are skipped and listed. Up to 200,000 characters and 20,000 lines.

Related tools

Related guides