Semver Checker & Version Comparator
Parse a semantic version into major, minor, patch, prerelease and build parts and compare two versions by precedence — runs 100% in your browser, nothing is uploaded.
major: 1 minor: 2 patch: 0 prerelease: (none) build: (none)
major: 1 minor: 10 patch: 0 prerelease: (none) build: (none)
1.2.0 < 1.10.0Version A is lower than Version B
Change type: minor — backward-compatible feature
🔒 Everything is parsed and compared in your browser — nothing is uploaded.
Parse and compare semantic versions
Type two versions such as 1.2.0 and 1.10.0 and this tool instantly splits each one into its major, minor, patch, prerelease, and build metadata parts, then tells you which version wins by precedence and names the change type between them — major (breaking), minor (feature), patch (fix), a prerelease tag, or build-metadata only — so you can see at a glance whether an upgrade is breaking. It follows the official SemVer 2.0.0 grammar, so inputs like v1.2.3, 1.2, or a version with a leading zero such as 01.2.3 are flagged as invalid rather than silently accepted.
How precedence is decided
Major, minor, and patch numbers are compared numerically — which is why 1.10.0 is higher than 1.2.0 even though "2" looks larger as text. When those are equal, a prerelease version (like 1.0.0-alpha) ranks below the plain release (1.0.0). Prerelease identifiers are then compared field by field: all-digit fields numerically, everything else in ASCII order, with numeric fields ranking below non-numeric ones and a longer set of fields winning ties. Build metadata after the + sign is parsed for display but ignored when ranking, exactly as the spec requires.
Frequently asked questions
Why is 1.2.0 lower than 1.10.0?
Because semantic versioning compares each part as a number, not as text. Numerically 10 is greater than 2, so 1.10.0 has higher precedence than 1.2.0 even though '2' would sort after '1' as a string.
How are prerelease versions ranked?
A version with a prerelease tag is always lower than the same version without one, so 1.0.0-alpha is below 1.0.0. Two prerelease tags are compared identifier by identifier: numeric fields numerically, others in ASCII order, with numeric ranking below alphanumeric and a longer identifier list winning when everything else matches.
Is anything I type uploaded?
No. Parsing and comparison run entirely in your browser with JavaScript. The versions you enter never leave your device, nothing is sent to a server, and the tool keeps working offline.