💎 Zod 4 is now stable!  Read the announcement.
Zod logo

エコシステム (Ecosystem)

注意 — 肥大化と混乱を避けるため、エコシステムセクションは Zod 4 のリリースですべてクリアされました。ライブラリを更新して Zod 4 で動作するようにした場合は、PR を送信して追加し直してください。Zod 3 で動作するライブラリについては、v3.zod.dev を参照してください。

Zod 上に構築された、または Zod をネイティブにサポートするツールが増えています!Zod 上にツールやライブラリを構築した場合は、Twitter でお知らせいただくか、Discussion を開始 してください。以下に追加してツイートします。

リソース (Resources)

API ライブラリ (API Libraries)

NameStarsDescription
tRPC⭐️ —Build end-to-end typesafe APIs without GraphQL.
GQLoom⭐️ —Weave GraphQL schema and resolvers using Zod.
oRPC⭐️ —Typesafe APIs Made Simple
Express Zod API⭐️ —Build Express-based API with I/O validation and middlewares, OpenAPI docs and type-safe client.
nestjs-zod⭐️ —Integrate nestjs and zod. Create nestjs DTOs using zod, serialize with zod, and generate OpenAPI documentation from zod schemas
Zod Sockets⭐️ —Socket.IO solution with I/O validation, an AsyncAPI generator, and a type-safe events map.
Zod JSON-RPC⭐️ —Type-safe JSON-RPC 2.0 client/server library using Zod.
upfetch⭐️ —Advanced fetch client builder

フォーム統合 (Form Integrations)

NameStarsDescription
regle⭐️ —Headless form validation library for Vue.js.
conform⭐️ —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.
Superforms⭐️ —Making SvelteKit forms a pleasure to use!
zod-validation-error⭐️ —Generate user-friendly error messages from ZodError instances.
svelte-jsonschema-form⭐️ —Svelte 5 library for creating forms based on JSON schema.
frrm⭐️ —Tiny 0.5kb Zod-based, HTML form abstraction that goes brr.
react-f3⭐️ —Components, hooks & utilities for creating and managing delightfully simple form experiences in React.

Zod から X へ (Zod to X)

NameStarsDescription
zod-openapi⭐️ —Use Zod Schemas to create OpenAPI v3.x documentation
fastify-zod-openapi⭐️ —Fastify type provider, validation, serialization and @fastify/swagger support for Zod schemas
zod2md⭐️ —Generate Markdown docs from Zod schemas
prisma-zod-generator⭐️ —Generate Zod schemas from Prisma schema with full ZodObject method support
@traversable/zod⭐️ —Build your own "Zod to x" library, or pick one of 25+ off-the-shelf transformers
zod-to-mongo-schema⭐️ —Convert Zod schemas to MongoDB-compatible JSON Schemas effortlessly
convex-helpers⭐️ —Use Zod to validate arguments and return values of Convex functions, and to create Convex database schemas

X から Zod へ (X to Zod)

NameStarsDescription
orval⭐️ —Generate Zod schemas from OpenAPI schemas
kubb⭐️ —The ultimate toolkit for working with APIs.
Hey API⭐️ —The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.
valype⭐️ —Typescript's type definition to runtime validator (including zod).
Prisma Zod Generator⭐️ —Generates Zod schemas with input/result/pure variants, minimal/full/custom, selective emit/filtering, single/multi-file output, @zod rules, relation depth guards.
DRZL⭐️ —Drizzle ORM toolkit that can generate Zod validators from schema(s), plus typed services and strongly typed routers (oRPC/tRPC/etc).
convex-helpers⭐️ —Generate Zod schemas from Convex validators

モックライブラリ (Mocking Libraries)

NameStarsDescription
zod-schema-faker⭐️ —Generate mock data from zod schemas. Powered by @faker-js/faker and randexp.js.
zocker⭐️ —Generates valid, semantically meaningful data for your Zod schemas.
@traversable/zod-test⭐️ —Random zod schema generator built for fuzz testing; includes generators for both valid and invalid data

Powered by Zod

NameStarsDescription
zod-config⭐️ —Load configurations across multiple sources with flexible adapters, ensuring type safety with Zod.
Composable Functions⭐️ —Types and functions to make composition easy and safe.
zod-xlsx⭐️ —A xlsx based resource validator using Zod schemas for data imports and more
bupkis⭐️ —Uncommonly extensible assertions for the beautiful people
Fn Sphere⭐️ —A Zod-first toolkit for building powerful, type-safe filter experiences across web apps.
zodgres⭐️ —Postgres.js + Zod: Database collections with static type inference and automatic migrations

Zod ユーティリティ (Zod Utilities)

NameStarsDescription
eslint-plugin-import-zod⭐️ —ESLint plugin to enforce namespace imports for Zod.
zod-playground⭐️ —Interactive playground for testing and exploring Zod and Zod mini schemas in real-time.
eslint-plugin-zod-x⭐️ —ESLint plugin that adds custom linting rules to enforce best practices when using Zod
Zod Compare⭐️ —A utility library for recursively comparing Zod schemas.

On this page