SemVer Calculator

Compare semantic versions, test npm ranges and calculate the next release.

Development & DevOps
Preparing your workspace…
Input
Output
Your result will appear here.

How to use

  1. Enter a full version, a comparison version and an npm range.
  2. Run the tool and review the results and status messages.
  3. 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.

Before and after
Input
1.2.3
Output
{
  "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.

Processing limits

Full SemVer versions up to 256 characters; npm ranges up to 2,048 characters; up to 1,000 list entries.

Further readingSemVer 2.0.0
?

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.

Find your next tool

Language

Switch language? Your current work will be cleared. Copy or download it first.