Development
Diff Checker
Compare two texts and inspect added, removed and unchanged lines.
Development
Compare, validate, sort and evaluate semantic versions and npm-compatible ranges.
Compare two semantic versions and inspect the first differing release component.
Check whether the first version satisfies a npm-compatible semantic version range.
Enter one semantic version per line or separate versions with commas.
Compare two versions, evaluate a compatible range or sort a list using Semantic Versioning precedence.
Version parsing, comparison and sorting run locally inside your browser.
About this tool
SemVer Comparator compares and analyzes versions that follow Semantic Versioning. It can identify newer releases, inspect major, minor, patch and prerelease differences, evaluate npm-compatible ranges and sort version lists by precedence.
Features
Frequently asked questions
Semantic Versioning uses versions in the form major.minor.patch. Major releases introduce incompatible changes, minor releases add backward-compatible functionality and patch releases contain backward-compatible fixes.
A prerelease version has lower precedence than the associated stable version. For example, 2.0.0-beta.1 is older than 2.0.0.
No. Build metadata following a plus sign does not affect Semantic Versioning precedence.
The range checker supports npm-compatible syntax such as caret, tilde, comparison operators, wildcards and combined ranges.
Yes. Enter one version per line or separate multiple versions with commas.
No. Parsing, comparison, range evaluation and sorting happen locally inside your browser.
Related tools