# zod-to-json-schema — card for AI agents

Convert Zod validation schemas to JSON Schema format.

Category: Forms, validation and schemas · npm package `zod-to-json-schema` · latest version 3.25.2 (checked 2026-11-01)
Install: `npm install zod-to-json-schema`
License: ISC (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Warnings
- The repository is archived: no more updates.

## Numbers (AgentGid data)
- Gid Score: 63.9 (#740 of all tools, 20 of 63 in its category)
- Used in 45 public projects set up for AI coding agents (0.7%)
- Downloads last week: 101,903,038 (as of 2026-11-24), +43.1% over 4 weeks
- GitHub stars: 1,247 (as of 2026-11-24)
- Last push: 2026-03-27

## Often used with
Zod 84.4%, Model Context Protocol SDK (JavaScript) 62.2%, tsx 55.6%, Anthropic SDK 42.2%, TypeScript 88.9%, Express 33.3%

## Checked alternatives (same job)
- TypeBox: https://agentgid.com/tools/sinclair-typebox/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/zod-to-json-schema/
- Homepage: https://github.com/StefanTerdell/zod-to-json-schema#readme
- Repository: https://github.com/StefanTerdell/zod-to-json-schema

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
