SemVer Version Tool
Compare, sort, and evaluate semantic versions locally, supporting common comparison operators, wildcards, ^, ~, and OR ranges.
How to use SemVer version tool
SemVer version tools process input only in the current browser and do not upload, connect to the internet, or save user data.
Input content
Enter multiple versions and an optional version range; prerelease versions are supported.
Select a processing method
Parse versions, sort in ascending or descending order, or check whether each item satisfies the range.
Check and export
View normalized versions, comparison results, and invalid input messages.
Limitations and Notes
- Does not access the npm registry, install dependencies, or support all npm extension-range syntax.
- The semantics of version ranges depend on the subset supported by the tool; verify them with the project’s actual package manager before release.
- The tool only provides locally processed results; important configurations, secrets, documents, and published content must still be reviewed in the target environment.
FAQ
Will the input be uploaded to a server?
No. The page only uses browser memory, the local file API, and local resources already provided with the site.
Why can’t a certain npm range be parsed?
The tool implements only the explicitly listed SemVer subset; unsupported hyphen ranges or extended syntax will result in an error.
Why do the results still require manual review?
Edge-case syntax, regional standards, third-party readers, and target runtime environments may differ; the tool does not replace final validation.