Converters

Semver Compare

Compare two semantic versions.

How to use Semver Compare

Semver Compare — Compare two semantic versions and say which one is newer. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Version A. This field is required.
  2. Fill in Version B. This field is required.
  3. Click Run and copy the result under the form.

Frequently asked questions

What is Semver Compare used for?

Use it to check a release, a dependency pin, or a migration note.

How do I use the free online Semver Compare tool?

Fill in Version A. This field is required. Fill in Version B. This field is required. Click Run and copy the result under the form.

What can I paste or upload into Semver Compare?

Enter two versions as major.minor.patch. A leading v is allowed. Pre-release labels such as -alpha.1 are compared. Build metadata after + is ignored.

What output does Semver Compare give me?

A sentence that says the first version is less than, greater than, or equal to the second.

Is Semver Compare free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

Why is 1.0.0-alpha less than 1.0.0?

A pre-release is older than the final release with the same numbers, which is the semantic version rule.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.