Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

zod-to-json-schema

Convert Zod validation schemas to JSON Schema format.

Forms, validation and schemasNPM

GitHubWebsite

1. License

License from npm.

github.com/StefanTerdell/zod-to-json-schema

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What zod-to-json-schema does

Convert Zod validation schemas to JSON Schema format.

zod-to-json-schema popularity

64 / 100
Gid Score, #740 overall
102M
downloads a week, npm
1,247
GitHub stars
45
agent projects use it
zod-to-json-schema: downloads per weeknpm, zod-to-json-schema 101,903,038
zod-to-json-schema: GitHub starsStefanTerdell/zod-to-json-schema 1,247

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How zod-to-json-schema is used

  • zod-to-json-schema is a dependency in 45 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #8 of 63 in forms, validation and schemas.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 158; those are left out of every share on this page.
  • The most used alternative in our scan is TypeBox (32 projects).
  • Projects that use it most often also use Zod (84.4%), Model Context Protocol SDK (JavaScript) (62.2%), tsx (55.6%).

By coding agent

31 projects, 0.9%
21 projects, 0.9%
21 projects, 0.7%

Often used with

In 84.4% of its projects
In 55.6% of its projects
In 42.2% of its projects
In 88.9% of its projects
In 33.3% of its projects
In 28.9% of its projects
In 26.7% of its projects

More about zod-to-json-schema

Funding
  • GitHub Sponsors: https://github.com/StefanTerdell
  • 1 GitHub sponsors

See all

More in Forms, validation and schemas

Alternatives

zod-to-json-schema This page

ISCGid 64102M/wk

TypeBox

JSON Schema type builder with static type resolution for TypeScript validation.

MITGid 5817M/wk

Compare zod-to-json-schema with another tool

Get started

Install it.

npm install zod-to-json-schema

No step-by-step start for zod-to-json-schema yet: we have not written its hand-checked card.