Semver comparator

Compare two version numbers using the official Semantic Versioning 2.0.0 rules. Enter two versions to see which is newer and why - build metadata is ignored, as the spec requires.

Version A is newer
They share the same major.minor.patch but differ in the pre-release tag - a pre-release is older than the final release.

How semver precedence works

This follows Semantic Versioning 2.0.0 (semver.org). It compares the values you enter; it does not fetch package data.