Skip to content
Takikit

SemVer Parser and Comparer

Split a version into its parts, compare two versions, and check whether one satisfies npm ranges such as ^, ~ and >=.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when reading package.json, a dependency error or a changelog and you want to know whether an installed version falls inside a ^ or ~ range, or which version is newer.

A prerelease like 2.1.0-rc.1 sorts before 2.1.0 and does not satisfy ^ or ~ ranges unless the range targets that same prerelease, following npm's rules. Build metadata after the + is ignored when comparing.

How to use

  1. Enter the version.
  2. Enter the version to compare and a range if you have one.
  3. See the result.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Related tools

More Developer tools

See all developer tools