compare
Yup vs Zod
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Yup | Zod |
|---|---|---|
| Language | TypeScript | TypeScript |
| Licence | MIT | MIT |
| Stars | 24k | 44k |
| Latest | v1.0.0 | v4.6.7 |
| Last push | 2026-11-22 | 2026-11-22 |
| Release cadence | too few releases | about 1 day between releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 8 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Yup replaces Zod. Alternatives to Zod →
Full replacementSchema builders with TypeScript type inference.
Zod replaces Yup. Alternatives to Yup →
Full replacementSchemas that infer their TypeScript types, with a similar chaining API.
Both replace Joi. Alternatives to Joi →
Full replacementYupChained schema builders with validation and casting, for browsers and Node.js.
Full replacementZodSchema validation with static type inference, for Node.js and browsers.
Yup
- v1.0.02023-02-08v1 Because I finally got around to it
- v1.0.0-beta.72022-08-22Fixes published artifacts for the main fieldpre-release
- v1.0.0-beta.52022-08-22v1.0.0-beta.5 - partial fixes and cast migration pathpre-release
- v1.0.0-beta.42022-08-22chore(deps): update all non-major dependenciespre-release
- v1.0.0-beta.32022-03-09Fix object.partial(), `required` changespre-release
Zod
- v4.6.72026-10-12b500a2ee95134f81d74da7911d7378dd2853d042 4.6.7
- v4.6.62026-10-11> Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in…
- v4.6.52026-09-13d2b135cfb7a3582b9eb515756b9166bcb9521f4a docs: add the 4.6.x patch highlights to the 4.6 post
- v4.6.42026-09-13A patch on top of 4.6.3.
- v4.6.32026-09-12A patch on top of 4.6.2.
Yup
unsigned The latest release, v1.0.0, carries no signature GitHub could verify.
Loading the security report
Zod
✓ signed The latest release, v4.6.7, carries a signature GitHub verified.
Loading the security report