Semver CalculatorCheck if a version matches a semantic version range (^, ~, >=, hyphen, ||).

Satisfies range

Satisfies "^1.2.0".

Parsed version

major=1 minor=2 patch=3

Supported ranges

  • ^1.2.3 — compatible with version (same major)
  • ~1.2.3 — approximately equivalent (same major.minor)
  • >=1.0.0 <2.0.0 — comparator sets
  • 1.2.0 - 1.8.0 — inclusive hyphen ranges
  • ^1.0.0 || ^2.0.0 — OR groups

For npm & package maintainers

Dependency ranges like ^1.2.0 are easy to misread. Paste a concrete version and a range to see whether it satisfies — useful when debugging lockfiles and peer dependency conflicts.

Related Tools

All tools