Skip to content
2xKit

Semver Parser/Comparator

Parse and compare two semantic version numbers.

Runs in your browser

About this tool

Semantic versioning (major.minor.patch) has specific comparison rules that aren't just simple numeric or alphabetic sorting — pre-release tags and build metadata follow their own precedence rules that are easy to get wrong when comparing manually. This tool parses and compares two semantic version numbers according to the actual semver specification, giving you a reliable comparison instead of a naive string or number comparison.

Frequently asked questions