# Valibot

MIT\-licensed modular runtime schema\-validation library for JavaScript and TypeScript with composable validation pipelines\.

ID: Q133 · Revision: 117

Type: software · License: MIT[^license] · Status: active

Website: https://valibot.dev/



Valibot is an open\-source schema library for checking data at runtime and deriving static TypeScript types\. Its API composes small functions into schemas and validation or transformation pipelines\. This is useful for forms, server inputs and configuration in AI\-assisted applications, where explicit data contracts are preferable to assuming generated types alone validate incoming values\.[^intro]

## Capabilities and substitutions

### Composable validation pipelines — supported

Schemas and independent actions combine validation and transformations with inferred types\.[^intro]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

### Parsed\-output handling — limited

parse and safeParse return schema output; is/assert type guards do not apply transformations or remove unknown keys\.[^parse]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

### Asynchronous validation — supported

Async schemas/actions can contain synchronous work, but async work requires async parent composition\.[^async]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

### Automatic Zod migration — limited

Official codemod is beta and may miss edge cases; construction and parsing APIs change\.[^migration]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

### JSON Schema export — limited

Provided by a separate package for compatible schemas; arbitrary transformations are not faithfully portable to JSON Schema\.[^json]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

### [Substitute for Zod](/zod) — limited

Candidate for runtime data validation and inferred types when modular function composition is preferred\. Use the migration guide and test error/output behavior; no universal size or compatibility advantage is claimed\.[^intro][^migration][^zod][^mini]

Use case: Runtime validation of structured application data · Platforms: JavaScript runtimes, TypeScript applications, Web browsers · Region: Version, build and integration requirements apply

## References

[^intro]: [Valibot introduction](<https://valibot.dev/guides/introduction/>) — Modular function design, runtime checking and type inference (vendor; retrieved 2026-10-07T22:48:59Z)

[^license]: [Valibot source license](<https://github.com/open-circle/valibot/blob/main/LICENSE.md>) — MIT license (vendor; retrieved 2026-10-07T22:50:17Z)

[^parse]: [Valibot parsing](<https://valibot.dev/guides/parse-data/>) — parse/safeParse output and type\-guard limitations (vendor; retrieved 2026-10-07T22:50:17Z)

[^objects]: [Valibot objects](<https://valibot.dev/guides/objects/>) — Unknown entries, strict/loose behavior and partial checks (vendor; retrieved 2026-10-07T22:49:54Z)

[^async]: [Valibot async validation](<https://valibot.dev/guides/async-validation/>) — Promise\-based functions and nesting constraints (vendor; retrieved 2026-10-07T22:50:17Z)

[^json]: [Valibot JSON Schema](<https://valibot.dev/guides/json-schema/>) — Separate conversion package and non\-JSON transformation limits (vendor; retrieved 2026-10-07T22:49:54Z)

[^migration]: [Migrate from Zod to Valibot](<https://valibot.dev/guides/migrate-from-zod/>) — Beta codemod, pipelines and changed names (vendor; retrieved 2026-10-07T22:49:54Z)

[^zod]: [Zod basic usage](<https://zod.dev/basics>) — Runtime parsing, type inference and input/output distinctions (vendor; retrieved 2026-10-07T22:49:54Z)

[^mini]: [Zod Mini](<https://zod.dev/packages/mini>) — Functional tree\-shakable Zod option and benchmark qualification (vendor; retrieved 2026-10-07T22:49:13Z)

Source revision: https://substitutefor.net/entities/Q133?revision=117
