๐Ÿท๏ธ Semantic Version Checker

1.2.3 is older than 1.10.0-beta.1

Enter two version numbers in semantic versioning format (e.g. 1.2.3, 2.0.0-beta.1), and this tool automatically determines which one is newer. Pre-release versions (-beta, -alpha, etc.) are compared correctly according to the semver spec. Handy for managing npm package versions or checking release ordering.

How to use

  1. Enter the two version numbers you want to compare.
  2. Which version is newer (greater) is determined and shown automatically.
  3. An input field turns red if the version format is invalid.

FAQ

What is semantic versioning?

It's a convention for managing versions in the form "major.minor.patch" (e.g. 1.2.3) โ€” bump major for breaking changes, minor for backward-compatible features, and patch for bug fixes.

How are pre-release versions compared?

For the same major.minor.patch, a pre-release version (e.g. 1.0.0-beta) is treated as older than the corresponding release version (1.0.0).

Does build metadata (the +build.1 part) affect the comparison?

No, per the semver spec, build metadata is not used when comparing version precedence.