Zod
TypeScript-first schema validation with static type inference.
Zod is an open-source project in the TypeScript category written in TypeScript, released under the MIT license. It has 44,526 GitHub stars and its last commit was 8 days ago.
About Zod
Zod is a TypeScript-first schema validation library designed for seamless integration with TypeScript's static typing system. With Zod, you can define and validate data schemas while leveraging TypeScript's powerful type inference. This ensures that the validation logic is type-safe, and provides auto-completion, better error handling, and enhanced code reliability. It is ideal for developers who need a robust yet lightweight solution to validate input data in a way that fits naturally within the TypeScript ecosystem.
GitHub activity
- Stars
- 44,526
- Forks
- 2,394
- Open issues
- 118
- Last commit
- 8 days ago
- Latest release
- v4.6.7 · 2 months ago
- Created
- 2020
#typescript#schema-validation#type-inference#runtime-validation#static-types
Zod at a glance
- Website
- zod.dev
- Source code
- colinhacks/zod
- Open source
- Yes
- License
- MIT
- Language
- TypeScript
- Pricing
- Freemium
- Categories
- TypeScript
Zod vs similar projects
| Project | Stars | License | Language | Last commit | Health |
|---|---|---|---|---|---|
| ZodTypeScript-first schema validation with static type inference. | 45k GitHub stars | MIT | TypeScript | 8 days ago | Thriving |
| OpenCodeOpen-source AI coding agent that works with any model provider from the terminal. | 230k GitHub stars | MIT | TypeScript | today | Thriving |
| n8nSecure, AI-native workflow automation. | 213k GitHub stars | Other | TypeScript | today | Thriving |
| ShadcnComposable, accessible components with thoughtful defaults. Build your own component library with code you can | 130k GitHub stars | MIT | TypeScript | today | Thriving |
| ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition. | 121k GitHub stars | AGPL-3.0 | TypeScript | today | Thriving |
| SupabaseThe Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, | 116k GitHub stars | Apache-2.0 | TypeScript | today | Thriving |
| TauriBuild smaller, faster, and more secure desktop applications with a web frontend. | 113k GitHub stars | Apache-2.0 | Rust | today | Thriving |
Zod FAQ
What is Zod?
TypeScript-first schema validation with static type inference. Zod is a TypeScript-first schema validation library designed for seamless integration with TypeScript's static typing system. With Zod, you can define and validate data schemas while leveraging TypeScript's powerful type inference. This ensures that the validation logic is type-safe, and provides au
Is Zod open source?
Yes. Zod's source code is public on GitHub (colinhacks/zod) under the MIT license.
Is Zod still maintained?
Zod's last commit was on 2026-11-22 (8 days ago), latest release v4.6.7 on 2026-10-12. Health score: 100/100.
Is Zod free?
Zod is free to use and can be self-hosted; some projects also sell an optional hosted plan.
What are the best alternatives to Zod?
Similar projects include OpenCode (★ 230k), n8n (★ 213k), Shadcn (★ 130k), Immich (★ 121k), Supabase (★ 116k).
Maintain Zod? Add the badge to your README
Shows your project's health score and links back to this page.
[](https://osssoftware.org/tools/zod/)