SemVer Calculator
Parse, compare, bump versions and evaluate npm SemVer ranges.
Parts
- Major
- 1
- Minor
- 4
- Patch
- 2
- Pre-release
- beta.1
- Build metadata
- build.42
Checks & Next Versions
Compare: 1.4.2-beta.1+build.42 < 1.4.2
Range ^1.4.0: Does not satisfy
| major | 2.0.0 | |
|---|---|---|
| minor | 1.5.0 | |
| patch | 1.4.2 | |
| premajor | 2.0.0-alpha.0 | |
| preminor | 1.5.0-alpha.0 | |
| prepatch | 1.4.3-alpha.0 | |
| prerelease | 1.4.2-beta.2 |
Your input is processed locally in this browser tab.
How to use SemVer Calculator
Enter any Semantic Version (with optional pre-release tag and +build metadata).
Optionally enter another version in Compare with and an npm range like ^1.4.0 || >=2.0.0.
Inspect parsed parts, range match status, and copy any bumped next version (major/minor/patch/pre*).
Frequently asked questions
Does range evaluation support caret (^), tilde (~), hyphens, and || unions?
Yes, including 0.x minor/patch caret semantics and prerelease opt-in rules from SemVer 2.0.0.
Does build metadata affect version precedence?
Following SemVer 2.0.0, build metadata (+...) is parsed and displayed but ignored during comparisons.