SemVer Validator & Parser

Valid SemVer 2.0.0 version

Core version
1.2.3
Major
1
Minor
2
Patch
3
Prerelease
rc.1
Build metadata
build.5
Validated and parsed locally in your browser against the SemVer 2.0.0 grammar. Nothing is generated or sent anywhere — your version string stays only on this page.

Validate and parse a Semantic Version

Paste a single version such as 1.2.3-rc.1+build.5 to check it against the official Semantic Versioning 2.0.0 spec and break a valid version into its major, minor, and patch numbers, dot-separated prerelease identifiers, and build metadata. Common SemVer mistakes — leading zeros, empty prerelease identifiers, and illegal build-metadata characters — are reported with a specific reason. An optional leading v (common in git tags) is accepted and reported as stripped. This is the read-and-check counterpart to the semantic version generator; it validates and parses a single version but does not compare, sort, or parse version ranges like ^1.2.0.