Skip to content
OSSsoftware

Zod

TypeScript-first schema validation with static type inference.

Open sourceThriving · 100/10045k GitHub stars

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.

Zod screenshot

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

Zod compared with similar open-source projects
ProjectStarsLicenseLanguageLast commitHealth
ZodTypeScript-first schema validation with static type inference.45k GitHub starsMITTypeScript8 days agoThriving
OpenCodeOpen-source AI coding agent that works with any model provider from the terminal.230k GitHub starsMITTypeScripttodayThriving
n8nSecure, AI-native workflow automation.213k GitHub starsOtherTypeScripttodayThriving
ShadcnComposable, accessible components with thoughtful defaults. Build your own component library with code you can130k GitHub starsMITTypeScripttodayThriving
ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition.121k GitHub starsAGPL-3.0TypeScripttodayThriving
SupabaseThe Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile,116k GitHub starsApache-2.0TypeScripttodayThriving
TauriBuild smaller, faster, and more secure desktop applications with a web frontend.113k GitHub starsApache-2.0RusttodayThriving

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).

Share:XLinkedIn

Maintain Zod? Add the badge to your README

Shows your project's health score and links back to this page.

Zod on OSS Software
[![Zod on OSS Software](https://osssoftware.org/badge/zod.svg)](https://osssoftware.org/tools/zod/)