Home / Developer / Semver Calculator
Semver Calculator
Check versions against npm ranges like ^1.2 or ~2.0, compare, sort and bump semantic versions.
Free, no uploads, no sign-up. Runs 100% in your browser.
How Semver Calculator works
Versions are parsed by the Semantic Versioning 2.0 rules. Ranges use the npm syntax (caret, tilde, x, hyphen and ||) and are explained in plain words, and pre-releases only match when you allow them, like npm.
Input: Text. Output: Text.
How to use Semver Calculator
- Type a version to see its parts and next versions.
- Type a range to see if it matches.
- Paste a list to sort it and find the highest match.
Tips
- Everything is computed locally. Safe for tokens, keys and private data.
- Use Ctrl/⌘ + K to jump between developer tools quickly.
Semver Calculator FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Cron Explainer: Explain cron expressions and preview next run times.
- JSON Formatter: Prettify, validate, minify and explore JSON as a tree.
- Regex Tester: Test regular expressions with live highlighting and groups.
- QR Code Generator: QR codes for links, Wi-Fi, vCards and text with colors and logo.