SemVer Comparator
Compare semantic version strings and check range compatibility.
1.2.3 is less than 2.0.0-beta.1
Component Breakdown
Supports ^, ~, >=, <=, >, <, =. Space = AND, || = OR.
Understanding Semantic Versioning
Semantic Versioning (SemVer) is a versioning scheme defined at semver.org. A version number takes the form MAJOR.MINOR.PATCH: the major version increments for breaking changes, minor for backwards-compatible new features, and patch for backwards-compatible bug fixes. An optional pre-release label (e.g. -beta.1) identifies unstable builds; a stable release always beats a pre-release of the same MAJOR.MINOR.PATCH. The caret range ^ allows minor and patch updates for a given major; the tilde range ~ allows only patch updates for a given major.minor. Everything runs locally in your browser.
Private & free — this tool runs entirely in your browser.