✳tools.stBrowse tools
◈ Processed on your device
{ }

Semantic version comparator

Compare SemVer including numeric prerelease ordering.

Free

Compare SemVer including numeric prerelease ordering. Compare major, minor, patch and prerelease identifiers using semantic version precedence. Numeric prerelease parts use numeric ordering, and build metadata does not affect precedence.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

First version: 1.0.0-beta.2
Second version: 1.0.0-beta.11

Example result

{
  "comparison": -1,
  "relation": "older"
}

Limitations and details

Inputs must use full x.y.z syntax; ranges, leading v prefixes and package-manager dependency expressions are not supported.

Inputs and options

First version
Text
Second version
Text

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools