Semver bump calculator
Calculate the next semantic version from a current version and a chosen bump type.
Semver bump calculator
Paste a version like 1.4.2 and choose a bump type — major, minor, patch, premajor or prerelease — and this tool calculates the exact next semantic version, following the SemVer 2.0.0 rules for pre-releases and build metadata. It is built for maintainers cutting a release, CI scripts that need the next tag, and anyone who wants to double-check a version bump before it lands in package.json or a git tag.
Premajor and prerelease bumps use the pre-release identifier option — alpha, beta or rc — to open or continue a pre-release train, so 2.0.0 becomes 2.0.0-beta.0, and a second prerelease bump on the same identifier moves it on to beta.1. Add build metadata such as a commit hash and it is appended after a plus sign. Turn on "Recommend bump from commit list" and put your current version on the first line, followed by one Conventional Commits message per line: feat: recommends a minor bump, fix: or perf: recommends a patch, and a "!" after the type, or a BREAKING CHANGE: footer, recommends a major bump. Enter a caret range (^1.2.0) or a tilde range (~1.2.0) to see whether the calculated version still falls inside it.
The calculator accepts an optional leading v (v1.4.2), reads existing pre-release and build identifiers correctly, and treats Windows and Unix line endings the same way. A version that is not valid SemVer, or a range that is not a valid caret or tilde expression, is reported in plain language rather than as a silent wrong answer.
Everything runs in your browser. No version number or commit message is ever uploaded, so it is safe to use with an unreleased project. Copy the result, download it as a .txt file, or send it back into the input to chain another bump on top of it.