Semantic Version Validator

Paste a version string to validate it against the SemVer 2.0.0 spec.

How to use

  1. Enter your values in the fields above.
  2. Press Calculate to see your result instantly.
  3. Use the Share button to copy a link to your result.

About this calculator

Semantic Versioning 2.0.0 (semver.org) is the widely adopted spec — used by npm, Cargo, Composer, and most modern package registries — for structuring version numbers as MAJOR.MINOR.PATCH, where major increments signal breaking changes, minor increments add backward-compatible features, and patch increments are backward-compatible fixes, optionally extended with a hyphenated pre-release tag (like -beta.1) and a plus-prefixed build metadata tag (like +20130313144700).

This tool checks whether a pasted version string is valid under the SemVer 2.0.0 grammar and, if so, breaks it into its major, minor, patch, pre-release, and build components. Software developers publishing packages, CI/CD pipeline maintainers validating release tags, and package registry tooling authors use it to catch malformed version strings before they cause a broken publish or a dependency-resolution failure.

Was this helpful?

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators