zodv4.6.7
TypeScript-first schema declaration and validation library with static type inference
| Metric | zod | yup |
|---|---|---|
| Weekly downloads | 433.7Mleads | 15.8M |
| Monthly downloads | 1905.8Mleads | 62.8M |
| Yearly downloads | 10941.1Mleads | 569.5M |
| GitHub stars | 45Kleads | 24K |
| Forks | 2Kleads | 958 |
| Open issues | 135leads | 272 |
| Bundle (gzip) | 86.8kb | 13.1kbleads |
| License | MIT | MIT |
| Latest release | Oct 12, 2026 | Sep 21, 2025 |
Overall winnerzod
zod 5yup 2
zod is the clear choice: it leads across most categories and is the more established option for most use cases.
zod leads with 1905.8M monthly downloads, 30.4x more popular
zod has a larger community with 45K GitHub stars (1.9x more stars)
yup is lighter at 13.1kb gzipped, 6.6x lighter
Both projects have been updated recently