SemVer Calculator & Parser
Parse Semantic Versioning 2.0.0 strings, calculate next major/minor/patch bumps, compare versions, and test ranges.
Related developer tools
All Developer toolsBase64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
UUID Generator
Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.
Regex Tester
Test regular expressions with live match highlights, capture groups, and replacements.
About SemVer Calculator & Parser
Parse Semantic Versioning 2.0.0 strings into major, minor, patch, pre-release, and build metadata, compute next version bumps, compare two versions for precedence, and test npm-style version ranges.
How to use SemVer Calculator & Parser
- 1
Enter any SemVer string (with or without a leading v) to inspect its components and next patch, minor, major, and pre-release bumps.
- 2
Enter a second version in the comparison card to check exact SemVer 2.0.0 precedence.
- 3
Test whether your version satisfies range expressions using ^, ~, >=, <=, >, <, ||, or wildcards like 1.x.
Frequently asked questions
How does SemVer 2.0.0 compare pre-release versions and build metadata?
A pre-release version (like 2.4.1-beta.2) always has lower precedence than the corresponding stable release (2.4.1), while +build metadata is ignored when comparing precedence.
What is the difference between ^1.2.3 and ~1.2.3?
Caret (^1.2.3) allows minor and patch updates below 2.0.0, whereas tilde (~1.2.3) allows only patch updates below 1.3.0.
Does SemVer Calculator support OR (||) and compound ranges?
Yes. You can combine space-separated AND bounds (like >=2.0.0 <3.0.0) and || OR alternatives.
