How to use
- Enter a full version, a comparison version and an npm range.
- Run the tool and review the results and status messages.
- Copy the values you need or download the result for reuse.
SemVer Calculator
Compare semantic versions, test npm ranges and calculate the next release.
Processing runs in your browser. Your input and files are not uploaded to DevToolsy.
How it works
Versions follow SemVer 2.0.0. Ranges use npm rules; build metadata does not affect precedence.
1.2.3{
"major": "2.0.0",
"minor": "1.3.0",
"patch": "1.2.4",
"prerelease": "1.2.4-beta.0"
}Compare semantic versions, test npm ranges and calculate the next release.
What to expect
By default, npm ranges exclude most prereleases unless the range explicitly includes a prerelease for the same base version. Enable “Include prereleases” to apply the broader matching rule.
Output
Copy the values you need or download the result for reuse.
Full SemVer versions up to 256 characters; npm ranges up to 2,048 characters; up to 1,000 list entries.
Frequently asked questions
Which version and range rules are used?
Versions follow SemVer 2.0.0. Ranges use npm rules; build metadata does not affect precedence.
How are prereleases matched?
By default, npm ranges exclude most prereleases unless the range explicitly includes a prerelease for the same base version. Enable “Include prereleases” to apply the broader matching rule.
Is the input uploaded?
Processing runs in your browser. Your input and files are not uploaded to DevToolsy.
What are the processing limits?
Full SemVer versions up to 256 characters; npm ranges up to 2,048 characters; up to 1,000 list entries.
Can I keep the result?
Copy the values you need or download the result for reuse.