Elestia Open Source Ratings
7.9

Valibot

A strong pick. 2nd of 10 validation libraries.

Valibot is a modular, type-safe schema library. Its function-per-validator design gives the smallest bundles in the category and fast runtime validation. It is a strong, actively maintained choice where bundle size matters. Zod 4 is still the safer default for most projects because far more tools integrate with it.

Best for: Teams shipping validation to browsers, edge functions or shared libraries, where bundle size and speed matter more than having the largest ecosystem.

WebsiteGitHubnpm

Scores

Overall7.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It is a strong, well-built pick and clearly the best choice when bundle size matters, with active upkeep and fast-growing use. Zod 4 does the general job about as well, with a far larger ecosystem and better AI-agent familiarity, so Valibot ranks just below it. ArkType competes on speed. Dependence on one lead maintainer keeps the range open.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.1

Valibot is a strong first choice for new apps that share validation with the browser and care about bundle size. Its typed pipelines, steady releases, and integrations also make it practical for general use. Zod remains the broader default, with more reported use, native JSON Schema export, and a tree-shakable Mini variant. The size advantage depends on the schemas and bundler, and release ownership remains concentrated.

Needed by many8.1

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Most TypeScript projects need to validate data at a boundary: forms, APIs, environment variables or config. Valibot is general purpose and runs on any runtime. Its main selling point, bundle size, matters most for client and edge code, which is a large share of that work.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.2

Runtime validation is useful for forms, API payloads, configuration, and database-backed apps. Valibot works across browsers and major server runtimes without tying schemas to a framework. Its appeal is narrower for teams whose contracts already start from JSON Schema.

Helps a lot8.3

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Type inference is excellent, there are no dependencies, bundles are the smallest in the category, and speed is near ArkType in independent benchmarks. Clear limits keep it below the top: the pipe API is verbose, JSON Schema output needs a separate package, error messages need formatting before users see them, and AI agents produce Zod more fluently. Zod 4 has narrowed the speed gap.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.4

Version 1.5 combines small bundles, typed transforms, and detailed errors with field paths. A developer who migrated two forms reported smaller bundles and found Zod's chained API easier to discover. Runtime results vary by workload, with Zod and ArkType ahead in Deepkit's valid nested-object test. The project provides an agent skill and searchable docs, and independent evidence on generated code quality remains limited.

Holds up over time7.3

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Activity is steady: 437 commits and 19 releases across the packages in the last year, with v1.5.0 in September 2026 and a stable 1.x API since v1. The project moved into the Open Circle organization and pays contributors through Open Collective. Fabian Hiller still publishes every release and the budget is small, so the bus factor keeps the score below Zod's. There are also 138 open pull requests.

GPT-6.2 Sol: 7.5, likely 6.3 to 8.5

The repository recorded 437 commits in a year, and the core npm package shipped seven versions. Open Circle pays contributors for some maintenance, while the public release history still centers on one maintainer. The roadmap covers recursion and performance, and minor releases can tighten what existing schemas accept. The open issue and pull request counts leave typical response times unclear.

Used widely6.2

How many use it, and is that growing?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Downloads grew about 14.9x in a year, against a median of 4.1x, to about 132M per 4 weeks. That is the same level as Joi and about double Yup. Part of the jump is likely transitive installs by other tools, and the ecosyste.ms dependents count of 3 is clearly an undercount, so the size of direct choice is uncertain. Stars (9k) and Bluesky attention are mid-pack, and Zod is an order of magnitude larger.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 132.3M vs 8.9M a year ago, about 14.9x against a 4.1x median
  • peers Zod downloadsLast4Weeks: Zod has about 1.83B, about 14x Valibot
  • dependents.repos: 3 repos, an obvious undercount, so not usable for comparison
  • tech-insider.org/zod-vs-valibot-vs-arktype-2026: Reports about 13.4M weekly downloads in September 2026

GPT-6.2 Sol: 5.9, likely 4.2 to 7.2

Four-week downloads rose from 8.9 million to 132.3 million, or 14.9×, ahead of the 4.1× catalog median and Zod's 8.4×. Zod still has much higher install volume and more visible community activity. npm lists nearly 2,000 dependent packages, so the collector's three repositories and zero packages give a very incomplete picture. CI and transitive installs make the number of projects choosing Valibot directly hard to estimate.

Vouched for6.8

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

Many independent 2026 comparisons recommend it for bundle-sensitive work. It co-authored Standard Schema and has official integrations in React Hook Form resolvers, Conform, TanStack Form, VeeValidate and drizzle-valibot. I found few named companies running it in production, and community discussion is thin compared with Zod.

GPT-6.2 Sol: 7.5, likely 6.3 to 8.5

Qwik City ships Valibot as a dependency, and Drizzle and Vercel's AI SDK provide dedicated integrations. Thoughtworks rated it Assess, and a developer reported measurable bundle savings after moving two production forms. The 2024 frontend survey showed favorable sentiment among a small group of users, leaving current retention uncertain.

Safe8.4

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has zero runtime dependencies and an MIT licence. Two advisories in 24 months, a high-severity ReDoS in EMOJI_REGEX and a moderate flatten() prototype-key issue, were both fixed in later 1.x patches. There is no OpenSSF Scorecard data, and a single person publishes releases, which adds some supply-chain risk.

  • advisories: GHSA-vqpr-j7v3-hqw9 (ReDoS, high) and GHSA-5qjj-4xww-7phc (moderate)
  • github.com/open-circle/valibot/releases: v1.4.2 fixed prototype-key collisions in flatten and intersect
  • npm dependencies / license: 0 dependencies, MIT
  • scorecard: No Scorecard data

GPT-6.2 Sol: 8.7, likely 7.6 to 9.5

Valibot has zero runtime dependencies and a permissive MIT licence. Fixes for the high-severity regex issue and the moderate error-formatting crash shipped before their public advisories, and 1.5.0 includes both. npm publishing uses a GitHub Actions workflow with trusted publishing and a pinned checkout action. npm lists one collaborator, and the missing OpenSSF Scorecard leaves some repository controls unverified.

Good

  • Tree-shakable functions keep a simple form schema near 1 kB, against roughly 13-18 kB for full Zod.
  • It has zero dependencies, strong TypeScript inference and Standard Schema support, so it works with many form and router libraries.
  • Independent benchmarks put its runtime speed well ahead of Zod 3 and close to ArkType.
  • It is actively developed, with 19 releases in the last year and companion packages for JSON Schema output and i18n.

Bad

  • The pipe-based API is wordier than Zod's method chaining, and Zod users have to rewrite their schemas to switch.
  • The ecosystem is smaller: many libraries, AI SDKs and tutorials document only Zod, and tRPC support comes from a community adapter.
  • Releases and decisions depend mostly on one lead maintainer, and Open Collective funding is modest.
  • Zod 4 and Zod Mini have closed much of the speed and size gap, which narrows Valibot's edge.

The numbers

npm downloads, 4 weeks
132M ×15 in a year
GitHub stars
9.1k
Commits, 12 months
437
npm version
1.5.0 Sept 2026
Versions, 12 months
7
Advisories, 24 months
2 of 2 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (open-circle/valibot), npm (valibot), OSV and the OpenSSF Scorecard.

Validation libraries

  1. 9.0Zod
  2. 7.9Valibot
  3. 7.5TypeBox
  4. 7.2ArkType
  5. 7.1Ajv
  6. 6.2Joi
  7. 5.6class-validator
  8. 5.2Yup
  9. 3.9Superstruct
  10. 3.8io-ts
Compare all 10 on six scores