Semantic Version Bumper & Comparator
Bump a semver version, or compare two to see which is newer.
New version
—
Result
—
About this tool
Bumps a semantic version number (major/minor/patch/prerelease) following the official semver rules, or compares two versions to see which one is actually newer — including correct handling of prerelease tags like 1.2.3-beta.1, which sort before their final release 1.2.3.
Everything runs locally in your browser — nothing is uploaded.
Frequently asked questions
- What's the difference between major, minor, and patch?
- Per semver convention: patch is for backwards-compatible bug fixes, minor is for backwards-compatible new features, and major is for breaking changes. Bumping major or minor resets the lower parts to zero (e.g.
1.5.2→ major bump →2.0.0). - Why does
1.2.3-beta.1compare as "older" than1.2.3? - This is a deliberate rule in the semver spec — a version with a prerelease tag is considered a pre-release of that version, not a later one, so it always sorts before the plain (final) release with the same major.minor.patch.
- What versions does this accept?
- Standard
MAJOR.MINOR.PATCHwith an optional-prereleaseand/or+buildsuffix (build metadata is accepted but ignored for comparison, per the spec) — an optional leadingvis also accepted and stripped.