Semver Comparator
Compare two semantic versions and see which is greater and by how much.
Version A is older than Version B
Difference level: minor
Enter two semantic versions (major.minor.patch with optional prerelease) to see which one is newer and whether the difference is a major, minor, patch, or prerelease change.
How to use
- Enter the first version, e.g. 1.4.2.
- Enter the second version, e.g. 1.5.0-beta.1.
- Read the comparison result and the level of change between them.
Frequently asked questions
- Does it follow the official semver spec?
- Yes, including the rule that a version without a prerelease tag is considered greater than one with a prerelease tag.
- Can I include build metadata?
- Build metadata after a + is accepted but ignored for comparison, matching the semver 2.0 specification.
- What does 'diff level' mean?
- It shows the highest-level part that changed between the two versions: major, minor, patch, prerelease, or equal.