Skip to content
Jellykit

Semver Range Checker

Check which versions satisfy an npm semver range such as ^1.2.0, ~1.4, 1.x or >=1.2 <2 || 3. Shows matches and the highest matching version. Free tool.

Runs in your browser. Nothing is uploaded.

About Semver Range Checker

Semantic versioning ranges decide which package versions npm, pnpm, Yarn and Cargo will install. Enter a range and a list of versions to see which ones match and which is the highest, the version a fresh install would pick.

Supported syntax includes ^ (caret), ~ (tilde), x and * wildcards, hyphen ranges (1.2 - 1.4), comparators (>=, <) and || alternatives. Prerelease versions such as 2.1.0-beta.1 are excluded unless you include them, just like npm.

How to use Semver Range Checker

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

What is the difference between ^ and ~?

^1.2.3 allows anything below 2.0.0 (new minor and patch versions). ~1.2.3 allows only patch updates below 1.3.0.

Why doesn't ^0.2.3 match 0.3.0?

Below 1.0.0, the caret treats the minor version as breaking, so ^0.2.3 means >=0.2.3 <0.3.0.

Is Semver Range Checker free and private?

Yes. Semver Range Checker is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all developer tools →