Developer

Semantic Version (SemVer) Calculator — Bump and Compare

Bump semantic version numbers, compare two versions, and check npm range compatibility (^, ~, >=).

All processing runs in your browser.

Related Tools

More free utilities you might find useful

Frequently Asked Questions

Quick answers to common questions

What is Semantic Versioning (SemVer)?+

SemVer uses MAJOR.MINOR.PATCH format: increment MAJOR for breaking changes, MINOR for backwards-compatible features, PATCH for bug fixes. Optional prerelease: 1.0.0-alpha.1.

What do npm version range symbols mean?+

Caret (^1.2.3) allows minor and patch updates within the same major. Tilde (~1.2.3) allows only patch updates. Exact (1.2.3) pins to a specific version.

How do I compare two SemVer strings programmatically?+

Compare major, minor, patch as integers in order. Prerelease versions have lower precedence than release versions.