Guide · Developer Tools / Code & DevOps
About SemVer Comparator & Range Checker (^ / ~)
Compare two Semantic Versioning strings (MAJOR.MINOR.PATCH with optional prerelease tags) and test caret (`^`) and tilde (`~`) npm upgrade compatibility.
When to use this tool
Check quickly whether bumping a dependency from `2.4.1` to `2.10.0` falls inside an existing `^2.4.0` range.
How to use SemVer Comparator & Range Checker (^ / ~)
- Enter Version A and Version B (leading `v` handled cleanly).
- Inspect comparison verdict (`<`, `=`, `>`), major/minor/patch breakdown, and caret/tilde compatibility.
Supported inputs, options, and outputs
- Inputs: Version A and Version B SemVer strings.
- Outputs: Ordering result, component delta, and npm `^`/`~` range compatibility matrix.
Accuracy notes and limitations
- Follows core SemVer 2.0.0 numeric major.minor.patch ordering; complex multi-hyphen build metadata suffixes are ignored during precedence checks.
Privacy and browser processing
Code snippets, secrets, tokens, keys, and network headers run strictly in browser memory (including Web Crypto SubtleCrypto)—nothing is transmitted to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.