Skip to content
JS
Alternatives

zod alternatives

8 packages that do the same job as zod: valibot, json-schema-typed, superstruct, json-schema-to-typescript, typebox, typanion, @sinclair/typebox, joi. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
zod
This package
211.9m+403%-011 days agoESM + CommonJSBundled-
valibot13.4m+704%-015 days agoESM + CommonJSBundled-
json-schema-typed38.2m+3031%-010 months agoESM onlyBundled-
superstruct4.7m+93%-02 years agoESM + CommonJSBundled-
json-schema-to-typescript2.6m+127%-828 days agoCommonJSBundled-
typebox8.2m+56221%-06 days agoESM onlyBundled-
typanion3.5m+71%-03 years agoCommonJSNone-
@sinclair/typebox81.2m+58%-02 months agoESM + CommonJSBundled-
joi19.6m+73%-713 days agoCommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

The modular and type safe schema library for validating structural data

Compared with zod

  • 16x fewer weekly downloads (13.4m vs 211.9m)
  • Last release 9 Sept 2026 vs 13 Sept 2026
  • 4.9x fewer GitHub stars (9k vs 44k)

JSON Schema TypeScript definitions with complete inline documentation.

Compared with zod

  • 5.6x fewer weekly downloads (38.2m vs 211.9m)
  • ESM only vs ESM + CommonJS
  • Last release 17 Nov 2025 vs 13 Sept 2026
  • 376x fewer GitHub stars (117 vs 44k)

A simple and composable way to validate data in JavaScript (and TypeScript).

Compared with zod

  • 45x fewer weekly downloads (4.7m vs 211.9m)
  • Declares Node.js >=14.0.0 vs none declared
  • Last release 6 Jul 2024 vs 13 Sept 2026
  • 6.2x fewer GitHub stars (7.1k vs 44k)

compile json schema to typescript typings

Compared with zod

  • 81x fewer weekly downloads (2.6m vs 211.9m)
  • 8 dependencies vs 0
  • CommonJS vs ESM + CommonJS
  • Declares Node.js >=16.0.0 vs none declared
  • Last release 28 Aug 2026 vs 13 Sept 2026
  • 13x fewer GitHub stars (3.3k vs 44k)

Json Schema Type Builder with Static Type Resolution for TypeScript

Compared with zod

  • 26x fewer weekly downloads (8.2m vs 211.9m)
  • ESM only vs ESM + CommonJS
  • Last release 18 Sept 2026 vs 13 Sept 2026
  • 6.3x fewer GitHub stars (7k vs 44k)

Simple runtime TypeScript validator library

Compared with zod

  • 61x fewer weekly downloads (3.5m vs 211.9m)
  • CommonJS vs ESM + CommonJS
  • No types vs bundled types
  • Last release 6 Aug 2023 vs 13 Sept 2026
  • 161x fewer GitHub stars (274 vs 44k)

Json Schema Type Builder with Static Type Resolution for TypeScript

Compared with zod

  • 2.6x fewer weekly downloads (81.2m vs 211.9m)
  • Last release 11 Jul 2026 vs 13 Sept 2026
  • 4001x fewer GitHub stars (11 vs 44k)

Object schema validation

Compared with zod

  • 11x fewer weekly downloads (19.6m vs 211.9m)
  • 7 dependencies vs 0
  • CommonJS vs ESM + CommonJS
  • Declares Node.js >= 20 vs none declared
  • Last release 11 Sept 2026 vs 13 Sept 2026
  • 2.1x fewer GitHub stars (21.2k vs 44k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed: 70 US searches/month for "zod alternatives".