TypeScript-first schema declaration and validation library with static type inference
| Metric | zod | yup |
|---|---|---|
Weekly downloads | 185.4M | 11.7M |
Monthly downloads | 734.3M | 49.7M |
Yearly downloads | 4083.4M |
zod leads with 734.3M monthly downloads — 15x more popular
| 453.9M |
GitHub stars | 43K | 24K |
Forks | 2K | 939 |
Open issues | 173 | 240 |
Bundle (gzip) | 60.3kb | 13.1kb |
License | MIT | MIT |
Latest release | May 4, 2026 | Sep 21, 2025 |
zod has a larger community with 43K GitHub stars (1.8x more stars)
yup is lighter at 13.1kb gzipped — 4.6x lighter
zod has fewer open issues (173 vs 240)
zod is the clear choice — it leads across most categories and is the more established option for most use cases.