Validation LibraryCompare in npm Trends
Best Alternatives to zod
TypeScript-first schema validation with static type inference
Why look for an alternative?
Zod is the TypeScript validation standard but adds ~13kB to your bundle. Valibot offers the same type inference at a fraction of the size through tree-shaking.
v4.3.6 · MIT
TypeScript-first schema declaration and validation library with static type inference
Weekly Downloads
102.1M
Bundle (gzip)
57.1 kB
Weekly Downloads
17.7M
Bundle (gzip)
52.6 kB
TypeScriptNode only
Weekly Downloads
9.9M
Bundle (gzip)
13.1 kB
TypeScriptUniversalBrowser
Weekly Downloads
6.3M
Bundle (gzip)
12.6 kB
TypeScriptESMTree-shakeableLightweightActively maintained
Weekly Downloads
809K
Bundle (gzip)
44.6 kB
TypeScriptESMLightweightActively maintained
See the Full Download History
Compare zod and its alternatives side by side with download trends over time.
Open in npm Trends