{"schemaVersion":1,"id":"valibot","name":"Valibot","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/valibot/","officialUrl":"https://github.com/fabian-hiller/valibot","isCatalog":false,"description":"A modular data validation library with small imports: it builds schemas and transformations for forms, APIs, and application boundaries.","tasks":["Build modular input validation","Connect a validation pipeline and expose errors to the calling code"],"categoryIds":["backend","frontend"],"subcategoryIds":["backend.api","frontend.forms"],"tags":["Valibot","API","Development"],"aliases":["fabian-hiller/valibot","valibot"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Compute, your own hosting, and external services are paid for separately if selected.","license":"MIT: code; dependencies have separate licenses.","selectionGuide":{"purpose":"Build modular input validation","chooseWhen":["Build modular input validation","Connect a validation pipeline and expose errors to the calling code"],"considerInstead":["When choosing for this topic, compare Valibot with Zod. A candidate to compare under the topic: APIs and server SDKs, Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare Valibot with React Hook Form. A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["A schema is composed from functions such as object, string, and pipe; the README shows sequential email and minLength validation."],"limitations":["Costs and limits of free use: Compute, your own hosting, and external services are paid for separately if selected.","Terms of use: MIT: code; dependencies have separate licenses.","InferOutput describes the selected schema's result. Declaring a type without running validation does not confirm incoming data correctness; actual bundle size depends on used functions and the bundler."],"faq":[{"question":"What can you use for free in Valibot?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Valibot?","answer":"Compute, your own hosting, and external services are paid for separately if selected."},{"question":"What terms of use matter for Valibot?","answer":"MIT: code; dependencies have separate licenses."},{"question":"How do you get started with Valibot?","answer":"Define a schema and transformations for the required input fields. Connect a validation pipeline and expose errors to the calling code. Add error handling and an integration check of the result."},{"question":"How do Valibot parse and safeParse differ from a TypeScript type?","answer":"A schema executes at runtime and checks unknown data; a TypeScript type does not execute itself. parse throws an error for an invalid value; safeParse provides a result without an exception, while is is a type guard."}],"related":[{"id":"zod","reason":"A candidate to compare under the topic: APIs and server SDKs, Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"react-hook-form","reason":"A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"tanstack-form","reason":"A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/fabian-hiller/valibot","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/README.md","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/LICENSE.md","https://www.open-source-tools.com/","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/library/README.md","https://raw.githubusercontent.com/open-circle/valibot/HEAD/LICENSE.md"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Build modular input validation.","inputs":["A data contract or HTTP workflow.","A project with a supported runtime."],"steps":["Define a schema and transformations for the required input fields.","Connect a validation pipeline and expose errors to the calling code.","Add error handling and an integration check of the result."],"checks":["Invalid and missing data are handled predictably.","Types and the actual response agree; errors are not hidden."]},"sources":["https://github.com/fabian-hiller/valibot","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/README.md","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/LICENSE.md","https://www.open-source-tools.com/","https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/library/README.md","https://raw.githubusercontent.com/open-circle/valibot/HEAD/LICENSE.md"],"checkedAt":"2026-10-06","reviewScope":"Purpose, the current repository license, and the boundaries between code, services, and models were reviewed. The product was not run or security-audited.","relatedIds":["zod","react-hook-form","tanstack-form"],"dataVersion":"cbbe7123b47a5ae80983","type":"Backend / API library","kind":"library","pricingNote":"Code and local use under MIT. Compute, your own hosting, and external services are paid for separately if selected.","notes":null,"labeledSources":[{"url":"https://github.com/fabian-hiller/valibot","label":"Official source"},{"url":"https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/LICENSE.md","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/fabian-hiller/valibot/HEAD/library/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/open-circle/valibot/HEAD/LICENSE.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}