SemVer Parser
Break Semantic Versioning 2.0.0 strings into major, minor, patch, prerelease and build parts.
Parts
- Major
- 1
- Minor
- 4
- Patch
- 2
- Pre-release
- beta.1
- Build metadata
- build.42
Your input is processed locally in this browser tab.
How to use SemVer Parser
Enter any SemVer 2.0.0 string (with optional leading v) to extract Major, Minor, Patch, Pre-release, and Build metadata.
Invalid formats like 1.2 or leading zeroes display clear validation errors.
Use SemVer Calculator whenever you also want range checks and version bumps.
Frequently asked questions
Is a leading v like v2.1.0 accepted?
Yes. A single leading v is stripped during parsing.
Are numeric prerelease identifiers parsed differently from alphanumeric ones?
Yes. Numeric prerelease segments are compared numerically rather than lexicographically.