Small ToolsAll tools
← All tools / Git & DevOps
Git & DevOps utility

Version Compare Tool

Compare two semantic versions, including common prerelease ordering.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…

How to use Version Compare Tool

  1. Enter two versions on separate lines or separated by vs.
  2. Select Compare to see which version sorts first.
  3. Use the result as a comparison aid alongside your package manager.

Example

Input:

1.2.0
1.3.0

Output:

1.2.0 < 1.3.0
First version is older.

Use cases

About this tool

Compare two semantic versions, including common prerelease ordering. Processing happens locally in your browser, so your input is not sent to a server or included in analytics.

Frequently asked questions

Is comparison based on Semantic Versioning?

It compares major, minor, patch, and prerelease identifiers; build metadata is ignored.

Can I include a leading v?

Yes. A leading v is accepted and omitted from normalized output.

Does it check package registries?

No. It compares only the two values you enter.

Related tools