zod
TypeScript-first schema validation with static type inference
TL;DR · 30-second scan
zod (TypeScript) — TypeScript-first schema validation with static type inference
You are writing TypeScript and validating any input — forms, API requests, env vars, anything.
Forms & Validation · Frameworks
TypeScript-first schema validation. ~35k stars. The de facto choice for input validation in TS apps. Works with every form library, every API framework, every ORM. If you are not using it yet, you should be.
You are writing TypeScript and validating any input — forms, API requests, env vars, anything.
You are not on TypeScript or you are deep in a Yup codebase that works fine.
Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.
[](https://stackpicks.dev/repo/colinhacks-zod)
<a href="https://stackpicks.dev/repo/colinhacks-zod"><img src="https://stackpicks.dev/api/badge/colinhacks-zod" alt="Featured on StackPicks" width="180" height="28" /></a>
Are you the maintainer of colinhacks/zod? Add the badge and we'll feature your project in the weekly curator newsletter.