Free Semver Range Checker
Enter a version range like ^4.2.0 and a version to test · see whether it matches and what the range actually allows.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
Satisfies the range
4.3.1 ∈ ^4.2.0
What this range allows
- ^4.2.0 · from 4.2.0, below 5.0.0
How to use it
- Enter an npm range, for example ^4.2.0, ~1.2.3, >=2 <3, 1.x or a || b.
- Enter the version to test, such as 4.3.1.
- See whether it satisfies the range, with the range explained in plain terms.
Example
Input
Range ^4.2.0 · Version 4.3.1
Result
Satisfies the range ^4.2.0 allows ≥ 4.2.0 and < 5.0.0
Range operators
- ^ (caret)
- Any version below the next major: ^4.2.0 allows 4.x from 4.2.0. npm adds this by default.
- ~ (tilde)
- Patch updates only: ~4.2.0 allows 4.2.x.
- x and *
- Wildcards: 1.x is any 1.y.z.
- Pre-releases
- Versions like 5.0.0-beta.1 only match ranges that mention a pre-release of the same version.
Go deeper
Page updated
Frequently asked questions
What's the difference between ^ and ~?
^4.2.0 allows anything below the next major (4.x.y ≥ 4.2.0). ~4.2.0 allows only patch updates (4.2.x). Caret is npm's default · which is why a compromised minor release of a dependency can reach you automatically.
Why does this matter for security?
Supply-chain attacks ship malicious code as a "compatible" minor or patch release, and caret ranges pull it in on the next install. Lockfiles pin what you actually get · commit them, and audit before bumping.
Why does this matter for security?
Malicious packages are often published as a compatible minor or patch release, and caret ranges pull them in on the next fresh install. Commit your lockfile so installs get exactly the versions you tested.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
URL Parser
Paste any URL and see every part broken out · protocol, host, path, and each query parameter decoded into a readable table.
Subnet Calculator
Enter CIDR notation like 10.0.0.0/24 and get the full picture · network, broadcast, usable range, mask, and how many hosts fit.
chmod Calculator
Toggle read/write/execute for owner, group, and others · and get the octal and symbolic chmod notation both ways.