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.
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 | ⭐️ 37678 | Build end-to-end typesafe APIs without GraphQL. |
oRPC | ⭐️ 2383 | Typesafe APIs Made Simple |
Express Zod API | ⭐️ 739 | Build Express-based API with I/O validation and middlewares, OpenAPI docs and type-safe client. |
Zod Sockets | ⭐️ 87 | Socket.IO solution with I/O validation, an AsyncAPI generator, and a type-safe events map. |
GQLoom | ⭐️ 56 | Weave GraphQL schema and resolvers using Zod. |
Form Integrations
Name | Stars | Description |
---|---|---|
Superforms | ⭐️ 2547 | Making SvelteKit forms a pleasure to use! |
conform | ⭐️ 2352 | 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 | ⭐️ 936 | Generate user-friendly error messages from ZodError instances. |
regle | ⭐️ 217 | Headless form validation library for Vue.js. |
Zod to X
Name | Stars | Description |
---|
X to Zod
Name | Stars | Description |
---|---|---|
orval | ⭐️ 4172 | Generate Zod schemas from OpenAPI schemas |
kubb | ⭐️ 1245 | The ultimate toolkit for working with APIs. |
Mocking Libraries
Name | Stars | Description |
---|---|---|
zod-schema-faker | ⭐️ 65 | Generate mock data from zod schemas. Powered by @faker-js/faker and randexp.js. |
zocker | ⭐️ 40 | Generates valid, semantically meaningful data for your Zod schemas. |
Powered by Zod
Name | Stars | Description |
---|---|---|
Composable Functions | ⭐️ 715 | Types and functions to make composition easy and safe. |
zod-config | ⭐️ 101 | Load configurations across multiple sources with flexible adapters, ensuring type safety with Zod. |
zod-xlsx | ⭐️ 39 | A xlsx based resource validator using Zod schemas for data imports and more |
Zod Utilities
Name | Stars | Description |
---|