TypeScript-first schema validation with static type inference
Schemas that infer their TypeScript types, with a similar chaining API.
- Language
- TypeScript
- Licence
- MIT
- Stars
- 44k
- Latest
- v4.6.7
- Last push
- 2026-11-22
alternatives to
Dead simple Object schema validation
Zod, Joi, and Valibot. 3 alternatives to Yup, in TypeScript, JavaScript. Compare fit, licence, stars and the latest signed release.
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| Zod | Full replacement | 44k | MIT | Open source | No | TypeScript | v4.6.7 | 2026-11-22 |
| Joi | Full replacement | 21k | Other | Open source | No | JavaScript | v18.3.2 | 2026-11-04 |
| Valibot | Full replacement | 9.1k | MIT | Open source | No | TypeScript | v1.5.0 | 2026-11-21 |
3 alternatives
TypeScript-first schema validation with static type inference
Schemas that infer their TypeScript types, with a similar chaining API.
The most powerful data validation library for JS
Chained schema builders with validation and coercion.
The modular and type safe schema library for validating structural data 🤖
Schemas with TypeScript inference and a small bundle.