{
 "kind": "tool",
 "slug": "zod-to-json-schema",
 "path": "tools/zod-to-json-schema/",
 "name": "zod-to-json-schema",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Forms, validation and schemas",
   "tools/forms-validation/"
  ]
 ],
 "lead": "Convert Zod validation schemas to JSON Schema format.",
 "chips": [
  {
   "label": "Forms, validation and schemas",
   "path": "tools/forms-validation/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install zod-to-json-schema"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/StefanTerdell/zod-to-json-schema"
  },
  {
   "label": "Website",
   "href": "https://github.com/StefanTerdell/zod-to-json-schema#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "ISC",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/StefanTerdell/zod-to-json-schema"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "No longer maintained",
   "status": "no",
   "sub": "Repository archived",
   "note": "Latest GitHub release Feb 10, 2023. ",
   "src": "https://github.com/StefanTerdell/zod-to-json-schema"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "45 projects",
   "status": "info",
   "sub": "#8 of 63 in its category",
   "note": "Dependency in 45 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What zod-to-json-schema does",
   "parts": [
    {
     "t": "prose",
     "text": "Convert Zod validation schemas to JSON Schema format."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "zod-to-json-schema popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "64",
       "of": "/ 100",
       "l": "Gid Score, #740 overall"
      },
      {
       "n": "102M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,247",
       "l": "GitHub stars"
      },
      {
       "n": "45",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How zod-to-json-schema is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "31 projects, 0.9%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "21 projects, 0.9%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "21 projects, 0.7%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 84.4% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 62.2% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 55.6% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 42.2% of its projects",
       "v": "Anthropic SDK",
       "path": "tools/anthropic-ai/"
      },
      {
       "l": "In 88.9% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 28.9% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "esbuild",
       "path": "tools/esbuild/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about zod-to-json-schema",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/StefanTerdell",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "More in Forms, validation and schemas",
       "path": "tools/forms-validation/",
       "items": [
        {
         "text": "Zod",
         "path": "tools/zod/"
        },
        {
         "text": "React Hook Form",
         "path": "tools/react-hook-form/"
        },
        {
         "text": "Pydantic",
         "path": "tools/pydantic/"
        },
        {
         "text": "React Hook Form Resolvers",
         "path": "tools/hookform/"
        },
        {
         "text": "Ajv",
         "path": "tools/ajv/"
        },
        {
         "text": "jsonschema",
         "path": "tools/jsonschema/"
        },
        {
         "text": "ajv-formats",
         "path": "tools/ajv-formats/"
        },
        {
         "text": "Protocol Buffers",
         "path": "tools/protobuf/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "zod-to-json-schema",
       "me": true,
       "facts": [
        "ISC",
        "Gid 64",
        "102M/wk"
       ]
      },
      {
       "name": "TypeBox",
       "why": "JSON Schema type builder with static type resolution for TypeScript validation.",
       "path": "tools/sinclair-typebox/",
       "facts": [
        "MIT",
        "Gid 58",
        "17M/wk"
       ]
      }
     ],
     "more": "Compare zod-to-json-schema with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install zod-to-json-schema"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for zod-to-json-schema yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm zod-to-json-schema"
  ],
  [
   "Category",
   "Forms, validation and schemas"
  ],
  [
   "License",
   "ISC"
  ],
  [
   "Gid Score",
   "63.9"
  ],
  [
   "Rank in category",
   "#8 of 63"
  ],
  [
   "GitHub",
   "StefanTerdell/zod-to-json-schema"
  ],
  [
   "Last change",
   "Mar 27, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/stefanterdell.png"
}