toolbin_

Semantic Version Comparator (Semver) Online Tool

Compare two semantic versions (semver) and see which is newer, in your browser.

1.10.0 is newer than 1.2.0

Follows the SemVer 2.0 spec (pre-release precedence included).

🔒 100% client-side — no data sent

Compare two semantic versions (semver) and find out which one is newer, accounting for major, minor, patch and pre-release parts. The tool runs 100% in your browser, with no sign-up and no data sent anywhere.

What is it for?

  • Check whether an installed dependency is newer than the required one
  • Compare two release tags before a deployment
  • Understand the precedence of pre-releases such as alpha or rc
  • Validate a version constraint in a dependency file

FAQ

What is semantic versioning (semver)?

Semver is a numbering convention in the MAJOR.MINOR.PATCH format, where each part signals a type of change. Major marks a breaking change, minor a feature and patch a fix.

How do I know which semver version is newer?

You compare major first, then minor, then patch, from left to right. A version with a pre-release such as 1.0.0-rc.1 is considered lower than the stable 1.0.0.

How are pre-releases like alpha and beta ordered?

Pre-release identifiers are compared part by part, with numeric values ranking below alphanumeric ones. So 1.0.0-alpha comes before 1.0.0-beta, which comes before 1.0.0-rc and then the final release.