Semantic Version Checker
Validate and compare semantic versions (major.minor.patch with pre-release rules), and test whether a version satisfies a range like ^1.2.0, ~2.0.0 or >=1.0.0 <2.0.0.
Comparison: —
How to use
- Enter two versions to see which is greater, following official semver precedence (a pre-release is lower than the release).
- Enter a version and a range to test compatibility.
- Ranges support exact, ^, ~, comparison operators, x wildcards, space-separated AND and double-pipe OR.
Note: Build metadata after a plus sign is ignored in precedence, exactly as the semver specification requires. Range support covers the common npm-style operators listed above.
Frequently Asked Questions (FAQ)
What is a semantic version?
A version in major.minor.patch form with pre-release rules. This tool validates the format and compares versions.
Can it compare two versions?
Yes. Enter version A and version B to see which is greater, following official semver precedence, where a pre-release is lower than the release.
Can it test version ranges?
Yes. Enter a version and a range like ^1.2.0, ~2.0.0 or >=1.0.0 to see whether the version satisfies it.
Is it free to use?
Yes. It is free, needs no signup, and runs in your browser.