SemVer Diff & Compare
Paste two version numbers to see highlighted line-by-line differences, a change summary, and a similarity percentage. Everything is processed on your device.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
1.2.3 vs 2.0.0
Example Output
major changed, B is newer
How to Use
- 1Paste the first version numbers (A) in the left box and the second (B) in the right box.
- 2Adjust the options if needed (ignore case, whitespace, or empty lines).
- 3Click Compare (or press Ctrl+Enter).
- 4See the highlighted differences, a summary of how many changes there are, and the similarity percentage. Switch between side-by-side / unified / inline views.
About SemVer Diff & Compare
SemVer Diff & Compare parses two semantic version numbers (major.minor.patch, with an optional pre-release) and shows which component differs and which version is newer. It follows SemVer ordering rules, including that a stable release outranks its pre-release.
Useful for checking whether an update is a major (potentially breaking), minor, or patch change.
FAQ
What is the difference between "diff" and "compare"?
Both are done by the same tool. "Diff" highlights the lines/parts that changed (added/removed), while "compare" shows how similar the two inputs are (similarity percentage + summary). You get both at once here.
Is my data sent to a server?
No. The entire comparison is computed in your browser with JavaScript. Nothing is uploaded, logged, or stored on our servers — safe for sensitive data.