Systems

SemVer Tool

Compare versions and calculate the next major, minor or patch.

Runs locally Free No signup

A working example is preloaded — edit it or clear it.

SemVer toolSemVer 2.0

Next major
Next minor
Next patch

What this tool does

Semantic Versioning encodes compatibility: major for breaking changes, minor for features, patch for fixes. This tool validates a version, compares it with another and suggests the next release numbers.

How to use it

  1. Enter a version.
  2. Optionally enter another version to compare.
  3. Copy the comparison or a next version.

Questions

How is prerelease precedence calculated?

SemVer compares dot-separated identifiers: numeric identifiers numerically, text identifiers lexically, and a prerelease is lower than the release.

Are leading zeros allowed?

No. Major, minor and patch must be non-negative integers without leading zeros.

Is build metadata compared?

No. Build metadata after + is ignored for precedence.

← Back to all tools
Type to filter, ↑↓ to move, ↵ to open, esc to close.esc