Skip to content
ZeroServer.tools

SemVer Comparator

Compare semantic version strings and check range compatibility.

<

1.2.3 is less than 2.0.0-beta.1

Component Breakdown

Major1<2
Minor2>0
Patch3>0
Pre-rel(none)<beta.1

Supports ^, ~, >=, <=, >, <, =. Space = AND, || = OR.

1.2.3satisfies^1.0.0
2.0.0-beta.1satisfies^1.0.0

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.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Developer Utilities tools