Valibot
Modular and type-safe schema validation library for structural data with minimal bundle size.
Forms, validation and schemas npm MIT
Used in agent projects
37
0.3% of 12,697 public repos built with AI coding agents
Rank in forms, validation and schemas
#15 of 22
by use in those projects
Downloads
21.8M
npm, last 7 days, valibot
GitHub stars
9,032
last push Oct 10, 2026
How Valibot is used
Valibot is a dependency in 37 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #15 of 22 in forms, validation and schemas. The most used alternative there is Zod. Projects that use it most often also use Vitest (54.1%), Playwright (JavaScript) (51.4%), lint-staged (43.2%).
Often used with Valibot
| Vitest | 54.1% of Valibot projects · 4.4× more than average |
|---|---|
| Playwright (JavaScript) | 51.4% of Valibot projects · 5.8× more than average |
| lint-staged | 43.2% of Valibot projects · 9.3× more than average |
| TypeScript | 97.3% of Valibot projects · 1.7× more than average |
| Vite | 59.5% of Valibot projects · 2.6× more than average |
| Drizzle Kit | 32.4% of Valibot projects · 13.3× more than average |
| Drizzle ORM | 32.4% of Valibot projects · 12.7× more than average |
| Testing Library | 29.7% of Valibot projects · 4.1× more than average |
By coding agent
| GitHub Copilot | 0.6% of projects set up for it |
|---|---|
| Claude Code | 0.5% of projects set up for it |
| Cursor | 0.4% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list Valibot as a dependency.
Install
| Package | npm install valibot |
|---|---|
| Main stacks | TypeScript / JavaScript (30), Next.js (6), Python (1) |
| Example projects | getsentry/toolkit, nuxt/nuxt.com, blockscout/frontend, n00ki/sveltekit-omakase, monkilabs/opencastle |
Alternatives to Valibot
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Zod npm TypeScript-first schema validation library with static type inference. |
2,153 (17.0%) | 326M | 44.1K | MIT |
| React Hook Form npm Performant form state library using React Hooks with minimal rerenders. |
1,021 (8.0%) | 54.7M | 44.9K | MIT |
| React Hook Form Resolvers npm Validation resolvers for React Hook Form supporting Zod, Yup, and others. |
885 (7.0%) | 45.1M | 2,264 | MIT |
| Pydantic pypi Data validation and parsing library using Python type hints. |
649 (5.1%) | 222M | 29K | — |
| Ajv npm Fast JSON Schema validator for runtime schema validation and serialization. |
131 (1.0%) | 391M | 14.9K | MIT |
| jsonschema pypi Python implementation of JSON Schema validation for structured data. |
129 (1.0%) | 125M | 4,989 | — |
| Protocol Buffers pypi Serialization format and code generator for structured data. |
75 (0.6%) | 154M | — | 3-Clause BSD License |
| drizzle-zod npm Generate Zod validation schemas automatically from Drizzle ORM database schemas. |
68 (0.5%) | 3.2M | 36K | Apache-2.0 |