json-schema-to-valibot

JSON →
library 0.3.1 ·javascript
verified Jun 7, 2026

Convert JSON Schema definitions to Valibot schema definitions. Version 0.3.1, actively maintained. Inspired by json-schema-to-zod, this library provides both a CLI and programmatic API for converting JSON schemas (including $ref, enums, string formats, and recursive schemas) into Valibot code. Supports ESM and CJS output, optional TypeScript type generation, and extensive JSON Schema features. Differentiator: dedicated Valibot conversion with same ergonomics as json-schema-to-zod.