Skip to content
Back

SemVer Calculator

Check if a version satisfies a semantic versioning range — decode ^, ~, and comparison operators online

Share this tool
SemVer Calculator

Check if a version satisfies a semantic versioning range — decode ^, ~, and comparison operators online

Version & Range

e.g. 1.5.2, 2.0.0-beta.1

e.g. ^1.0.0, ~1.2.3, >=1.0.0 <2.0.0

Common Ranges

Result

1.5.2 satisfies ^1.0.0

Caret range: compatible with 1.x.x — any version ≥ 1.0.0 and < 2.0.0.

>= 1.0.0
< 2.0.0

Version Bump Helper

Next versions from 1.5.2:

SemVer Range Cheat Sheet

RangeMeaningEquivalent
^1.2.3Compatible (minor + patch)>=1.2.3 <2.0.0
^0.2.3Compatible (patch only)>=0.2.3 <0.3.0
~1.2.3Approximately (patch only)>=1.2.3 <1.3.0
>=1.0.0At least version 11.0.0 and above
1.2.3 - 2.3.4Inclusive range>=1.2.3 <=2.3.4
*Any version>=0.0.0
1.2.3Exact match=1.2.3