# open-circle/valibot

The modular and type safe schema library for validating structural data 🤖

Repository: https://github.com/open-circle/valibot
Canonical: https://ross.abutalabs.com/products/valibot
Homepage: https://valibot.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: bundle-size, modular, parsing, schema, type-safe, typescript, validation, runtime, form-validation, runtime-validation, schema-validation, standard-schema, type-inference, validator
Last push: 2026-08-22T09:03:59+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 90, longevity 82
- inputs: {"age_days": 1153, "days_push": 11, "days_rel": 66, "gap_med": 4, "n_releases_24m": 36}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8962, forks 371 (observed 2026-08-28T04:10:26.513666+00:00)

## What it is
Valibot is a modular, type-safe schema library for TypeScript that validates and parses unknown structural data at runtime while inferring static types. Its modular API design keeps bundle size extremely small, starting at under 700 bytes.

## Use cases
- validate api request bodies at runtime
- parse and validate form input in a react app
- infer typescript types from a schema
- validate json config files
- validate unknown data from external sources
- small bundle size schema validation for frontend

## When to choose
- you need runtime validation with static type inference in TypeScript
- bundle size matters, e.g. for frontend or edge deployments
- you want a modular, tree-shakeable alternative to Zod

## When to avoid
- your project is plain JavaScript without TypeScript
- you need a schema library with a very large ecosystem of prebuilt plugins
- you only need compile-time type checking with no runtime validation

## Facets
- artifact type: library
- maturity: stable
- function: parser, type-system, form-handling, serialization
- domain: web-development, frontend, backend, developer-tools, apis
- platform: browser, bun, cross-platform
- tags: schema-validation, runtime-validation, type-inference, bundle-size, standard-schema, zod-alternative, nodejs, deno, typescript

## Member repositories
- open-circle/valibot (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.513666+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:27.375501+00:00, confidence not recorded.
  - readme: https://github.com/open-circle/valibot (fetched 2026-08-28T04:10:26.513666+00:00, sha 03657cbd9fd0)
  - homepage: https://valibot.dev (fetched 2026-08-29T08:24:55.179234+00:00, sha 24c8c70ab671)
  - registry_npm: https://registry.npmjs.org/valibot (fetched 2026-08-29T08:24:55.181950+00:00, sha c8f95f7b223b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
