{ }Free
Semantic version comparator
Compare SemVer including numeric prerelease ordering.
Compare SemVer including numeric prerelease ordering. Compare major, minor, patch and prerelease identifiers using semantic version precedence. Numeric prerelease parts use numeric ordering, and build metadata does not affect precedence.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
First version: 1.0.0-beta.2 Second version: 1.0.0-beta.11
Example result
{
"comparison": -1,
"relation": "older"
}Limitations and details
Inputs must use full x.y.z syntax; ranges, leading v prefixes and package-manager dependency expressions are not supported.
Inputs and options
- First version
- Text
- Second version
- Text
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.