Ecosystem
Note — To avoid bloat and confusion, the Ecosystem section has been wiped clean with the release of Zod 4. If you've updated your library to work with Zod 4, please submit a PR to add it back in. For libraries that work with Zod 3, refer to v3.zod.dev.
There are a growing number of tools that are built atop or support Zod natively! If you've built a tool or library on top of Zod, let me know on Twitter or start a Discussion. I'll add it below and tweet it out.
Resources
- Total TypeScript Zod Tutorial by @mattpocockuk
 - Fixing TypeScript's Blindspot: Runtime Typechecking by @jherr
 
API Libraries
| Name | Stars | Description | 
|---|---|---|
tRPC | ⭐️ 38525 | Build end-to-end typesafe APIs without GraphQL. | 
oRPC | ⭐️ 3408 | Typesafe APIs Made Simple | 
upfetch | ⭐️ 1283 | Advanced fetch client builder | 
nestjs-zod | ⭐️ 825 | Integrate nestjs and zod. Create nestjs DTOs using zod, serialize with zod, and generate OpenAPI documentation from zod schemas | 
Express Zod API | ⭐️ 767 | Build Express-based API with I/O validation and middlewares, OpenAPI docs and type-safe client. | 
Zod Sockets | ⭐️ 97 | Socket.IO solution with I/O validation, an AsyncAPI generator, and a type-safe events map. | 
GQLoom | ⭐️ 69 | Weave GraphQL schema and resolvers using Zod. | 
Zod JSON-RPC | ⭐️ 14 | Type-safe JSON-RPC 2.0 client/server library using Zod. | 
Form Integrations
| Name | Stars | Description | 
|---|---|---|
Superforms | ⭐️ 2625 | Making SvelteKit forms a pleasure to use! | 
conform | ⭐️ 2433 | A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js. | 
zod-validation-error | ⭐️ 976 | Generate user-friendly error messages from ZodError instances. | 
regle | ⭐️ 280 | Headless form validation library for Vue.js. | 
svelte-jsonschema-form | ⭐️ 101 | Svelte 5 library for creating forms based on JSON schema. | 
Zod to X
| Name | Stars | Description | 
|---|---|---|
prisma-zod-generator | ⭐️ 681 | Generate Zod schemas from Prisma schema with full ZodObject method support | 
zod-openapi | ⭐️ 531 | Use Zod Schemas to create OpenAPI v3.x documentation | 
zod2md | ⭐️ 120 | Generate Markdown docs from Zod schemas | 
fastify-zod-openapi | ⭐️ 108 | Fastify type provider, validation, serialization and @fastify/swagger support for Zod schemas | 
@traversable/zod | ⭐️ 75 | Build your own "Zod to x" library, or pick one of 25+ off-the-shelf transformers | 
X to Zod
| Name | Stars | Description | 
|---|---|---|
orval | ⭐️ 4632 | Generate Zod schemas from OpenAPI schemas | 
Hey API | ⭐️ 3224 | The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more. | 
kubb | ⭐️ 1350 | The ultimate toolkit for working with APIs. | 
Prisma Zod Generator | ⭐️ 681 | Generates Zod schemas with input/result/pure variants, minimal/full/custom, selective emit/filtering, single/multi-file output, @zod rules, relation depth guards. | 
valype | ⭐️ 56 | Typescript's type definition to runtime validator (including zod). | 
DRZL | ⭐️ 46 | Drizzle ORM toolkit that can generate Zod validators from schema(s), plus typed services and strongly typed routers (oRPC/tRPC/etc). | 
Mocking Libraries
| Name | Stars | Description | 
|---|---|---|
zod-schema-faker | ⭐️ 82 | Generate mock data from zod schemas. Powered by @faker-js/faker and randexp.js. | 
@traversable/zod-test | ⭐️ 75 | Random zod schema generator built for fuzz testing; includes generators for both valid and invalid data | 
zocker | ⭐️ 61 | Generates valid, semantically meaningful data for your Zod schemas. | 
Powered by Zod
| Name | Stars | Description | 
|---|---|---|
Composable Functions | ⭐️ 727 | Types and functions to make composition easy and safe. | 
zod-config | ⭐️ 113 | Load configurations across multiple sources with flexible adapters, ensuring type safety with Zod. | 
zod-xlsx | ⭐️ 45 | A xlsx based resource validator using Zod schemas for data imports and more | 
bupkis | ⭐️ 3 | Uncommonly extensible assertions for the beautiful people | 
Zod Utilities
| Name | Stars | Description | 
|---|---|---|
zod-playground | ⭐️ 94 | Interactive playground for testing and exploring Zod and Zod mini schemas in real-time. | 
eslint-plugin-import-zod | ⭐️ 15 | ESLint plugin to enforce namespace imports for Zod. | 
eslint-plugin-zod-x | ⭐️ 13 | ESLint plugin that adds custom linting rules to enforce best practices when using Zod | 

