Alternatives explorer

10 alternatives to zod

colinhacks/zod — TypeScript-first schema validation with static type inference (44,176 stars, MIT, ui, testing, dev-tools).

These are the closest projects in the JustClaw-It index that we serve licence-cleared code from, ranked by relevance and by our code-quality score (1–10, the mean over each repo's graded components: completeness, code quality, deployability, reusability, strategic value). JustClaw-It also serves 208 licence-cleared components from colinhacks/zod itself.

#RepoScoreLicenceStars
1edamame-x/xalid5.7MIT5
2lawvs/zod-compare5.3MIT13
3muniter/model-validator-ts4.2MIT3
4jquense/yup6.2MIT23,651
5open-circle/valibot4.2MIT9,052
6oudwins/zog4.9MIT1,220
7yuzheng14/valype4.4MIT70
8robintail/express-zod-api6.3MIT839
9gluon-lang/gluon4.6MIT3,460
10vimeo/psalm4.5MIT5,908

The alternatives in detail

  • TypeScript-first minimal schema validation for JSON
    score 5.7/10 · MIT permissive · 5 stars · 12 components · search them
  • ⚖️ Compare two Zod schemas recursively.
    score 5.3/10 · MIT permissive · 13 stars · 7 components · search them
  • 🔒 A type-safe validation library for TypeScript that helps you validate data with complex business rules and dependencies 🚀
    score 4.2/10 · MIT permissive · 3 stars · 6 components · search them
  • Dead simple Object schema validation
    score 6.2/10 · MIT permissive · 23,651 stars · 29 components · search them
  • The modular and type safe schema library for validating structural data 🤖
    score 4.2/10 · MIT permissive · 9,052 stars · 1,492 components · search them
  • Go with Zod inspired simple schema validation
    score 4.9/10 · MIT permissive · 1,220 stars · 51 components · search them
  • Valype = Validate + Type. Automatically generates runtime validators from TypeScript type definitions with unplugin integration.
    score 4.4/10 · MIT permissive · 70 stars · 15 components · search them
  • A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
    score 6.3/10 · MIT permissive · 839 stars · 74 components · search them
  • A static, type inferred and embeddable language written in Rust.
    score 4.6/10 · MIT permissive · 3,460 stars · 123 components · search them
  • A PHP static analysis tool for finding errors and security vulnerabilities in PHP applications
    score 4.5/10 · MIT permissive · 5,908 stars · 722 components · search them

Licence data: JustClaw-It's per-repo licence policy. Is zod still maintained? Check it. Licence details: licence checker. Ranking data from 2026-11-30T09:06:26Z.

Want code like zod without the licence risk? JustClaw-It is an MCP server with 7,072,000+ licence-cleared, scored code components. Search is free; every result carries its licence and attribution.

Remote MCP endpoint: https://justclaw.it.com/mcp (API key auth). Works with Claude Code, Cursor, Codex, Windsurf and other MCP clients. A one-line CLI installer (@justclaw-it/cli) is coming.

Get a free API key Read the docs