Skip to content
JS
Comparison

valibot vs zod

Schema validationPackage data 25 Sept 2026
valibotv1.5.0, 9 Sept 2026

The modular and type safe schema library for validating structural data

$ npm install valibot
zodv4.6.5, 13 Sept 2026

TypeScript-first schema declaration and validation library with static type inference

$ npm install zod
MetricvalibotzodDifference
Weekly downloads13,370,944211,933,203zod 15.9x higher
12-month download growth+704%+403%valibot +301 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size1.8 MB5.9 MBvalibot 3.3x smaller
Latest release1.5.0, 9 Sept 20264.6.5, 13 Sept 2026zod 4 days more recent
Releases, last 12 months726zod 19 more
First published12 Jul 20237 Mar 2020zod 3.3 years earlier
GitHub stars9,02144,012zod 4.9x higher
Open issues8857valibot 31 more
Open pull requests9819valibot 79 more
Contributors-592-
Commits, last 52 weeks464598zod +29%
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

valibot13.4m latest weekzod211.9m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

valibot

Major versions
  1. 0.1.012 Jul 2023
  2. 1.0.019 Mar 2025
Last 5 releases
  1. 1.5.09 Sept 2026
  2. 1.4.228 Jun 2026
  3. 1.4.124 May 2026
  4. 1.4.05 May 2026
  5. 1.3.118 Mar 2026
64 releases in total, 7 in the last 12 months

zod

Major versions
  1. 1.0.07 Mar 2020
  2. 3.0.017 May 2021
  3. 4.0.09 Jul 2025
Last 5 releases
  1. 4.6.513 Sept 2026
  2. 4.6.413 Sept 2026
  3. 4.6.312 Sept 2026
  4. 4.6.210 Sept 2026
  5. 4.6.19 Sept 2026
301 releases in total, 26 in the last 12 months
valibot

-

zod

-

valibot

-

zod

-

  • Need no runtime dependenciesBoth
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releasezod (4.6.5 on 13 Sept 2026 vs 1.5.0 on 9 Sept 2026)
  • Higher weekly npm downloadszod (211.9m vs 13.4m)

Each line is generated from the data above.

zod: zod npm registry, zod npm downloads, zod GitHub, zod jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed: 140 US searches/month across both orderings ("valibot vs zod", "zod vs valibot").