
About Valibot
Valibot is an open source schema library for validating unknown data in TypeScript and JavaScript. Its modular design keeps the bundle small, because you only include the parts you use.
What it does
You describe the shape of your data with schemas, then check values against them. Valibot infers TypeScript types from those schemas, so the validated data is typed. It supports primitives, objects and more complex structures, and it includes helpers for common checks and transformations. Each function is a separate import, which lets bundlers drop code you do not use.
Key features
- Type inference from schemas
- Modular imports for small bundles
- Validation for primitives and objects
- Helper functions for common checks
- Playground for trying schemas in the browser
Who it's for
TypeScript developers who validate form input, API payloads or configuration and want a small dependency. It suits front-end and back-end code alike.
Pricing and good to know
Valibot is free and open source under the MIT license. It is funded by sponsors, and its sponsor page is on GitHub. The API is kept minimal and readable, so you can understand a schema without learning a large set of helpers first.
Highlights
- Type inference from validation schemas
- Modular imports that keep bundles small
- Validation for primitives, objects and arrays
- Helper functions for common checks
- Playground for trying schemas in the browser












