Semver Calculator works with Semantic Versioning 2.0.0. It parses a version into its parts, compares two versions by precedence, bumps a version, and checks whether a version satisfies a range.
Range support covers carets, tildes, x-ranges, hyphen ranges, comparator sets, and the || operator. It runs in your browser.
A version with a prerelease tag is lower than the same version without one, and prerelease identifiers are compared piece by piece, numbers below text.
Caret, tilde, x-ranges such as 1.x, hyphen ranges such as 1.2.0 - 1.6.0, plain comparators such as >=1.2.3 <2.0.0, and alternatives joined with ||.
It follows the same rules for the common cases but is a smaller implementation. Check unusual ranges against the real tool.
No. The tool runs entirely on this page.