Semantic Version Calculator

Parse, bump, and analyze SemVer 2.0.0 strings. Safely calculate next version numbers based on Major, Minor, and Patch release rules.

Checking...
1.4.2-beta.1+build.789
Major1
Minor4
Patch2
Pre-releasebeta.1
Build Metabuild.789

What is Semantic Versioning?

Semantic Versioning (SemVer) is a universal versioning scheme for software. Given a version number MAJOR.MINOR.PATCH, you increment the:

  • MAJOR version when you make incompatible API changes.
  • MINOR version when you add functionality in a backward compatible manner.
  • PATCH version when you make backward compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format (e.g., 1.0.0-alpha+001).

How to use Semantic Version Calculator

  1. Enter or paste the values requested in the input fields.
  2. Choose any options provided, then run an action button if the tool requires one.
  3. Review the result and copy or adjust it as needed.

Semantic Version Calculator features

  • Available tool controls: Bump & Parse, Bump Major, Bump Minor.
  • Input and option fields: Current Version:, Calculate Next Version:, Resulting Version:.

Frequently Asked Questions (FAQ)

By definition in the SemVer specification, bumping a major, minor, or patch version creates a completely new release profile, thus discarding previous pre-release or build metadata identifiers associated with the older version.

No. According to SemVer 2.0.0, build metadata (the part after the + sign) SHOULD be ignored when determining version precedence. Thus, 1.0.0-alpha+001 and 1.0.0-alpha+002 share the exact same precedence.