SemVer Validator & Checker
Free SemVer validator, checker & tester. Validate versions, check constraints, compare releases, and bump major/minor/patch per SemVer 2.0. No signup.
Loading tool...
What is SemVer Validator & Checker?
A SemVer validator and checker helps you validate software versions against the SemVer 2.0 specification. Check constraints, compare releases, and bump major, minor, and patch versions used in package managers.
Key Benefits
- One-click version bumps
- Version comparison
- Constraint validation
- SemVer 2.0 compliant
Common Use Cases
- •Release management
- •Package versioning
- •Dependency constraints
- •Version planning
How to Calculate Semantic Versions
- Enter Version: Input your current version (e.g., 1.2.3).
- Bump Version: Click Major, Minor, or Patch to increment the version.
- Compare Versions: Optionally enter another version to compare.
- Copy Result: Copy the new version for your package.json or release.
Key Features
- Parse and validate semantic versions
- One-click major/minor/patch bump
- Compare two versions for ordering
- Pre-release and build metadata support
- Version constraint validation
- SemVer 2.0 specification compliant
Frequently Asked Questions
What is Semantic Versioning?
Semantic Versioning (SemVer) uses MAJOR.MINOR.PATCH format. MAJOR for breaking changes, MINOR for new features (backward compatible), PATCH for bug fixes. Example: 1.2.3 where 1=major, 2=minor, 3=patch.
When should I bump each version number?
Bump MAJOR for incompatible API changes, MINOR for new backward-compatible features, PATCH for bug fixes. Pre-release versions can use suffixes like -alpha, -beta, -rc.1.
What are version constraints?
Constraints like ^1.2.3 (compatible updates), ~1.2.3 (patch updates), >=1.0.0 <2.0.0 define which versions your package accepts. The tool validates if a version matches a constraint.
How do I compare versions?
Enter two versions and the tool shows which is greater. It properly handles pre-release versions (1.0.0-alpha < 1.0.0) and build metadata according to SemVer 2.0 spec.