Developer Tools

SemVer Validator — Semantic Version Range Matcher

Check whether a version satisfies SemVer range expressions such as ^ and ~ in your browser. Useful for explaining npm dependency ranges and validating package.json constraints.

SemVernpmVersion

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Explain what ^ or ~ allows in package.json
  • Check whether a version falls inside an allowed range
  • Review upgrade boundaries before breaking changes

How to use

  1. Enter the range expression
  2. Enter the version to test
  3. Review match status and explanation

Example input and output

Range + version

^1.2.0 and 1.5.0

Result

Matches

FAQ

What does ^1.2.3 usually match?

Under common npm semantics it allows versions from 1.2.3 up to but not including 2.0.0. See the parsed result for details.

Does this reflect the installed lockfile version?

This checks expression matching only. Actual installs still depend on the lockfile and package manager resolution.

Tools

Related tools

Continue with another translated tool for a nearby task.

NPM Package Generator

NPM Package Generator — package.json Builder

Available

Build package.json files from a form with presets for Jest, TypeScript, ESLint, and more in your browser. Useful for bootstrapping new Node projects with common script fields.

npm package.json Node