Category: Developer tools
semver compare
Enter two versions and compare them with SemVer 2.0.0 precedence rules.
Compare two SemVer 2.0.0 strings, see which is newer, and identify major, minor, patch or pre-release differences locally.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Use it for release notes, dependency updates, and npm version checks. The tool parses both semantic versions, shows which one is newer, and names the most significant field that changed.
How to use it
- Enter Version A and Version B, such as 1.4.2 and 1.5.0-beta.1.
- Read which version is newer, or whether the two versions are equal.
- Check the Difference field for major, minor, patch or pre-release change.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I compare two semantic versions?
- Enter two SemVer 2.0.0 version strings and the tool compares their precedence using the specification rules.
- How are pre-release versions like alpha.2 and alpha.10 ordered?
- Yes. It is suited to common npm-style semantic versions, including pre-release precedence.
- Which difference types does the result show?
- The result identifies the newer version and labels the change as major, minor, patch or pre-release.
- Does this semver compare tool upload my version strings?
- Your input is processed in the browser only; it is not uploaded to LocalTools and no account is required.
- Which versioning tasks does this semver compare tool not support?
- It does not provide file upload, batch jobs, cloud history, external lookup, or automation beyond the implemented tool behavior.