Package.json Validator

Validate package.json fields, semver ranges, and scripts.

Support
Works Offline
Privacy First
No Login
No API

package.json

Paste your package.json contents

Validation results

Required fields, semver ranges, scripts

Errors
0
Warnings
0
Info
4
  • Recommended field "license" is missing.
  • Recommended field "repository" is missing.
  • Recommended field "author" is missing.
  • No blocking errors found.

Scripts

  • buildvite build
  • devvite

About the Package.json Validator

Paste a package.json file and check for missing required or recommended fields, invalid semver versions and dependency ranges, malformed scripts, and other common mistakes.

Examples

Missing version

{ "name": "app" }

Output

Error: missing required field "version"

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser